Greatest Hits

20
votes
2answers
78k views

How do I get a Ralink RT3290 wireless card working?

I just installed Ubuntu 12.10 on an ASUS X401U, and after installation there is no list of wireless connections. I didn't have that problem with an installation on HP. What I can do to enable Wifi? ...
123
4
votes
6answers
64k views

mysql server start failed

I am running ubuntu server. When I tried to login to mysql(which was running),I got the following error ERROR 2002 (HY000): Can't connect to local MySQL server through socket ...
28
votes
1answer
79k views

How do I add a network printer in Ubuntu 12.04?

I know the name and the IP address of a network printer, but I can't seem to be able to search by IP address or name. Ubuntu developers love to move things around to make it difficult for users, so ...
8
votes
6answers
115k views

Can I make a bootable USB flash drive for Mac from Windows

The problem MacBook hard drive crashed and is ruined. I need to work on a music assignment on a program only available for Mac OS X and Ubuntu, and will not be able to get a new hard drive for the ...
104
15
votes
3answers
142k views

Enable graphics Card in Virtual Box

I recently brought a new laptop with following configuration Intel i5 2450 8 Gb DDR3 RAM Nvidia geforce gtx 520 1 GB card I had setup a Windows 7 virtual machine using VirtualBox. I want to use my ...
24
votes
2answers
73k views

How to read complete line in 'for' loop with spaces

I am trying to run a for loop for file and I want to display whole line. But instead its displaying last word only. I want the complete line. for j in `cat ./file_wget_med` do echo $j done result ...
36
votes
4answers
96k views

How to install an init.d script?

I am trying to install an init.d script, to run celery for scheduling tasks. Here is the steps I followed: copied the file celeryd and pasted it in folder /etc/init.d/ created a configuration file ...
1
vote
2answers
72k views

How to load Windows 7 from GRUB rescue

I had Windows 7 and Ubuntu installed on the same partition Some time later, decided to uninstall Ubuntu.So I booted Ubuntu,Changed the hd related to it to NTFS,I did NOT extended my main drive ...
21
votes
3answers
78k views

Update server php version to 5.4.10 via the command line

Im setting up a vps for the first time from scratch, the host has a one click LAMP installer which took out allot of the leg work, but running phpinfo(); i found im running 5.3.10. So id like to ...
64
votes
5answers
124k 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 ...
11
votes
2answers
62k views

cgi-bin not working

I reinstalled kubuntu 13.10, cgi-bin is not working. Apache downloads the cgi instead of executing it! I have the latest apache with cgi mod enabled. To 000-default.conf, I added these options: ...
104
15
votes
5answers
72k views

Very slow graphics performance after upgrade 12.04 => 14.04

I upgraded from 12.04 to 14.04 and the performance is extremely sluggish; windows open and close in slow motion. Presumably my graphics hardware has not been recognized by the system. I think that I ...
45
votes
8answers
98k views

Can't install ATI proprietary drivers in 12.10

I have a laptop with ATI Radeon 6770M HD Hybrid graphics card. In Ubuntu 12.04, I installed the fglrx driver through "additional drivers" and it worked. (I can even switch GPUs). But in the new Ubuntu ...
18
votes
2answers
83k views

How do I install ncurses header files?

I was trying to configure the kernel and I got the following error. Can somebody please tell me what should I do? root@nitr-desktop:/usr/src/linux# make menuconfig *** Unable to find the ncurses ...
107
7
votes
2answers
44k views

How to remove Gnome from Ubuntu Desktop 14.04

I need to use Ubuntu Desktop on my server for certain reasons because I can't use Ubuntu Server, but to make it more efficient I would like to remove the desktop environment and boot straight to the ...
42
votes
10answers
148k views

How to correctly remove OpenJDK/OpenJRE and set SunJDK/SunJRE as Default

Ubuntu seems to favour OpenJDK/JRE very much over Sun JDK/JRE. Even after I installed Sun JRE, JDK and plugin and spent some time plucking out OpenJDK-related packages, apt-get has installed them back ...
104
18
votes
4answers
129k views

How to reset the Xorg / xserver?

Xserver keeps crashing on my general user account both in Unity 3D and 2D. It doesn't do it on the guest account. That's why I want to reset / rollback everything xserver related, hoping this is ...
36
votes
1answer
84k views

Share wireless Internet connection through ethernet

I want to share the wireless Internet connection on my desktop with my old laptop, through ethernet. I have ticked the option "Make available to others" on both connections, on my desktop, but my ...
30
votes
9answers
117k views

How do I get permissions to edit system configuration files?

I can't seem to edit and save config files in the root system (eg: /etc/dhcp/dhcpd.config); it just says "permission denied" or the save option is blocked in the text editor. I'm pretty sure I'm a ...
25
votes
3answers
102k views

Can I install Ubuntu inside Windows?

Ubuntu 12.04 won't come with the Windows Installer (Wubi) pre-added. But is there any way to install 12.04 using Wubi?
12
votes
1answer
136k 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 ...
100
votes
1answer
117k views

How do I run specific sudo commands without a password?

On one particular machine I often need to run sudo commands every now and then. I am fine with entering password on sudo in most of the cases. However there are three sudo commands I want to run ...
9
votes
2answers
133k views

How do you run update-grub?

I went into Live CD and activated Terminal. Then, I typed gksu nautilus to gain temporary access to my root directory. Once the Manager window opened, I clicked on File System and navigated to the ...
31
52
votes
3answers
171k 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 ...
2
votes
4answers
91k views

How to create partitions in Ubuntu while installing?

I had Windows 7 crashed. So I wanted to install 12.04. While installing, I am not able to create a new partition after deleting all earlier partitions. I mean I am able to create but not able to ...
11
votes
6answers
110k views

Every command fails with “command not found” after changing .bash_profile?

I was updating my .bash_profile, and unfortunetly I made a few updates and now I am getting: env: bash: No such file or directory env: bash: No such file or directory env: bash: No such file or ...
23
votes
1answer
120k views

What is PATH environment variable and how to add it

I just installed picc-9.82.9453-linux.run from Microchip website, and at the end it asked me ==> NOTE: You may wish to add the following /usr/hitech/picc/9.82/bin to your PATH ...
34
votes
3answers
45k views

Flux for ubuntu 14.04 - possible?

Is it possible to make Flux work in ubuntu 14.04? If so, maybe you can share your knowledge or point me to a guide? (Flux is software which adjusts temperature of your display according to time of the ...
17
votes
5answers
109k 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 ...
79
11
votes
4answers
81k views

How can I install gstreamer 1.0 in Ubuntu 12.04?

I'm trying to install GStreamer 1.0 on Ubuntu 12.04, the default GStreamer that comes with Ubuntu 12.04 is gst 0.10. I could see that I could download the GStreamer 1.0 source from ...
104
14
votes
2answers
110k views

How to install the Boot-Repair tool in an Ubuntu live disc?

When the bootloader (GRUB) is broken, I cannot access neither Ubuntu nor Windows. I heard that an easy solution to fix this is to use the Boot-Repair tool from an Ubuntu liveCD (or liveUSB). What ...
21
votes
5answers
122k views

How do I start Nautilus as root?

I got problem with nautilus in Ubuntu 12.04 LTS when i run command "gksu nautilus /" password ask box appear and I type my super-user password , than password box is disappear and nautilus is not ...
21
votes
4answers
86k views

How to disable IPv6 on Ubuntu?

I disabled IPv6 on an Ubuntu box which has ssh and rsync running. But both of these are still listening on an IPv6 address. How should I fix this? root@box.com:~# sysctl ...
60
votes
4answers
102k 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?
35
votes
7answers
156k views

How can I uninstall software?

Seeing there are various ways to install on Ubuntu. What are the various ways to uninstall items? Which ways always work? How can I be sure something was uninstalled?
103
7
votes
4answers
93k views

sudo apt-get install (google-chrome-stable_current_amd64.deb) is not working

I was told that sudo apt-get install (package.deb) installs the software with all the dependencies too. I am trying install Google Chrome, but when I do this step, it generates the following error: ...
19
votes
3answers
110k views

How to let a VirtualBox guest (running Windows) access the Internet?

I have a VirtualBox virtual machine. The host machine runs Ubuntu. The guest (virtual) machine runs Windows XP. I googled this problem, and people claim that they fixed it by changing adapter type to ...
24
votes
1answer
76k views

How to completely remove Unity, and replace it with Cinnamon?

I installed Cinnamon 1.8 on Ubuntu 13.04, and now I would like to completely remove Unity and everything related to it, but I'd like to keep the programs, LightDM and Software Center. What packages ...
22
votes
2answers
77k views

Is this a correct way to enable htaccess in Apache 2.4.7 on Ubuntu 12.04

In almost every solution of "How to activate htaccess", they say that the /etc/apache2/sites-available/default file needs to be edited. But there isn't such file in Apache 2.4.7 I read somewhere ...
20
votes
11answers
96k views

Can I install Microsoft Office? If so, how?

I want to know how to install Microsoft Office (specifically, Microsoft Office 2010) in Ubuntu? I am a die hard fan of MS Office and I want to know if there is a way I can use it in Ubuntu.
22
votes
2answers
113k views

Install windows 7 through virtual box

I am using Ubuntu 12.04. I want to install Windows 7 on my system from a CD through VirtualBox. I searched the detailed tutorials through google but I did not find one that worked. So can some one ...
8
votes
5answers
80k views

How to install OneDrive on ubuntu 13.10 x64

I have Ubuntu 13.10 and I don't know how to install OneDrive on ubuntu 13.10 x64.
12
votes
4answers
86k views

How run a .jar file with a double-click?

I have a problem running .jar files by double-clicking them. When I go to the Properties dialogue I can't find Java--only Archive Manager in the list of programs. But java -jar somefile.jar opens the ...
112
10
votes
4answers
45k views

How do I fix a vboxdrv setup failure in VirtualBox?

So, I tried creating an OS with VirtualBox, and I got this error: Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission ...
62
votes
2answers
102k views

How can i install XFCE along side unity?

I would like to be able to install XFCE to run alongside unity so I can choose on startup which DE I use, without breaking any features of either DE. Following this: ...
86
30
votes
2answers
63k views

Where to place my local website starting with the 2.4.7 version of apache2?

I recently installed Ubuntu 14.04, then I installed lamp-server and placed my webpages in /var/www directory, but when I opened localhost in the browser there was nothing. I think that happened ...
54
votes
4answers
137k 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
4answers
50k views

Ubuntu 14.04 screen resolution too low (SiS 671 graphics card)

I just installed Ubuntu 14.04 but my screen resolution is set too low , i tried to add a new one but i keep getting . xrandr: Failed to get size of gamma for output default i tried : :~$ xrandr -q ...
15
votes
2answers
114k 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. ...
91
votes
10answers
151k views

How do I clear the DNS cache?

I just updated the DNS record (ns1, ns2, ns3.myhostingcompany.com) for a site I've got hosted, but I still get the domain registrar parking page. I'd like to see if the problem is Ubuntu's cached DNS ...