Greatest Hits

8
votes
1answer
15k views

Qualcomm Atheros Device [168c:0042] (rev 30) Wi-Fi driver installation

I bought an Acer laptop and installed Ubuntu 14.04LTS but WiFi drivers are not available for it. So I am trying to install a windows driver using wifidocs/driver/ndiswrapper. On doing lspci -vvnn, it ...
13
votes
5answers
64k 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 ...
25
votes
4answers
58k views

Why can't I access a shared folder from within my Virtualbox machine?

I have Ubuntu 14.04 as my host system, and then on Virtualbox, I have Lubuntu 14.04. I am trying to share a folder on my host system so that my guest system can write files to it. I've followed ...
13
votes
4answers
49k views

Grep searching two words in a line

I've been trying to find a way to filter a line that has the word "lemon" and "rice" in it using a regular expression. I know how to find lemon or rice but not the two of them. They don't need to be ...
33
7
votes
3answers
65k views

“ping: unknown host google.com” but IP's works fine

I recently upgraded from Ubuntu 12.04 to Ubuntu 14.04. After restarting I have WiFi connected and/or LAN connection with no internet access. I'm using Toshiba Satellite C855D. Here are some of the ...
13
votes
2answers
37k views

Apache not able to restart

Trying to restart apache from terminal using following command: sudo service apache2 restart when executing that command getting below error: Job for apache2.service failed. See "systemctl status ...
17
votes
3answers
67k views

How do I make rsync delete files that have been deleted from the source folder?

I recently set up a machine with Ubuntu Server to host game servers. I installed a backup plugin for each game server that creates frequent backups of game world files in a particular folder on the ...
51
34
votes
4answers
121k views

Switching window manager/desktop environments?

In general what is the approach to switch the desktop environment or window manager on Ubuntu? The main difference between stock Ubuntu, Kubuntu and Lubuntu is supposedly the use of Unity vs. KDE vs. ...
16
votes
1answer
74k views

What does apt-get --fix-missing do and when is it useful?

From the man page: -m, --ignore-missing, --fix-missing Ignore missing packages; if packages cannot be retrieved or fail the integrity check after retrieval (corrupted package files), hold back ...
95
votes
6answers
119k views

How can I get a list of all repositories and PPAs from the command line into an install script?

I know how to list all packages installed on my system. But how could I get a list of all repositories and PPA's? I know I can look into /etc/apt/sources.list and /etc/apt/sources.list.d, but I'm ...
35
votes
4answers
85k views

How do I check if a package is installed on my server?

I recently installed Ubuntu Server edition 13.10. But I have ran into a bit of problem. At the end of the install, it asks you for several extra packages whether you want them or not, like openSSH ...
16
votes
2answers
45k views

vivid - failed to connect to upstart: connection refused

Just updated via do-release-upgrade and now certain upstart jobs such as fail2ban and plexmediaserver will not start (have tried reinstalling) sudo service fail2ban start Job for fail2ban.service ...
13
votes
3answers
10k views

Ubuntu 14.04.4 LTS hangs on boot after latest dist-upgrade in VMware

I ran apt-get dist-upgrade as follows: Calculating upgrade... Done The following NEW packages will be installed: linux-headers-3.19.0-51 linux-headers-3.19.0-51-generic linux-image-3.19.0-51-...
19
votes
5answers
58k views

How to restart Gnome-shell, after it became unresponsive/freeze?

Sometimes, my gnome-shell freezes. I can see (hear) background processes working (playing music), but I can't do anything in gnome. No Alt+F2+R. I can switch to console using: Ctrl+Alt+F1, login as ...
75
10
votes
3answers
144k views

How to map a network drive?

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

How do I mount a CIFS share?

I'm using Ubuntu 11.10, and am trying to mount a freenas server. I have the server set to share in cifs and nfs with no luck. I have tried smbmount //192.168.1.### /mnt/ I am not new to Ubuntu but ...
104
votes
3answers
128k views

How to install specific Ubuntu packages, with exact version?

I want to setup a new virtual machine with some specified packages (name and version), that are provided. For example apache2 in version 2.2.20-1ubuntu1 with all dependencies. Even if there is a new ...
11
votes
2answers
70k views

How to switch from unity to gnome

Default ui for Ubuntu 14.04 being Unity, want to switch to Gnome. Can't find usual way to switch at login screen as mentioned here. http://www.techienote.com/2011/03/switching-to-gnome-in-ubuntu-11-...
10
votes
3answers
63k views

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName … waiting apache2:

I upgraded to ubuntu 14.04 yesterday. But after restarting PC , this message continues to appear in a black screen after the ubuntu loading screen and don't go away and ubuntu doesn't start I can do ...
13
votes
4answers
65k 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 8....
20
votes
3answers
41k 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 ...
18
votes
2answers
91k views

How do I mount my Android phone?

I'm puzzled because my phone used to just appear when I plugged it in. It doesn't anymore and The development options are definitely set to allow USB debugging. The phone is charging via USB but doesn'...
12
votes
7answers
41k views

ubuntu 14.04 login loop problem

My Ubuntu 14.04 is stuck when trying to login my desktop. The screen goes black and soon after that the login screen comes back. I followed all steps in Ubuntu gets stuck in a login loop but the ...
17
votes
2answers
80k views

32-Bit UEFI Boot Support

I recently purchased a Dell Venue 8 Pro. I have read online about what it needs in order to boot into Ubuntu or any other Linux distro. From what I have gathered, what really needs to happen is 32-...
10
votes
5answers
126k views

How to boot into Windows 7 when grub is installed in the Windows partition?

Original title: How can i solve (un)booting windows 7 on the same partition with grub? I've been researching for 2/3 days about this problem and I have came up empty. Basically, partition 1 is ...
14
votes
3answers
63k views

How to install Juniper VPN on Ubuntu 14.04 LTS?

Could you please help me ? On my old Ubuntu 13.10 I was able to run Juniper VPN (on Firefox only) using a workaround which requires you to install the missing 32libs and IcedTea (32bits). However, I ...
11
votes
3answers
117k views

How to detect an USB device?

I got a scenario, where a software works only when you insert the USB device provided by the software vendor in windows operating system. Im trying to find the content stored in the USB device. In ...
55
19
votes
3answers
74k views

What is $DISPLAY environment variable

I am new to shell scripting.I do NOT understand what is $DISPLAY environmental variable. I have Ubuntu 13.10 and I use /bin/bash shell. I have two monitors. Questions: 1.Command echo $DISPLAY will ...
5
votes
6answers
85k views

Install Ubuntu in UEFI mode (unable to boot from USB)

I recently bought a Dell Inspiron 15R SE with Windows 8 (64 bit) pre-installed (UEFI supported). I want to install Ubuntu in dual boot with Windows 8. I tried to follow all these instruction and these ...
31
votes
6answers
50k views

How do I check whether a module is installed or not in Python?

In terminal, after I start Python, how will I know what are the modules present in python? Suppose I need to learn the modules NumPy and SciPy. How will I install it if it is not installed? How ...
7
votes
4answers
72k views

cp - cannot create regular file : permission denied

I want copy to /lib/udev but gives error cp -f /tmp/ok_pcscd_hotplug.sh /lib/udev cp:cannot create regular file /lib/udev/ok_pcscd_hotplug : Permission denied I am root , but I can't understand . ...
31
votes
7answers
71k views

Home directory not being created

I am trying to understand system administration on Ubuntu. So, as an example, I create a dummy user using sudo useradd -d /home/linda linda and passwd to create the password. I check that an entry ...
10
votes
4answers
60k views

How do I eliminate screen tearing on 14.04 and XBMC with NVidia-331?

I have updated my 12.04 HTPC to 14.04 (new install; same hardware), and have started getting awful screen tearing where I had none before. /proc/cpuinfo AMD A4-3300 APU with Radeon(tm) HD Graphics ...
49
votes
2answers
99k 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 ...
12
votes
3answers
24k views

How can I update my gnome to gnome 3.18?

I'm using Gnome 15.04 currently.
10
votes
4answers
11k views

The system network services are not compatible with this version Ubuntu 14.04

I have Ubuntu 14.04 LTS installed on my PC. I have created some new accounts and then after I logged in to my own account there was no internet connection. When I try to open the network settings I ...
9
votes
3answers
79k views

Ubuntu doesn't “see” external USB Hard Disk

It's NTFS. It's USB2. I'm using Ubuntu 13.04. It works perfectly fine on Windows (which excludes cable and hardware problems). I have two Ubuntu computers and it's not detected on either. It's about ...
0
votes
3answers
11k views

How should I go about installing Chrome on ubuntu 14.04 32bit?

I would like to install Chrome on Ubuntu 14.04 32bit, but it's no longer supported.
21
votes
3answers
21k views

How to boot from a USB drive in VirtualBox?

The question is simple and straight forward: How to boot from an USB drive in VirtualBox? EDIT: I have attached usb to VirtualBox as shown in the screenshot. But it is not possible to boot from ...
4
votes
3answers
57k views

Installed Ubuntu 14.04 - cannot connect to internet with wired or wireless connection

I just installed Linux and Ubuntu 14.04 alongside my Windows 8 on my HP Pavilion. First, I had problems with the graphics card and it said it could only operate in low graphics mode.But it just stall ...
10
votes
1answer
82k views

How do I install and enable pdo_mysql and gd extensions for php5?

When trying to install webtrees I get the following output: Checking server configuration PHP extension "pdo_mysql" is disabled. You cannot install webtrees until this is enabled. Please ...
40
35
votes
4answers
80k views

How to remove lines from the text file containing specific words through terminal?

How to remove all the lines from the text file containing the words "cat" and "rat"?
38
votes
7answers
80k views

How do I check the health of a SSD?

We all know that SSDs have a limited predetermined life span. So the question for me is how do I check in (Ubuntu) Linux what the current health status of my SSD is? And maybe an estimation how long ...
7
votes
2answers
59k views

Proxy authentication with terminal Ubuntu 14.04

I would like to access the internet to update files etc. from the terminal on a secured proxy network. I've already tried the following: Adding to /etc/apt/apt.conf, /etc/apt/apt.conf.d/01proxy, /...
8
votes
8answers
72k views

Pinging computers on local network: destination host unreachable

I have two ubuntu computers on a local network and neither one of them can ping each other. Every time I try I get the "destination host unreachable" error message. Both computers are able to access ...
16
votes
3answers
50k views

What is a “failed to create a symbolic link: file exists” error?

I'm trying to create a symlink in my home directory to a directories and files on my data partition. I've tried: ~/Documents$ ln -sv ~/Documents/saga /media/mariajulia/485f3e29-355c-4be3-b80a-...
35
votes
4answers
65k views

How can I find my User ID (UID) from terminal?

The title says it all. What command I need to run from a terminal to find my user ID (UID)?
7
votes
2answers
30k views

Installation of Skype for Ubuntu 14.04 x64 with Terminal

I'm new to Ubuntu and try to install the latest version of Skype from terminal windows. Can anybody help me please, How to do this?
2
votes
1answer
84k views

How to Fix “Read-only file system” error when I run something as sudo and try to make a folder/file?

When I try to save something or rename a file/folder it say this error " Read-only file system" or run something as root in the terminal it say this error sudo: unable to open /var/lib/sudo/"My User ...
2
votes
3answers
36k views

Setup Error: end kernel panic - not syncing: vfs: unable to mount root fs on unknown block(2,0)

I want to install ubuntu 14.04. When i press "setup ubuntu" the error "end kernel panic - not syncing: vfs: unable to mount root fs on unknown block(2,0)" is appears Even if do not do anything this ...