Greatest Hits

10
votes
3answers
38k views

How to defrag a disk? Type ext4

I've read many things but they don't work. I don't want any answer saying that there's no need because there is some not much but some!
30
2
votes
2answers
26k views

Installing Nvidia drivers on Ubuntu 12.04

So, I've been trying to run Steam on my computer (hp Pavilion dv7, Ubuntu 12.04), but I end up with the following error : Xlib: extension "GLX" missing on display ":0". After some research, I ...
6
votes
3answers
17k views

Mac OSX update broke booting Ubuntu

I have a mac that is running a dual boot with OSX and Ubuntu. I am using rEFIT. I just updated my OSX to the new OSX Mavericks, but when i restarted my computer and tried to enter Ubuntu from rEFIT I ...
1
vote
1answer
7k views

Problems with Ubuntu 14.04 unity desktop after upgrade

I have been facing multiple problems after upgrading to ubuntu 14.04. All the problems are related to the desktop interface. After upgradation, I have been unable to change my wallpaper. Firstly ...
3
votes
1answer
8k views

Ubuntu 14.04: nvidia drivers cannot be installed

I have an Asus laptop with a nVidia card. lspci tells me: 01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce 610M] (rev a1) I did a fresh install of Ubuntu 14.04 LTS (64-bit ...
7
votes
1answer
54k views

How to start/stop iptables in Ubuntu 12.04?

I am using Ubuntu 12.04 . while learning some new things about iptables i cant through this . see at the image . while i am trying to start ,its saying as root@badfox:~# iptables -L -n -v Chain ...
10
votes
2answers
23k views

SMBus/ BIOS error while booting Ubuntu 13.04 in VirtualBox

I am trying to boot Ubuntu 13.04 in VirtualBox, but every time I boot, I get an error that says "SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr". This happens right after I ...
37
votes
4answers
48k 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 ...
4
votes
3answers
36k views

How to turn on Network Discovery and Share between computers with Samba

I have an Ubuntu server. Accessing the server from Windows clients works fine. But the server is not listed among the available PCs on Windows client's Network overview. For windows machines it ...
1
vote
2answers
28k 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 ...
2
votes
2answers
27k views

How to mount a hard disk as read-only from the terminal

I have searched google, I've searched this website, I've searched using various terms, phrases, using quotes and without quotes and I cannot find the answer to this seemingly easy thing to do. How do ...
14
votes
3answers
76k views

How can I make “rc.local” run on startup?

I have a script that I would like to run when my system starts. I have put it on "rc.local", but it doesn't work. How can I enable it to run on startup? Thanks!
2
votes
1answer
31k views

Apache2: Forbidden You don't have permission to access /dir/ on this server

I can access localhost but not the sub directories index.html My default conf looks like: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www <Directory /> ...
19
22
votes
3answers
40k views

In SSH, how do I mv to my local system?

Probably bad searching/not knowing the terminology, but: I've managed to ssh into my webhost's directory for me, and tar the webapp I want to back up and download. But when I try to mv to ...
38
17
votes
3answers
45k views

How do I install qemu?

How do I install the qemu command? I type qemu and press tab and I get a list of several binaries installed. qemu-alpha qemu-arm ... qemu-x86_64 but no qemu. I type man qemu and it returns the ...
3
votes
2answers
6k views

Why is my Apache not working after upgrading to Ubuntu 14.04?

[aman@aman-Inspiron-1440:~$ apache2 [Mon Apr 21 17:36:38.019213 2014] [core:warn] [pid 4134] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined [Mon Apr 21 17:36:38.019345 2014] [core:warn] ...
6
votes
4answers
60k 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 ...
14
votes
1answer
10k views

How is Trim enabled?

I have heard, that Ubuntu 14.04 will have Trim enabled by default. How will this be done? By adding a discards option to the ext4 mount options or by running a cron-job? Will the default options for ...
7
9
votes
1answer
59k 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 ...
11
votes
4answers
36k views

How do I install Myunity on 12.10?

Basically as is the title how do you install Myunity on 12.10? I've tried adding the repository ppa:myunity/ppa and performing: sudo add-apt-repository ppa:myunity/ppa sudo apt-get update sudo ...
4
votes
4answers
28k views

In VirtualBox, how do I set up host-only virtual machines that can access the Internet?

In setting up virtual machines with VirtualBox, I often want the following characteristics vm has a static ip host can access vm without port forwarding vm can access the internet I can move ...
3
votes
7answers
28k views

How to install Nvidia 319.12 driver on an optimus system

I have a Samsung NP550 system with Nvidia Geforce GT650M. I have installed bumblebee 3.2.1 and "nvidia-304, 304.88, 3.8.0-19-generic" drivers are loaded for me. However i would like to update to ...
3
votes
6answers
53k views

NVIDIA Graphics - resolution problems with new 12.04 LTS installation

I've been trying to install Ubuntu 12.04 LTS on my desktop most of the day. The desktop uses a NVIDIA GEFORCE 9800 (GT I think) graphics card. I am unable to set the correct resolution (1680 x 1050) ...
8
votes
2answers
8k views

Do I need to take action on a 10.04 LTS server to avoid the heartbleed vulnerability?

From the heartbleed.com website, I see that OpenSSL 0.9.8 is NOT vulnerable, which is the version that is available on 10.04. That should mean that actually having stuck with 10.04 until now has ...
4
votes
4answers
21k views

How to compile a python file?

I have started learning python and i'm also a new user to Ubuntu. I need to know the ways of compiling the .py files.......I have tried with the command python "hello.py" what are the other ways of ...
29
votes
1answer
46k views

How do I search for available packages from the command-line?

I have successfully installed some packages using the command line 'sudo apt-get install ...' when I have known in advance that those packages are available. But how can I search for or get a list of ...
6
votes
3answers
36k views

How to mount an Android Jelly Bean phone if there's no option?

I can't mount the LG Optimus P700 (running the Android Jelly Bean OEM image) on my Ubuntu 12.10. Other phones always have a selectable "Mass Storage" menu, but this one has no menu option for it when ...
8
votes
2answers
45k views

Script doesn't run via crontab but works fine standalone

I have a script that reminds me to restart my computer if uptime is more than, say 3 days (although its set to 0 days now just to check if the script is running as my computer has been up only over a ...
35
9
votes
3answers
24k views

How to disable IPv6 permanently?

How can we disable IPv6 system wide via terminal commands? I've read editing /etc/modprobe.d/aliases and replacing: alias net-pf-10 ipv6 with: alias net-pf-10 off alias ipv6 off Is this safe ...
12
votes
4answers
27k views

How to install openjdk-7-jdk on Ubuntu 12.04 without dragging in unrelated GUI and sound packages?

Ubuntu 12.04.2 LTS What's going on here? # apt-get install openjdk-7-jdk Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be ...
3
votes
1answer
40k views

How to install a `.deb` package, when the install button is disabled?

I am trying to install this deb package http://packages.ubuntu.com/precise/utils/b43-fwcutter but whenever I doubleclick it the install button is disabled. I don't have internet connection.
3
votes
2answers
37k 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 ...
10
votes
4answers
49k views

How do I share my Wi-Fi via Wi-Fi Direct on my laptop?

On Windows, my laptop's wireless card had the ability to share its own internet by Wi-Fi Direct. I could connect by laptop to other devices via Intel's My Wi-Fi program, which I believe uses Wi-Fi ...
3
votes
6answers
7k views

Lost Windows 7 in GRUB after installing Ubuntu 14.04

So today I've decided install the new 14.04 (64bit) on top of the 13.10 (32bit) Ubuntu that I used to have dual boot with Win 7. So it gave me number of options to install the 14.04, one of them was ...
8
votes
2answers
55k 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 ...
3
votes
2answers
62k views

How to set up VirtualBox Bridged Network on Windows 7 Host?

I have virtualbox running on a Windows 2008 server, with a guest running ubuntu 10.04. The ubuntu guest is given a static IP of 192.168.1.4, which also has openssh installed. The guest has bridged ...
10
votes
3answers
41k views

How do I boot into the console and then launch the Ubuntu desktop from it?

At the Ubuntu login page I have to hit Ctrl+Alt+F1 to be able to login as an user using the command line. But how do I get to the command line first and then start the Ubuntu desktop from it?
9
votes
3answers
40k views

How to set static routes in 12.04 Server

I have used Ubuntu since Ubuntu 8.10; today I'm working with Ubuntu 12.04 Server. I am having difficulty keeping static routes on booting. I would usually put the route commands /sbin/route add ...
8
votes
2answers
44k views

How to install Radeon Open Source Driver?

I have an MSI Radeon HD 7850 card. MSI provide no Linux support, and the AMD driver gives me an Unsupported Hardware watermark that does not show up in screenshots. I uninstalled the proprietary ...
6
votes
4answers
54k 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 ...
31
6
votes
2answers
7k views

suspend is not working after updating to Ubuntu 14.04 from 13.10

I am not able to put my laptop to suspend(sleep) mode,If I click on suspend it just locks the screen and nothing happens ? I updated my previous version of UBUNTU from 13.04 to 13.10 then to 14.04 ...
41
votes
3answers
47k 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 ...
36
votes
6answers
57k views

How to split larger files into smaller parts?

I have a large file (8GB for Example). How can I split it into multiple parts, let's say 3 equal parts, and after that how do I integrate them later?
4
votes
2answers
21k views

How to enable Moonlight/Silverlight 5 on firefox?

I have installed moonlight from this post here: http://askubuntu.com/a/327862/188878 the problem is, the application/website I am trying to use "requires" silverlight 5. is there anyway to trick the ...
2
votes
2answers
32k 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.
15
votes
2answers
7k 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 ...
9
votes
2answers
30k views

Does Ubuntu-GNOME 13.04 Contain Gnome Classic Session?

If I understand right, Ubuntu-GNOME will be using GNOME 3. I was wondering if it also included Gnome Classic as well, or if I would have to go download it?
0
votes
3answers
30k views

Can I play League of Legends in Ubuntu?

I want to play League of Legends (LOL) on my laptop which runs Ubuntu 12.04. Is there any way to play that game on my Ubuntu laptop?
36
votes
10answers
7k views

Can a Windows virus transfer to Ubuntu?

Before I removed Windows 7 from my computer and replaced it with Ubuntu, I had over 257 threats that never would go away. I don't know if the trojan horse I had also could transfer over to Ubuntu. Can ...
31
6
votes
4answers
7k views

How to enable exFAT in Ubuntu 14.04

I just installed Ubuntu 14.04 and I can't mount my exFAT HDD. I get the following error: Unable to access “SeagateHDD” Error mounting /dev/sdb1 at /media/me/SeagateHDD: Command-line `mount -t ...