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
20
votes
4 answers

PHP not displaying errors - Internal Server Error (500)

I've set up a fresh install of Ubuntu Server 12.04 LTS on Amazon AWS with *Apache2/MySQL/PHP5. When I run a PHP script and it encounters an error I don't see any error reporting from PHP, all I see is HTTP Error 500 (Internal Server Error): An…
19
votes
8 answers

Remove log files using cron job

Hi. I want to remove all log files from the last 7 days from a folder, but leave all the other files. Can I use the below command? How do you specify that it just delete the files with .log extension? find /path/to/file -mtime +7 -exec rm -f {} \;…
Harry
  • 4,705
  • 17
  • 73
  • 101
19
votes
3 answers

OpenGL & GLSL 3.3 on an HD Graphics 4000 under Ubuntu 12.04

I'm running that configuration : Ubuntu 12.04 Intel HD Graphics 4000 glxinfo give me that parameters: OpenGL renderer string: Mesa X11 OpenGL version string: 2.1 Mesa 8.0.4 OpenGL shading language version string: 1.20 OpenGL extensions: My goal…
T3e
  • 539
  • 1
  • 6
  • 17
18
votes
3 answers

How can I recover SSH access to a amazon EC2 instance after UFW firewall activation by accident?

I have activated UFW firewall in an EC2 ubuntu server 12.04 instance, but I forgot to allow access to port 22. Now I can't connect to the instance via SSH. This instance is EBS backed. How can I recover SSH access to a amazon EC2 instance after UFW…
mnesarco
  • 2,619
  • 23
  • 31
18
votes
1 answer

Host App Shiny-server

I am trying to host an app over the web using R, shiny and shiny-server. As a preface, I have only used Linux OS (of any flavor) for a day-or-two and have no networking experience. So please bear with me. And I apologize in advance if I've…
Chris
  • 3,401
  • 5
  • 33
  • 42
18
votes
3 answers

Using curly brackets for variable expansion in makefile doesn't work

When I run below command on shell, it works properly. but if I write it in a Makefile and call it with "make" command it doesn't work. cp wpa_{cli,supplicant,passphrase,event} /usr/local/bin/ error after "make" command: cp: cannot stat…
Necip Onur Uzun
  • 1,115
  • 3
  • 13
  • 16
17
votes
2 answers

How to enable mod_rewrite in LAMP on ubuntu?

I'm using Ubuntu 12.04 LTS linux on my machine. I've already installed LAMP on it. Now I want to enable the mod_rewrite module. I did google a lot and tried lots of tricks but couldn't be able to enable mod_rewrite. Can anyone help me to enable the…
PHPLover
  • 1
  • 51
  • 158
  • 311
17
votes
3 answers

uWSGI works as process but not as daemon

For my current flask deployment, I had to set up a uwsgi server. This is how I have created the uwsgi daemon: sudo vim /etc/init/uwsgi.conf # file: /etc/init/uwsgi.conf description "uWSGI server" start on runlevel [2345] stop on runlevel…
Houman
  • 64,245
  • 87
  • 278
  • 460
17
votes
20 answers

mysql is not starting in XAMPP UBUNTU

I have one instance PHP and MySQL installed, now i am trying to install XAMPP on my system. I am able run the PHP of XAMPP. but while starting the service, i am getting the below error. I want both the MySQl to be running by stopping the services of…
Infinity
  • 531
  • 2
  • 6
  • 11
16
votes
1 answer

pip geoip installing in ubuntu gcc error

i am try to install geoip in ubuntu in python pip...but there is same gcc error pip install GeoIP gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes - fPIC -I/usr/include/python2.7 -c py_GeoIP.c -o…
Najeeb Choudhary
  • 396
  • 1
  • 3
  • 21
16
votes
10 answers

php fatal error: class sqlite3 is not found in

Im using ubuntu 12.04, and php 5.x I need to use sqlite3 in it but Im getting an error of php fatal error: class sqlite3 not found I done all the installation processes, like $ sudo apt-get install php5-cli php5-dev make $ sudo apt-get install…
harishkumar329
  • 1,210
  • 4
  • 16
  • 34
16
votes
1 answer

Where to get the jar for openCV?

Where are the Java jar libraries for the openCV core extensions so that I can import it in my java code? I cannot find a single place where they have taught how to get everything set up properly. I am using Ubuntu 12.04 and I have openCV…
theAndDev
  • 662
  • 2
  • 11
  • 33
16
votes
7 answers

Installing wxPython on Ubuntu 12.04

The Issue: I am having trouble installing wxPython on Ubuntu 12.04. I would like to find a simple, straightforward way of doing this. What I've Done So Far: The most relevant instructions that I have been able to find so far can be found here:…
John Zeller
  • 575
  • 2
  • 7
  • 22
16
votes
4 answers

How to find default download directory in linux through c program?

As I titled, is there any API available, to determine the default download directory in the Linux? I am using ubuntu distribution.
Whoami
  • 13,930
  • 19
  • 84
  • 140
16
votes
1 answer

Mounting Windows 7 host folder into VirtualBox guest Ubuntu 12.04 directory

I know this is not strictly a question about programming but I need to mount the shared folder in order to continue my coding. I've got a Windows 7 OS with a guest Ubuntu 12.04 OS inside VirtualBox. I have been trying to mount a shared folder…
user1527429
  • 727
  • 5
  • 10
  • 17