Questions tagged [ubuntu-12.04]

The previous LTS release of Ubuntu, code-named Precise Pangolin. Released on 26th April, 2012. You should only use this tag if your question is hardware or version-specific.

Precise Pangolin was released on 26 April, 2012 and is supported until April 2017.

Code name: Precise Pangolin

The previous stable and Long Term Support (LTS) release of Ubuntu. Unlike previous LTS versions, Canonical will provide support for five years due to popularity of LTS usage in businesses:

  • Two years of support will include hardware updates
  • Remaining three years will consist of maintenance upgrades.

Ubuntu Flavors available under 12.04 (questions on all are allowed):

The 12.04 Ubuntu variants - Mythbuntu, Ubuntu Studio, Xubuntu, Lubuntu - are not commercially supported by Canonical.

Ubuntu Editions available under 12.04 (questions on all are allowed):

2816 questions
89
votes
6 answers

nginx + uwsgi: -- unavailable modifier requested: 0 --

Ubuntu 12.04, nginx 1.2.0, uwsgi 1.0.3. I start uwsgi with the following command: uwsgi -s 127.0.0.1:9010 -M -t 30 -A 4 -p 4 -d /var/log/uwsgi.log On each request nginx replies with 502 and uwsgi writes to log the following line: -- unavailable…
Lisio
  • 1,571
  • 2
  • 15
  • 22
79
votes
11 answers

nginx not listening to port 80

I've just installed a Ubuntu 12.04 server and nginx 1.2.7, removed default from sites-enabled and added my own file into sites-available and symlink at sites-enabled. Then restarted nginx. Problem: However going to the URL does not load the site.…
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
78
votes
11 answers

AWS EC2 Connection closed by when trying ssh into instance

Recently I set up a new EC2 instance. The next day I was not able to connect to my instance via ssh. I could connect and disconnect the day before, I am sure I did nothing. Here is ssh debug info: ssh -i webserver.pem -v…
72
votes
11 answers

libz.so.1: cannot open shared object file

I am facing an issue on ubuntu 12.04 as : /usr/lib/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/as: error while loading shared…
user3218948
  • 741
  • 1
  • 6
  • 6
71
votes
1 answer

Share folders from the host Mac OS to a guest Linux system in VirtualBox

How do I go about sharing a folder between the host (Mac) and the guest OS (Ubuntu) in Virtual Box?
Abhishek Jain
  • 4,478
  • 8
  • 34
  • 51
69
votes
2 answers

gcc cannot find bits/predefs.h on i686

Okay, so, I switched from ubuntu 12.04 64-bit to 32-bit and installed build-essential. I then compiled and installed GMP-5.0.5, MPFR-3.1.1, MPC-1.0, ISL-0.10 and CLOOG-0.17.0. I checked out a copy of the main gcc trunk and attempted to build it with…
mmoran
  • 1,001
  • 1
  • 8
  • 16
69
votes
19 answers

Extension mysqli is missing, phpmyadmin doesn't work

I have a problem with phpmyadmin on ubuntu 12.04. I have already installed apache2, php5, mysql and phpmyadmin. The phpinfo(); script, don't show nothing about mysqli or mysql extension. When I try start phpmyadmin this error…
Jeremas
  • 793
  • 1
  • 5
  • 8
68
votes
4 answers

Python.h missing from Ubuntu 12.04

I installed an openflow controller on my Ubuntu 12.04 called RYU using: sudo pip install ryu I was trying to run a python file using ryu-manager as shown below. sudo ryu-manager simple_switch.py Traceback (most recent call last): File…
liv2hak
  • 14,472
  • 53
  • 157
  • 270
67
votes
6 answers

How to install Ruby 2 on Ubuntu without RVM

I want to install ruby 2.0 using sudo apt-get install ruby2.0 But there isn't available package for ruby2.0 I want to install it using apt-get install the same like ruby 1.9.1 Any suggestions?
Mahmoud Khaled
  • 6,226
  • 6
  • 37
  • 42
65
votes
4 answers

SmartGit Installation and Usage on Ubuntu

I have downloaded latest SmartGit installation and each time I want to use it I need to run script smartgit.sh from SmartGit bin directory, this process requires the same repository setup every time. What it correct way of installing SmartGit on…
eomeroff
  • 9,599
  • 30
  • 97
  • 138
64
votes
5 answers

Install sbt on ubuntu

I have installed sbt on Ubuntu. :~/bin/sbt/bin$ ls classes sbt sbt-launch.jar target jansi.jar sbt.bat sbt-launch-lib.bash win-sbt However, whenever I try to launch sbt (from the same directory where sbt is located) it does not…
NoIdeaHowToFixThis
  • 4,484
  • 2
  • 34
  • 69
63
votes
1 answer

Complete remove and reinstall R, including all packages

After some heavy tinkering, I must have screwed up my R installation and some package permissions. Rather than try to fix it, I just want to wipe and reinstall everything. So I did: sudo apt-get remove r-base-core sudo apt-get remove r-base sudo…
Misconstruction
  • 1,839
  • 4
  • 17
  • 23
62
votes
2 answers

command not found when using sudo ulimit

I was using ubuntu 12.04 ,on which I run ulimit -n ,it is showing 1024, I want to increase my open file limit from 1024 to 65535,so I tried the following command: sudo ulimit -n 65535 but i get the following error: sudo: ulimit: command not…
sunpy
  • 739
  • 1
  • 5
  • 9
60
votes
9 answers

error: could not create '/usr/local/lib/python2.7/dist-packages/virtualenv_support': Permission denied

I am using ubuntu 12.04 and I am trying to pip install virtualenv but suddenly I got this error. samuel@sampc:~$ pip install virtualenv Downloading/unpacking virtualenv Running setup.py egg_info for package virtualenv warning: no…
gadss
  • 21,687
  • 41
  • 104
  • 154
58
votes
8 answers

How to check if there are multiple versions of PHP installed on Ubuntu 12.04 LTS?

How to know if I have both php5.3 and php5.5 installed in my system? How to delete php5.3 if it is there and configuring Apache2 to work with php5.5?
Sujata
  • 951
  • 2
  • 10
  • 19