Greatest Hits

4
votes
3answers
29k 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 ...
4
votes
2answers
59k views

Change permissions on all folders and files

I have ubuntu 12.04. I want to change permissions on all folders and files at the same time so that anyone can modify or remove them.
11
votes
1answer
44k views

Command to change the wallpaper in XUbuntu

Doing a google search reveals the command xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/image-path -s <image-path> The first time I run this command I got a message saying that ...
13
votes
4answers
33k views

How to speed up VirtualBox Ubuntu 14.04 (disable visual effects, …)

I just installed Ubuntu 14.04 in a VirtualBox machine, which I am planning to use for Java/Web development. After my first steps, I noticed that the CPU usage is very high even when I do simple tasks ...
65
votes
4answers
53k views

What is Ubuntu Touch (Ubuntu for Phones)

Following up on Canonical's announcement, what is Ubuntu for phones, where can I download a copy of the OS to run on my phone? And how do I know if it's compatible with my phone?
11
votes
4answers
77k views

How can I edit my Grub bootloader entries (Hide, Rename, Remove)? Preferably doing it manually, and not with a program

So basically I have a pretty flooded Grub bootloader, with older linux versions, 3 operating systems and memtests. What I want is to leave the operating systems only. I need to know how to do it ...
46
7
votes
2answers
31k views

Dark GTK theme for Ubuntu 14.04

I am using the zonColor DarkNight theme on Ubuntu 13.10 and am quite pleased with it. I would like to have a similar theme for Ubuntu 14.04 but so far I could not find a single dark theme available. ...
8
votes
8answers
32k 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 ...
58
votes
4answers
71k views

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

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 ...
29
votes
2answers
16k views

Explanation of the command to check shellshock

Here is the command I have used to check my bash shell for the Shellshock bug: env x='() { :;}; echo vulnerable' bash -c "echo this is a test" Can anyone please explain the command in details?
6
votes
5answers
50k views

How to connect and create a database in MySQL?

I want to install MySQL and create a database on it using the following code: sudo apt-get install mysql-server mysqladmin -h localhost -u {username} -p create lrs I get the following message after ...
6
votes
2answers
54k 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 ...
9
votes
3answers
39k views

Reboot a Server from Command Line?

How do I reboot a Ubuntu Server from the command line? sudo reboot now never seems to work for me. Because its a server, I don't have a window manager installed, so I can't do it from a GUI (which ...
12
votes
1answer
84k 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 ...
21
votes
5answers
32k views

How to install pip for python 3 in ubuntu 12.04 LTS

I am trying to install the Pillow module for python 3.3, but for that I need to install pip. Every time that I install pip it installs for python 2.7, any help?
74
votes
9answers
18k views

What is the difference between Terminal, Console, Shell, and Command Line?

What is the difference between Terminal, Console, Shell, and Command Line?
32
votes
1answer
55k views

How do I install smbmount?

It seems that smbmount is not available in Kubuntu 12.10: - neptune():~$ smbmount //192.168.0.100/ samba/ -o rw smbmount: command not found - neptune():~$ apt-file search smbmount manpages-zh: ...
39
60
votes
3answers
78k 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 ...
38
votes
3answers
35k views

What is the “sticky bit” (t permission) and why does /tmp have it?

The output of the command ls -ld /tmp is: drwxrwxrwt 30 root root 20480 Mar 11 14:17 /tmp So I have two main questions: What is the letter t after the permissions? As far as I know /tmp is used ...
1
vote
3answers
21k views

VLC Player installation ubuntu 14.04

I Have searched for many options on internet to install VLC Player on ubuntu 14.04, but nothing is working for me. Please could you help me with this issue. Errors : ...
26
20
votes
4answers
68k views

How can I get nVidia CUDA or OpenCL working on a laptop with nVidia discrete card/Intel Integrated Graphics?

Background: I'm a 3D artist (as a hobby) and have recently started using Ubuntu 12.04 LTS as a dual-boot with Windows 7. It's running on my a fairly new 64-bit Toshiba laptop with an nVidia GeForce GT ...
22
votes
4answers
72k views

How to detach a screen on a terminal?

Maybe this is a dumb question. I know how to start a screen or how to list different screens. screen -ls or to attached.. There are screens on: 2477.pts-0.server1 (Detached) ...
5
votes
2answers
22k views

Ubuntu 14.04 Server - WiFi WPA2 Personal

I just installed Ubuntu 14.04 Server and cannot get wifi configured correctly to work with WPA2 personal and could use some help. There was a simple wizard during install where I selected my SSID ...
51
votes
5answers
39k 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?
9
votes
5answers
59k views

How to install subversion client in ubuntu

I have looked at this question: How do I install svn? We already use sudo apt-get install subversion to install subversion on the server. What should I do in order to install the subversion ...
13
votes
3answers
34k views

How do I run 'sudo' command inside a script?

To do a patch manually I must type this command sudo ./playback_delete_data_patch.sh 09_delete_old_data_p.sql There is a space just before the 09: sudo ./playback_delete_data_patch.sh [space] ...
18
votes
4answers
26k views

Nginx failing to reload - how to track down why?

Hi I've had my Nginx server running great on Ubuntu server 12.04 for a while. I've been gradually bolting on various bits, and got as far as optimising load times on my wordpress page. After making ...
15
votes
1answer
52k views

I get “Failed to load session ”ubuntu-2d" when using XRDP

Initially, when I try to log in to my ubuntu machine (version 12.10) using RDP, I would get an ubuntu desktop background, with no text, menu bars, or anything to indicate it loaded the desktop. I ...
8
votes
1answer
77k views

How to start/stop iptables?

While learning some new things about iptables I can't through this. While I am trying to start, its saying as root@badfox:~# iptables -L -n -v Chain INPUT (policy ACCEPT 0 packets, 0 bytes) pkts ...
1
vote
3answers
13k views

The following packages have unmet dependencies!

I am writing this because I am very confused about installing postgresql 9.3 on mine Ubuntu 14.04. First I need it for mine Python/Django development, and I ran in to the problem, when i tried to ...
15
votes
2answers
71k views

How do I add an additional hard drive?

I am going to put an additional (non-USB) hard drive in my system. I already have Ubuntu on my other hard drive so I do not want to install Ubuntu on the additional drive but only use it for storage. ...
10
votes
2answers
74k views

How to correctly fix a “dirty” NTFS partition without using chkdsk

When I try to do a ntfsck to a NTFS partition I get this: sudo ntfsck /dev/sdb1 Unsupported: replay_log() Volume is dirty. Unsupported: check_volume() Checking 161792 MFT records. Unsupported cases ...
26
votes
3answers
6k views

Is Ubuntu destroying my internal HDD?

I have an Inspiron 3521 that came pre-installed with Windows 8.1. I decided to dual-boot Windows and Ubuntu, and it was working good. But, when using Ubuntu, I heard a lot of noise from my laptop ...
11
votes
5answers
36k views

How to clean /tmp?

rizhas@rizhas-laptop:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda7 67G 58G 5,2G 92% / none 4,0K 0 4,0K 0% /sys/fs/cgroup udev 1,5G 12K ...
31
33
votes
4answers
57k 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 ...
18
votes
7answers
52k views

How does copy-paste work with xterm?

Left-down-clicking in xterms starts the selection of something to be copy-pasted. Double-left clicking selects a word. Triple-left clicking selects a line. All this works under unity in 11.04. ...
19
votes
1answer
42k 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 ...
11
1
vote
2answers
40k views

No root file system is defined

Here the steps I used to install Ubuntu. Booted Ubuntu 13.04 from a USB drive (I have XP). Everything going fine. Gave me options how to install. Chose "Other" as I have multiple drives. Gave me ...
6
votes
4answers
43k views

How to run mysql command from terminal?

I have the following sql command which I usually run in phpmyadmin by selecting the database, then running it in the command window. DELETE FROM `wp_posts` WHERE `post_type` = "attachment" However ...
3
votes
2answers
15k views

Upgrade xubuntu from 14.04 to 14.10

I set Notify me of a new Ubuntu version to For any new version. Then I did this in terminal: sudo apt-get update sudo apt-get dist-upgrade And nothing happened. The result of cat /etc/lsb-release ...
8
votes
4answers
83k views

How do I start VNC Server on boot?

How do I create a system-wide autostart file? This would be on a cloud server running the desktop version of Maverick. I logged in as root and created an autostart file using ...
0
votes
3answers
30k views

Uninstall Grub and use Windows bootloader

I have Windows 8 pre-installed and then installed Grub with Ubuntu. Ubuntu is not my thing so now I want to remove it along with grub. From what I have learned, with UEFI, Grub does not overwrite the ...
17
votes
3answers
43k views

Can I use Ubuntu to diagnose hard drive or RAM problems in Windows?

This may be a crazy question, but here goes... My brother suggested that I could somehow use either a Ubuntu Live Boot CD or Flash drive or Kubuntu as a way to diagnose issues I'm currently having ...
35
votes
5answers
65k views

Is there a free trusted vmware image with Ubuntu preinstalled?

Since the vmware virtual machine drivers are pretty standard I don't see any technical reason for a preinstalled image not to be portable. Although the above situation is obvious, I didn't find any ...
1
vote
1answer
16k views

Ubuntu 14.10 Nvidia Driver

I upgraded my ubuntu 14.04 to 14.10 , and my nvidia gforce stopped working , and giving low resolution on both internal and external monitor!!!. Is there any update for this Driver, as I am using ...
12
32
votes
5answers
44k views

Ubuntu as Miracast Sender/receiver

couldn't find anything about Ubuntu act as a Miracast receiver or sender. General info about Miracast at Wikipedia Should this work? Supported HW? (Wifi direct?) only via WiFi no LAN? If Wifi direct ...
15
votes
1answer
23k views

Where is Start-up Applications in 14.04 Unity?

I cannot find the Start-up Applications in 14.04, I read on a forum that you had to go into Main Menu and allow it to be visible through preferences, but I have looked all the way through preferences ...
7
votes
6answers
20k views

How to list all symbolic links in a directory

I have a symbolic link in my /var/www/ directory that links to WordPress. When I run the command ls -la from the /var/www/ directory the link to WordPress doesn't show up. Is there a way to list all ...
16
votes
1answer
19k views

Ubuntu 12.04.4 LTS to 14.04.1 LTS upgrade: “no new release found”

According to Trusty Tahr Release Schedule, Ubuntu LTS 14.04.1 (first .1 version) was released two days ago. Unfortunately when trying to upgrade using the do-release-upgrade command I get the message ...
2
votes
1answer
24k views

How to install Flash Player Plugin in Lubuntu?

I am actually using Lubuntu, and I can't install the Abobe Flash Player Plugin with Chromium. When I download it on the Adobe Flash Player website, Lubuntu ask me (in French, sorry, I live in France) ...