Greatest Hits

16
votes
2answers
53k views

How do I upgrade PHP version to the latest stable released version?

I'm using a system running on Ubuntu 12.04 LTS 64-bit OS. I'm currently using following PHP version on this machine: Command used to get the below info at terminal : php -v Details I got are as ...
10
votes
1answer
93k views

configure: error: C compiler cannot create executables

I was trying to install rvm using \curl -L https://get.rvm.io | bash -s stable --ruby --autolibs=enable --auto-dotfiles. It worked fine until I got a configure error: Error running './configure ...
37
votes
7answers
138k views

How to change the LightDM theme/greeter?

I downloaded a couple greeters for LightDM, but I have not figured out how to enable them. Is there a way to switch greeter, either by graphical or command-line method?. I do not intend to change ...
76
30
votes
2answers
120k views

Proper fstab entry to mount a samba share on boot?

I am a little confused on the proper fstab entry for a samba share in Ubuntu 12.04 I can get the drive to mount manually by using: sudo mount -t cifs //192.168.2.2/raid_drive /mnt/homeserver -o ...
29
votes
5answers
94k views

How to find all the used IP addresses on a network

In my work there is a lot of computer and I want make a joke. I can close computer over the network but finding IP addresses is hard to me. How can I easily find all online IP adresses from ...
27
votes
2answers
71k views

“intel_rapl: no valid rapl domains” message upon boot

I install fresh Ubuntu 14. 04 server under ESXI 5.1.0. During my installation I did not get any erorrs or strange things. My problem is when I boot machine at console screen I get messages like [ ...
27
votes
5answers
105k views

How to make partitions mount at startup in ubuntu 12.04

How do you make HDDs and partitions mount at startup with the ubuntu system? I always keep my media and data files on separate partitions - one 2tb HDD and a 400 odd gig partition. I have been ...
18
votes
4answers
122k views

Any way to manually make a bootable USB from ISO?

I've been using Unetbootin but it occasionally fails to create a bootable usb the way I need it to, especially with the newer versions. Is there a way I could extract the iso myself?
29
votes
2answers
68k views

How to setup OpenVPN Client

I'm trying to setup OpenVPN using NetworkManager. The GUI seems buggy and unresponsive. Are there any other tools for setting up a VPN client?
23
votes
2answers
56k views

Why don't I have a password for “su”? Problems with “sudo”

I have installed Ubuntu using the GUI, giving myself a password and everything. I do not intricately remember the process. However, what worries me is that I don't know the following password: $ su ...
91
95
votes
5answers
82k views

How can I check the available version of a package in the repositories?

How can I check the version of the available package in the Ubuntu repositories without installing it?
6
votes
10answers
21k views

Can't get Intel HD Graphics 530 (Skylake i7 6700) to work

I've updated the kernel to 4.3.0, but the driver still seems to be off. What else can I try? starfall@nx ~ $ IBGL_DEBUG=verbose glxinfo name of display: :0 i965_dri.so does not support the 0x1912 PCI ...
15
votes
7answers
94k views

500 OOPS: vsftpd: refusing to run with writable root inside chroot() Keep user jailed

Before you close this out to repetition, I have been researching all of the proposed solutions to this bug and so far I have been unable to keep a FTP user jailed to their website directory. While I ...
14
votes
5answers
63k views

HowTo: Upgrade java on Ubuntu 14.04 LTS?

I recently installed Ubuntu 14.04 on my computer and now my Java Version is not updated. I have Java so I dont need to install - just update the current version. Can someone please tell me the ...
51
59
votes
6answers
120k views

Getting MTP enabled devices to work with Ubuntu?

Since Ubuntu 13.04 storage access to external devices via MTP is supposed to work out of the box via a GVFS-MTP module. While this question is about the Galaxy Nexus, other Android devices as ...
85
7
votes
1answer
21k views

Dual Boot Mac El Captain along with Ubuntu 14.04

Due to lots of old stuff in the archive, I am little bit confused. How do I install Ubuntu 14.04 to my IMac with MacOS El Captain. Is it necessary to use Refit? What about direct installing from an ...
38
votes
7answers
60k views

How to update maven 3.0.4 - 3.1.1

First of all am new to Ubuntu as well as Maven. Does anyone know how to update maven. My current version of maven is 3.0.4. I would like to update it to 3.1.1 which is the latest version. I tried ...
20
votes
3answers
109k views

How do I create a script file for terminal commands?

In Windows I can write a file containing commands for cmd (usually .cmd or .bat files). When I click on those files it will open cmd.exe and run them commands the file contains. How would I do this ...
6
votes
3answers
104k views

apt.conf “Acquire::http:Proxy ”proxyserver:port" seems not to be used (Ubuntu 13.04 under Virtual Box on Win7)

This is for an installation of Ubuntu 13.04 Desktop in a VirtualBox VM. I'm on a corprate network with an HTTP proxy at x.y.z.251:9090. I've configured the guest OS with the autoconfiguration script, ...
54
votes
6answers
62k views

What does “TTY” stand for?

On the Wikipedia's article (Computer terminal) under the hard copy terminals section of the article it says this "Early user terminals connected to computers were electromechanical teleprinters or ...
63
44
votes
3answers
74k views

How to exclude multiple directories with rsync?

I am trying to backup my home directory using rsync, and I want to exclude some of the directories that contain junk. I want to specifically exclude /home/ben/.ccache and /home/ben/build. ...
22
votes
4answers
114k views

How to set static routes in Ubuntu Server?

I have used Ubuntu since Ubuntu 8.10; today I'm working with Ubuntu 12.04 Server. I am having difficulty keeping static routes on booting. I would usually put the route commands /sbin/route add ...
91
votes
7answers
105k views

Simple image editor?

I want something similar to "preview" in macs. For example: I want an image editor that ONLY does simple adjustments like increase/decrease contrast, saturation, exposure, color tinting.... rotate, ...
12
votes
3answers
23k views

How can I update my gnome to gnome 3.18?

I'm using Gnome 15.04 currently.
33
votes
4answers
129k views

How to find owner and group of a directory?

How can I find out owner and group of a directory in Ubuntu?
21
votes
7answers
110k views

Get rid of 0.5s latency when playing audio over Bluetooth with A2DP

As described in the title I experience a half a second delay when playing audio over Bluetooth with A2DP. This makes watching movies not possible as the sound is not synchronised with the video. I'm ...
12
votes
4answers
63k views

Resolution doesn't change when resizing Virtualbox window

I've installed Ubuntu 64bit on Virtualbox 4.2.16. Guest Additions were installed in Ubuntu as well. However the display resolution of Ubuntu does not seem to change as the Virtualbox window is ...
5
votes
5answers
81k views

How to change ip address in ubuntu desktop through command line

In Ubuntu desktop 13.04 changing /etc/network/interfaces file don't change ip address or convert DHCP to static network interface configuration. after changing the file I tried sudo service ...
53
votes
1answer
139k views

Command to append line to a text file without opening an editor

Assuming i have a line that i want to add to a file without opening an editor. How could i append this line alias list='ls -cl --group-directories-first' to this file config.fish
15
votes
1answer
14k views

VMware won't work after Ubuntu Upgrade

I upgraded to Ubuntu 15.10 and now if I want to open VMware Player it doesn't do anything. I also uninstalled and installed it again, still nothing. What can I do?
21
votes
2answers
114k views

Script doesn't run via crontab but works fine standalone

I have a script that reminds me to restart my computer if uptime is more than, say 3 days (although its set to 0 days now just to check if the script is running as my computer has been up only over a ...
77
9
votes
6answers
73k views

how to correctly install apache2, php5, mysql and phpmyadmin

What is the most correct method of installing apache 2 server, php5, mysql and phpMyAdmin? I installed it this week, and I had a lot problems without solutions, so now that I reinstalled Ubuntu 13.04 ...
41
votes
3answers
66k views

Adapt Ubuntu to a high-DPI resolution screen

What are the steps you need to adapt Ubuntu on a fresh installed Laptop with a high resolution display? I have a display with 3200x1600px on only 11'' which is all realy tiny.
8
votes
3answers
64k views

How to install PhpStorm in Ubuntu 14.04 LTS?

I have a JetBrains PhpStorm 7.1 and I want to install it in Ubuntu 14.04 so I installed wine for windows compatibility and I run PhpStorm-7.1.exe then it was successfully installed (I guess). But when ...
5
votes
3answers
42k views

How can I fix E: Sub-process /usr/bin/dpkg returned an error code (2)?

I received this error after trying to download the icedtea plugin. After trying sudo apt-get upgrade I got the same exact error: Preconfiguring packages ... dpkg: unrecoverable fatal error, ...
32
votes
4answers
71k views

What is the meaning of 'i686' in Ubuntu?

To check whether I am using 32bit or 64bit Ubuntu. I looked in How do I check if I have a 32-bit or a 64-bit OS? and found this answer uname -a. If it is shown as i386, it will be 32bit and amd64, it ...
49
29
votes
3answers
80k views

How can I install Qt 5.x on 12.04 LTS?

If you want to develop with QML 2.0 and Qt5, the base packages don't seem to exist in repository for 12.04. What PPA should I add? Is it a binary installer? a compile the toolkit yourself? Those ...
12
votes
4answers
25k views

Is there any Ubuntu 14.04 theme to make it look like Windows 10?

I used windows 10 in virtual box for a few days and i fell in love with its beauty. Is there a ubuntu theme to make it look like windows 10?
27
votes
4answers
71k views

How to view the `.bash_history` file via command line?

I want to view the contents of my .bash_history file but don't know how to get there via the command line.
13
votes
6answers
60k views

Why Apache virtual hosts on Ubuntu 14.04 is not working?

I installed Apache 2.4 on Ubuntu 14.04 and it was working fine by http://localhost/ address. But when I tried to add a new virtual host, for example http://bow.loc and restart apache, new address was ...
19
votes
5answers
113k views

How do I improve the performance of my VirtualBox guest?

I run a guest ubuntu 12.04 on a host ubuntu 12.04, with VirtualBox, and the guest is much, much slower than the host (ALT+TAB takes 4-5 secs). I had a look around and I found contradicting opinions on ...
17
votes
7answers
98k views

What command should I type to run Chrome from the terminal?

I have remote box accessed by VNC and jwm desktop. No menus, not desktop icons, only a terminal window. I have downloaded Chrome's .deb package and installed it. Now how can I run it from the ...
13
votes
2answers
100k views

How to find python installation directory on ubuntu

I have just migrated from Windows environment. I have installed Python 3.2 in a separate directory. How can I get the python installation path on ubuntu shell ? Is there any way I can let shell ...
39
votes
9answers
94k views

How can I use a .ovpn file with Network Manager?

I have a .ovpn file with my VPN config - it works fine when I do sudo openvpn --config ~jrg/Documents/vpn-config.ovpn in the terminal, but I'd like to use Network Manager. How can I do this?
57
votes
6answers
98k views

How do I copy files that need root access with scp?

I have an Ubuntu server to which I am connecting using SSH. I need to upload files from my machine into /var/www/ on the server, the files in /var/www/ are owned by root. Using PuTTY, after I log ...
12
votes
4answers
63k views

Ubuntu 14.04 multi touch screen support

Just installed 14.04. It seems to be converting all my screen touch gestures to mouse gestures. And it only supports one point touch. It is supposed to support ten touch points (tested with windows ...
57
votes
2answers
97k views

What is <defunct> for a process and why it doesn't get killed?

The chrome browser was not responsive and I tried to kill it, but instead of disappearing the process had <defunct> at its right, and didn't got killed: What is <defunct> for a process ...
9
votes
3answers
88k views

Install on Second Hard Drive with startup boot option?

In theory, what I want to do is very simple, but I've done some google research and read some posts on this site and I'm still confused. I want to keep win7 on my primary C:\ drive, and install ...
32
votes
1answer
94k views

Where are the postfix log files?

I know this has been asked a hundred times. But I've done a lot of Google searching without success. My question: I want to log every activity of my postfix server. Neither the default file ...
20
20
votes
3answers
38k views

14.10: VirtualBox “No suitable module for running kernel found”, Cannot Find Kernel Source

After the 14.10 update to VirtualBox, I can no longer run my boxes. Of note, running sudo service virtualbox status returns VirtualBox kernel module is not loaded and running sudo service virtualbox ...