Greatest Hits

28
votes
1answer
75k views

How do I do a complete BIND9 DNS Server Configuration with a hostname?

I need a complete step-by-step guide on how to produce such a server configuration. Can anyone help-me?
292
115
votes
9answers
216k views

How do I increase the hard disk size of the virtual machine?

I have run out of space on my WinXP virtual machine, which I only gave 10 GB space for when I created it. Is there an easy way to increase it to, say, 20 GB? I can't see any obvious option in ...
61
votes
7answers
139k views

How to check Internet Speed via Terminal?

Instead of going to sites like speedtest.net, or others, I want to check my current internet speed from the terminal on 11.10. How can I do it?
139
votes
13answers
106k views

How do I free up more space in /boot?

My /boot partition is nearly full and I get a warning every time I reboot my system. I already deleted old kernel packages (linux-headers...), actually I did that to install a newer kernel version ...
61
votes
8answers
133k views

How to clear bash history completely?

I want to clear all before command from history of my server. I use history -c it seems all things are cleared but when I ssh to the server,all commands are still there. How can I clear them ...
160
votes
5answers
244k views

How do I change the hostname without a restart?

I want to change the OS hostname but I do not want to restart. I have edited /etc/hostname but it requires a restart to get implemented. How to avoid this?
64
votes
7answers
220k views

How can I install on a non-PAE CPU? (error “Kernel requires features not present on the CPU: PAE”)

After burning Ubuntu 12.04 to a CD, I tried booting and got the message: This kernel requires the following features not present on the CPU: pae Unable to boot - please use a kernel appropriate for ...
20
votes
3answers
180k views

How to change root password for mysql and phpmyadmin

I've set up mysql and phpmyadmin and chose not to set a password when installing hoping that once set up i could login with root and no password but i get the following error from phpmyadmin: Login ...
9
votes
2answers
99k views

Install iTunes on Ubuntu

I've always been an Ubuntu lover, but the only thing that holds me back from installing ubuntu on my laptop is iTunes. I have an iPad and an iPod touch and managing them without itunes is almost next ...
285
14
votes
3answers
126k views

How do I turn off the firewall in Ubuntu 12.04?

How do I turn off the firewall in Ubuntu 12.04? Thanks for the answers. The reason for turning it off was twofold: I often cannot make a wireless connectin to internet and get the server is unable to ...
237
142
votes
9answers
211k views

How to run scripts on start up?

I was wondering how to run scripts when my computer starts up so I don't have to run scripts manually that I always run?
22
votes
3answers
203k views

How to start GUI from command line?

I've installed the following version of ubuntu om my machine. ubuntu-12.04-desktop-i386.iso But when I switch on the computer, I get command line. Ubuntu 12.04 LTS COMP-1245 tty1 Once I ...
189
votes
3answers
265k views

Can I move the Unity launcher?

I can’t get used to the new Unity system. I’d like to move the left Unity panel to the bottom of screen (like Windows 7 – more similar is better). But I can't find a way. Is it possible?
31
votes
10answers
255k views

How to solve 'Connection refused' errors in SSH connection?

I have an Ubuntu Server 10.10 32-bit in my home. I'm making SSH connections to it from my PC via Putty. The problem is, sometimes I'm able to login seamlessly. However, sometimes it gives me an error ...
231
30
votes
6answers
59k views

Stuck at 'VMware easy install'

I have a Mac OS X and VMware Fusion. I did a fresh install of 12.04. I do not have VMware Tools installed. I read that I do not have to log in at the command window, that I have to wait for ...
133
votes
6answers
79k views

How can I install Adobe AIR?

I am a heavy user of certain applications that are built on AIR. It appears that AIR has discontinued support for Linux. Even the older versions in the Adobe AIR Archives seem to support only 32 bit ...
63
votes
12answers
178k views

How to restart the networking service?

I tried to use sudo service networking restart and sudo /etc/init.d/network restart but they both crash the window manager and I can no longer use my keyboard for input into X. when I use the ...
38
votes
6answers
72k views

Problems with Eclipse and Android SDK

I installed Eclipse, openjdk6 and downloaded and extracted the sdk manager file. Now, When I created an Android project I got the following error: 2012-06-06 18:44:40 - contactManager] ...
77
votes
7answers
107k views

What is the difference between a hard link and a symbolic link?

As the title says, I would like to know the difference between a hard link and a soft link created by the command ln. The command man ln does provide information, but does not sufficiently answer my ...
21
votes
6answers
68k views

The system is running in low-graphics mode error in “Virtualbox”

I faced a "The system is running in low-graphics mode error" like the on in this question How to fix "The system is running in low-graphics mode" error? This happened in Virtualbox! I'll ...
64
votes
5answers
199k views

How do I install Adobe Acrobat Reader deb package downloaded from Adobe website?

I am new to Ubuntu, but I believe I have Ubuntu 11.10 installed correctly. I am trying to install Acroread using AdbeRdr9.4.6-1_i386linux_enu.deb that I downloaded from the Adobe web site. How do I ...
116
votes
3answers
222k views

What does “cp: omitting directory” mean?

I've issued the following command: sudo cp ~/Transfers/ZendFramework-1.11.4-minimal/library/Zend/* ~/public_html/cmsk.dev/library/ When I do this, I start getting the following messages: cp: ...
239
211
votes
11answers
155k views

“The following packages have been kept back:” Why and how do I solve it?

I just added a PPA repository for the development version of the GIMP, but I get this error The following packages have been kept back: gimp gimp-data libgegl-0.0-0 libgimp2.0 Why and how can I ...
25
votes
2answers
102k views

How do I install drivers for the Atheros AR8161 Ethernet controller?

I have installed Ubuntu 12.04-64 bit on my Lenovo IdeaPad laptop, and the wired Ethernet (LAN) connection doesn't work. Running the lspci -vv | grep Atheros command from the terminal shows me I have ...
22
votes
8answers
61k views

How do I install Adobe Acrobat Reader from the repository?

How do I install Adobe Acrobat Reader in Ubuntu 14.04 using a Trusty apt repository? This is NOT a duplicate of How do I install Adobe Acrobat Reader?. In Synaptic > Repositories > Other ...
33
votes
8answers
122k views

How to install NVIDIA.run?

I have a Nvidia Ge force Ge6150 SE graphics card. I am running ubuntu 12.04. When I try to install the .run file it fails. It shows the message like this: I Itried to install it after ...
57
votes
9answers
169k views

How to mount an ISO file?

I'm running into trouble trying to mount a large iso: dev@dev-OptiPlex-745:~$ sudo mount -o loop /home/dev/Hämtningar/matlab2011a_64.iso /cdrom mount: warning: /cdrom seems to be mounted read-only. ...
199
24
votes
2answers
87k views

How to uninstall Google Chrome?

I decided to try out Google Chrome and see if it was any different from Chromium, but now I can't figure out how to uninstall it. That's what I have installed. How to get rid of it is the question.
44
votes
3answers
64k views

Cannot install Ubuntu in VirtualBox due to “this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot” error

I was trying to install Ubuntu 12.04 in VirtualBox 4.2.12r84980. I see this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot But I am using a 64 bit Windows 8, and ...
64
votes
16answers
82k views

How to disable the touchpad?

I want my touchpad to be disabled when I use my mouse. How can I do that? touchpad-indicator has stopped working on 11.10. It used to work on 11.04. Gnome3 is not a solution as I don't like it and ...
333
75
votes
15answers
161k views

Higher screen resolution in VirtualBox?

I've just installed Ubuntu 10.04 into VirtualBox on Windows 7. Unfortunately the only options showing for screen resolution are 640x480 and 800x600 and the monitor is showing as 'Unknown'. How ...
56
votes
23answers
101k views

How to fix Duplicate sources.list entry?

I keep getting this warning whenever I try to run sudo apt-get update. W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages ...
17
votes
15answers
92k views

No sound in Ubuntu except at log in

I installed Ubuntu 12.04 a month ago and am using it till now. I failed to notice that all this time there was no sound at all while running Ubuntu, even while playing a game in Wine. The weird thing ...
12
votes
4answers
194k views

How do I login as root?

I want to login as root, but when I enter sudo -s and enter password, this message is shown: "you are not in sudoers file", and when I enter su and enter password, this is shown: ...
196
18
votes
3answers
56k views

Flash player not working in 14.04 LTS

Clean install of 14.04 LTS. Single OS. Have installed Chrome for linux, updated, removed, reinstalled 14.04 LTS. No flash. I have done everything from every site I can find, nothing. Using Chrome I ...
68
votes
5answers
41k views

No Dropbox icon in the indicator panel?

I have recently installed Ubuntu on my machine and everything has been working fine, except I don't see the Dropbox indicator. I have installed and re-installed Dropbox multiple times and can confirm ...
17
votes
5answers
134k views

Kernel requires an x86-64 CPU, but only detected an i686 CPU. How can I install Lubuntu/Ubuntu?

I'm trying to install Lubuntu on my laptop (sorta old 2005). [Laptop stats: Intel® Celeron® CPU 410 @ 1.46 GHz 1.47GHz, 448 MB of RAM] I press Install and this message appears: This kernel requires ...
22
votes
3answers
157k views

How to setup static IP in Ubuntu Server 12.04?

sudo apt-get update sudo apt-get upgrade ifconfig sudo nano /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.1.150 netmask 255.255.255.0 network 192.168.2.0 broadcast ...
24
votes
4answers
68k views

How to successfully restart a network without reboot over SSH?

In Ubuntu 14.04 neither sudo service networking restart nor sudo /etc/init.d/networking restart do anything any more. They also both exit with code 1. Something has obviously changed (or half changed) ...
46
votes
6answers
105k views

How can I use Chromecast

I just saw the video about Chromecast and I am interested in knowing how can I enable this on my Ubuntu PC. My TV has an HDMI port.
63
votes
4answers
122k views

How to install gcc-4.8

I checked the gcc version on my system. It is currently at 4.6.3. I read that gcc-4.8 is out. I tried the following commands without success: sudo apt-get install gcc (gcc is already the newest ...
62
votes
8answers
252k views

How do you restart Apache?

I switched from SLES to Ubuntu and now I want to restart my local server. In SLES I used : rcapache2 restart but this somehow seems not to work in Ubuntu. :( How do i restart my Apache?
18
votes
6answers
60k views

An easy way to create a desktop shortcut?

I wonder, isn't there still an easy way to create a desktop shortcut in Ubuntu 14.04 (or Unity)? There is no context menu on desktop doing this. So I tried the following: I looked for an app I want ...
29
votes
3answers
226k views

How do I remount a filesystem as read/write?

I'm trying to mount an hfsplus filesystem in a Xubuntu 12.04 VM (kernel version 3.2.0-23-generic) but when I type mount -o remount, rw /dev/sdb3 in command line it returns not mounted or bad option. ...
59
votes
15answers
148k views

How can I install Windows after I've installed Ubuntu?

I have Ubuntu on my laptop. Now I want install Windows 7 in a dual-boot. How can I do this? I can't lose my Ubuntu files, and I'm afraid that I might break GRUB.
36
votes
4answers
235k views

How do I install .run files?

My PC has both Ubuntu and Windows 7 installed. I have installed all my drivers in Windows like Nvidia graphics, motherboard etc. Shall I install them in Ubuntu too? I looked on the web for my Nvidia ...
65
votes
4answers
181k views

How can I copy the contents of a folder to another folder in a different directory using terminal?

I am trying to copy the contents of a folder to another folder in a different directory using terminal. Would somebody be able to provide me an example of the command line syntax required to achieve ...
31
votes
8answers
126k views

How to install vmware tools?

I installed my Ubuntu in vmware, no I need install vmware tools, I got error: Searching for a valid kernel header path... The path "" is not valid. Would you like to change it?[yes] In ...
207
votes
5answers
181k views

How to upgrade a single package using apt-get?

How do I update a single package? As far as man apt-get says apt-get upgrade doesn't take a package/list of packages as parameter: upgrade upgrade is used to install the newest versions of ...
225
93
votes
7answers
258k views

How can I restart x-server from the command line?

How can I restart x-server from the command line? I'd really like to be able to restart my gui without having to do a full system reboot.