Greatest Hits

10
votes
4answers
44k views

Grant a user permissions on www-data owned /var/www

I have a simple web server setup for some websites, with a layout something like: site1: /var/www/site1/public_html/ site2: /var/www/site2/public_html/ I have previously used the root user to ...
12
votes
1answer
46k views

Cannot update grub with paramters on live USB

I have booted from a live USB ("Try Ubuntu"), that also has a persistent option set (I used LiLi to create one) to do some tests for this pcie hotplug issue I'm having. I'm trying to test some boot ...
43
votes
3answers
85k views

How to connect and disconnect to a network manually in terminal?

Since the network manager is troubling me so much I want to replace it (possibly wicd orNM from ppa:volanin). I do not know how to connect and disconnect to the network through the terminal without ...
9
votes
1answer
71k views

How do I display the whole desktop in Virtual Box fullscreen mode?

I am running Ubuntu 12.04 in VirtualBox 4.2.6 on a Windows 7 host. After installing Ubuntu I wanted to get the VB interface in fullscreen. I therefore installed guest additions from Virtual Box ...
13
votes
3answers
62k views

How do you open a command line?

I want to set up trim for my OCZ VERTEX 4 SSD, but I have no idea how to do this even after reading the instructions. How do you even access the command line or run option to put the commands into ...
92
votes
5answers
85k views

How do I get a list of installed files from a package?

I want to know where I can find my installed application when I installed it on Ubuntu using package manager. I installed RabbitMQ and ran locate rabbitmq which gave me following result: ...
10
votes
3answers
26k views

How do I install the Tor Browser Bundle in Ubuntu?

In Ubuntu 13.04 I used the following PPA to install the 64-bit Tor Browser Bundle. However, in Ubuntu 13.10 it doesn't work anymore. sudo add-apt-repository ppa:upubuntu-com/tor64 sudo apt-get update ...
2
votes
1answer
24k views

Terminal: sudo: apt-get: command not found

This is my first post here, so let me be welcomed with a serious issue to be answered. Lately some really bad things have been happening with my computer, having to do with lack of icons and all kinds ...
26
votes
3answers
32k views

What is the safest way to clean up /boot partition?

I've got 200 MB assigned for the /boot partition. Everytime I try to update the kernel I get an error message that basically says the size of /boot is full. What can I do to cleanup /boot and ...
9
votes
5answers
37k views

Ubuntu 13.04. fail to start after installing nvidia drivers (Vostro laptop)

Everything worked fine in 13.04 Ubuntu but then i installed nvidia-drivers-103 Now it does not load into login screen at all. I see blank purple screen during start-up and then just blank black screen ...
10
votes
1answer
18k views

Parallels (Tools) 9 & 14.04

I can create 14.04 VM with Parallels 9 (on OSX 10.9.2) just fine. However, once I install Parallels Tool, the launch and menu bars disappear. There's still some functionality, e.g. I can create a ...
9
votes
7answers
37k views

No sound in Ubuntu 13.04, only Dummy output device listed

My sounds suddenly stopped playing on Ubuntu 13.04 64bit. I can only see Dummy output device in the Sound Settings and no sound is played during testing. I can get the sound temporarily working by ...
29
votes
2answers
102k views

How do I compress a directory?

I'm trying to compress a directory and ftp it to a windows ftp. I have tried every tar command I can find to compress a directory. It appears to be ok. Then I transfer it and view it's contents ...
5
votes
2answers
97k views

How to map a network drive?

I am unable to map a Windows network drive in Ubuntu. I have entered the following command in the terminal: karthick@karthick:~$ sudo mount -t cifs -o username=raghu //172.29.32.184 /media/Data/ ...
18
votes
1answer
56k views

My WiFi adapter is not working at all, how to troubleshoot?

On this site I see hundreds if not a thousand questions being asked about issues with a Wireless LAN adapter not being detected/recognized by Ubuntu. Some mainstream adapters appear to be utterly ...
49
votes
4answers
70k views

Running programs in the background from terminal

How do I run a program in the background of a shell, with the ability to close the shell while leaving the program running? Lets say my UI is having problems or for some reason, I need to boot up a ...
5
votes
4answers
25k views

Why not work Apache virtual hosts on Ubuntu 14.04?

I was install Apache 2.4 on Ubuntu 14.04 and it work fine by http://localhost/ address. But when I try to add new virtual host, for example http://bow.loc and restart apache, new address not available ...
25
votes
6answers
29k views

How to re-enable tray icons for applications in Ubuntu 13.10?

Unfortunately in Ubuntu 13.10 there is no tray icon and whitelisting is removed. The older solutions do not work for me, e.g. I get the message: No such schema 'com.canonical.Unity.Panel' when I try ...
5
votes
4answers
14k views

Why do I get “wrong fs type, bad option, bad superblock” error?

When mounting an NFS directory by doing: sudo mount 192.168.1.5:/home/shared /mnt/common I get the following error: mount: wrong fs type, bad option, bad superblock on 192.168.1.5:/home/shared, ...
15
1
vote
1answer
32k views

Resetting forgotten phpmyadmin password

I recently installed LAMP on Ubuntu 13.04(32-bit) but forgot my phpMyAdmin password. How can I reset its password without re-installing it?
21
votes
2answers
47k 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 ...
4
votes
3answers
46k views

How to update graphics card driver in ubuntu 12.04.1

I have an Asus eee r101 pc,and wonder if anyone knows how to update the graphics drive in Ubuntu 12.04
39
votes
4answers
59k views

What is the equivalent of the “tracert” DOS command?

tracert is a command in MS-DOS command prompt to trace the route to an IP Address. Is there any command in the Gnome Terminal equivalent to this?
14
votes
4answers
54k views

How do I find the path to pg_hba.conf from the shell?

I would like to obtain the path to pg_hba.conf from the shell. The path varies between versions of PostgreSQL. For instance, for 8.4 and 9.1: /etc/postgresql/8.4/main/pg_hba.conf ...
2
votes
2answers
46k views

Installing software center ubuntu

Okay so I recently had some problems with ubuntu software centre where if I opened it from the dashboard it would open up, but only display a white screen. Nothing happened, so if I then clicked the ...
20
votes
3answers
88k views

How to check the information of current installed video drivers?

I have just installed Ubuntu 10.04. My CPU usage is high when I do trivial things such as scrolling through a PDF file. So I think my video driver is not properly installed. I want to confirm that by ...
5
votes
4answers
38k 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 ...
5
votes
4answers
56k views

SSH Permission denied (publickey)

I have tried searching previous questions for answers to my question but all of the answers that have been suggested previously haven't worked for me. I am trying to connect to a linode (running ...
5
votes
3answers
21k views

Change default system font using terminal only in 14.04

The following question answers how to Adjust fonts using tweak tool but the luddite in me would like to know how to do this without installing unity-tweak-tool. How can I adjust the default system ...
17
votes
5answers
36k views

Automatically enter input in command line

I'm running a script that it requests entering 'y' on each operation, I am looking for a solution like $ ./script < echo 'yyyyyyyyyyyyyy' to pass all my inputs in one time.
5
votes
4answers
22k views

Drivers for Broadcom BCM43142 on Ubuntu 14.04 (Trusty Tahr)

I am not able to install drivers for my Wi-Fi + Bluetooth card (Broadcom BCM43142). What I have done till now: I have tried using the drivers at this website. I tried following the instructions ...
7
votes
3answers
11k views

How do I disable SSLv3 in tomcat?

Please provide the fix for How do I patch/workaround SSLv3 POODLE vulnerability (CVE­-2014­-3566)? for Tomcat. I have tried following below link, however it does not help: tomcat-users mailing list ...
7
votes
3answers
16k views

“Failed to start session” after interrupted upgrade to 14.04

While upgrading to 14.04 using sudo do-release-upgrade my network connection was interrupted and several packages failed to upgrade. Running do-release-upgrade again reported No new releases found ...
11
votes
2answers
57k views

How to permanently set environmental variables PATH and M2_HOME in ubuntu for maven3?

I have downloaded the latest apache-maven3.zip file and extracted it to the folder: /home/gaurav/Java/maven3. I don't know how to set the environmental variables for maven - such as PATH and M2_HOME. ...
18
votes
4answers
61k views

How do I move all files from one folder to another using the command line?

I would like to know how could I move all files from a folder to another folder with a command line. Let's say I'm in my Downloads folder and there are a 100 files that I would like to move to my ...
9
votes
2answers
55k views

How much memory (RAM) should I allocate to the Virtual Machine?

I'm installing Ubuntu in a Virtual Box; my host OS is Windows 7, and I have 6GB of RAM on my system. One tutorial on setting up Ubuntu on a virtual machine (this one, on step 14: ...
6
votes
3answers
35k views

What does 2>/dev/null mean…?

I want one or two line description about the following command line: grep -i '\/support\/security\/bulletins\/' content 2>/dev/null
7
votes
4answers
38k views

how to remove symbolic link

i was doing sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin but i accidentally typed something else. So now I want to correct it but it says symbolic link already exist. Please help, Thanks in ...
28
votes
7answers
20k views

How Do I upgrade Docker

I type docker.io version, and get: Client version: 0.9.1 Go version (client): go1.2.1 Git commit (client): 3600720 Server version: 0.9.1 Git commit (server): 3600720 Go version (server): go1.2.1 Last ...
95
votes
1answer
93k views

What are the meta, super, and hyper keys?

In System -> Preferences -> Keyboard -> Layout -> Options ->Alt/Win key behavior What do meta, super, hyper mean?
14
votes
1answer
15k views

fatal error: sys/cdefs.h: No such file or directory|

It has been weeks that i am trying to use Code::Blocks IDE to program Atmega16, however, i am hindered by the following error while compiling/building the program in C::B ...
19
votes
7answers
51k views

Grub does not show a Windows 8 option after dual boot

So, I've successfully dual-booted my Windows 8 machine with Ubuntu 12.04 . However, I still don't have a convenient method of choosing what OS to load at boot time. After installing Ubuntu, my ...
20
votes
4answers
55k views

How do I move (copy) my entire Ubuntu system to a different hard disk?

The HDD I have my Ubuntu installed is about to fail. I would rather not lose 3 years worth of data, customisation and apps. I am looking for a way to move the complete system (SWAP included, because ...
13
votes
5answers
33k views

How to uninstall OpenJDK?

I don't want OpenJDK installed on my Ubuntu 13.04 system, but trying to uninstall the openjdk-7-jre yields the following message: $ sudo apt-get purge openjdk-7-jre Reading package lists... Done ...
28
votes
10answers
62k views

Radeon HD 2000, 3000, 4000 on Ubuntu 12.04.2 and higher: fglrx (legacy) unsupported, what to do?

After upgrading to 12.10 quantal, the packaged version of fglrx no longer works. I discovered that this is because there is a separate 'legacy' fglrx driver for the HD 2k-4k series cards, but it is ...
28
votes
3answers
51k views

mv: Directory not empty

I want to move content of a directory within another directory with the same folders. Here's an example: I have ./backup wich have the directories "base" and "test". Now I want to move these ...
10
votes
3answers
59k views

How to setup x11vnc to access with graphical login screen?

I have a server running Ubuntu 12.10 and need to be able to remote to this server without being logged-in. I have found many solutions, but none seem to work with 12.10. Can anyone give me ...
38
30
votes
2answers
56k views

What does `nomodeset` do

Since installing Ubuntu 12.10 I have been playing around trying to get my Radeon HD 5450 gpu to work with the proprietary driver, as from the start installing the driver meant losing unity. I won't ...
2
votes
2answers
56k views

how to fix the hard-drive Bad Sector

I tried to fix my hard drive using Ubuntu but I found that message and didn't know what to do with.... I need to fix my bad sectors fsck /dev/sdb fsck from util-linux 2.20.1 e2fsck 1.42.5 ...
33
votes
8answers
22k views

How to turn off baloo in KDE 4.13?

I have Kubuntu 14.04 and just installed the newest updates. Looking at the process list I see baloo indexer running. I could not find a checkbox in Baloo settings to turn off the indexing.
44