Greatest Hits

6
votes
4answers
74k 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: ...
20
votes
1answer
45k views

How to disable IPv6 in Ubuntu 14.04?

I am using Ubuntu 14.04. And I have done the following to disable ipv6. I have open /etc/sysctl.conf using gedit and paste the following lines at the end of sysctl.conf. ...
12
votes
4answers
101k 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 ...
33
votes
3answers
115k views

'chmod u+x' versus 'chmod +x'

What is the difference between chmod u+x and just chmod +x? I have seen a ton of tutorials that say to use u+x to make scripts executable. However, the u is not mentioned in the chmod help or ...
6
votes
3answers
31k views

Ubuntu can't detect wifi networks on macbookpro 13.3

I'm new to Ubuntu and Linux in general and I'm not sure how to go about setting up my wifi. It doesn't detect any networks. I'm using a late-2013 13.3" macbookpro with retina display, so it doesn't ...
16
votes
4answers
86k views

How to set Windows bootloader as default bootloader?

I have a Win 7/11.10 dual boot system with Grub 2 as the default bootloader. However, I want to make Windows bootloader the default bootloader (grub 'dos' like interface scrares the hell out of my ...
31
votes
3answers
80k views

How to set JAVA_HOME for OpenJDK?

How can we set JAVA_HOME environment variable for OpenJDK?
83
42
votes
5answers
32k views

Why was the virtualbox package removed from the 14.04 repository?

I'm having some problems trying to run my Windows XP virtual machine after upgrading to Ubuntu 14.04 today. When I tried to start it a message dialog was displayed saying that the kernel drivers ...
28
votes
4answers
94k views

How do I install GRUB on a RAID system installation?

I'm trying to setup and install Ubuntu on a RAID 1 setup. I have two disks, sdb and sdc. I've been following this guide https://help.ubuntu.com/community/Installation/SoftwareRAID which more or less ...
42
votes
9answers
73k views

How to tell Chrome what to do with a magnet link?

Right now Chrome throws its apron over its head and calls Firefox, which opens the link with rtorrent. What do I need to do to eliminate the Firefox step?
9
votes
3answers
56k views

Where is Firefox's plugins directory?

I know that there are extensive, "proper" methods for installing Firefox plugins. However, I would like to know where the folder is for linking shared-object (.so) files, such as libnpjp2.so and ...
52
26
votes
3answers
85k views

How do I install a VNC server?

I want to install some VNC server on my ubuntu 12.04. which one is the best / recommended? how do i configure it? all i want is to be able to connect my desktop computer through my laptop. i want ...
76
10
votes
3answers
60k 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 ...
27
votes
5answers
90k views

How to have my PHP Send mail?

I installed Ubuntu 11.04, LAMP using tasksel. I find that PHP mail() does not work. I suppose I need to enable it or something? How do I do that?
102
2
votes
1answer
46k views

Terminal: sudo: apt-get: command not found

This is my first post here, so let me be welcomed with a serious issue to be answered. Lately some really bad things have been happening with my computer, having to do with lack of icons and all kinds ...
7
votes
7answers
72k views

“Enable Wireless” option is disabled in network settings

I'm using Ubuntu 11.10 (dual booted with Windows 7) but I'm unable to access Internet wireless even though I can do so on Windows 7. The output for rfkill list all is given below: rfkill list all ...
25
votes
3answers
33k views

“Starting Wireless Hotspot…” but nothing happens

I was trying to create an WiFi hotspot for my android device. I used ap-hotspot to do so. I configured the ap-hotspot using sudo ap-hotspot configure Then I started ap-hotspot using sudo ...
24
votes
5answers
112k views

Create a new SSH user on Ubuntu Server

Just created a new virtual Ubuntu server and I'm in the process of hardening it for production use. I currently have a root account. I want to do the following: Create a new user (let's call them ...
8
votes
5answers
64k views

MicroSD card is set to Read-only state. How can I write data on it?

I have a MicroSD card reader in my notebook. When I insert a MicroSD memory card into it, I can't write any data on it - it's read-only. The same thing happens when I try to do it under root. And I ...
9
votes
1answer
66k views

configure: error: C compiler cannot create executables

I was trying to install rvm using \curl -L https://get.rvm.io | bash -s stable --ruby --autolibs=enable --auto-dotfiles. It worked fine until I got a configure error: Error running './configure ...
16
votes
7answers
59k views

PKG_CONFIG_PATH environment variable

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. What does this mean ?
4
votes
1answer
77k views

Trying to configure eth0 and eth1 but Failed to bring up eth1

Trying to do below on Ubuntu 12.04. Trying to configure eth0 and eth1, eth0 works fine, but failed to bring eth1. Below is the settings /etc/network/interfaces: auto eth0 eth1 iface eth0 inet ...
15
votes
6answers
50k views

SMBus/ BIOS error while booting Ubuntu 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 ...
2
votes
3answers
36k views

How to update OpenGL Driver on Ubuntu 14.04 LTS

I recently upgraded to 14.04, then I installed steam, and TF2. I get this error message, Anyway, I know I need to update my OpenGL Driver, my question is how do I do it? EDIT: I installed mesa and ...
10
votes
1answer
93k views

Moving folder and subfolder to another path

I need to move my folder with many subfolders to another path. I'm using putty and this is what I tried: MV -r fromflderpath tofolderpath What am I doing wrong?
12
votes
2answers
73k views

How to uninstall VirtualBox in 12.04?

Can anyone help me removed VirtualBox? By the way, I couldn't install some softwares, is it because it is a 64-bit version?
17
votes
6answers
45k views

Not able to execute a .sh file: /bin/bash^M: bad interpreter

I wanted to execute a shell script: -rwxr-x--x 1 root root 17234 Jun 6 18:31 create_mgw_3shelf_6xIPNI1P.sh I tried to do a standard procedure, but I am got this error: ...
11
votes
3answers
104k 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 ...
59
votes
5answers
96k views

How can I change the date modified/created of a file?

Is there a way to change the date when a file was modified/created (which is shown in Nautilus or with the ls -l command)? Ideally I am looking for a command which can change the date/time stamps of a ...
45
votes
8answers
115k views

How can I find my hardware details?

Is there any built-in software or terminal method allowing me to view the hardware profiles on my system? Windows equivalent of such a feature would be Device Manager.
29
votes
4answers
63k views

How to install an init.d script in ubuntu?

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 ...
3
votes
1answer
27k views

How to install driver for TP-Link TL-WN722N on Ubuntu 14.04?

Hi I am new to Ubuntu and Linux. As I am developing a WiFi product, I want to capture the WiFi traffic wirelessly with Wireshark. Having some searching in the web, I know that I can do that with a USB ...
12
votes
2answers
70k views

How to compile C++ source code (“iostream.h not found” error)?

I do not want to discuss about C++ or any programming language!I just want to know what am i doing wrong with linux ubuntu about compiling helloworld.cpp! I am learning C++ so my steps are: open ...
13
votes
3answers
83k views

How can I start in safe mode?

I did a clean install of Ubuntu 12.04 on an Acer AX1430G desktop. Everything went fine until I installed the additional ATI driver. When I reboot the computer, my monitor gives a "signal out of range" ...
4
votes
5answers
43k views

Ubuntu 14.04 installation with USB flash drive problem

I have problems while trying to install Ubuntu 14.04 using USB flash drive. I tried to create bootable usb flash drive with UnetBootin and startup disk creator but when I boot from flash drive I get ...
16
votes
3answers
51k views

What does 2>/dev/null mean…?

I want one or two line description about the following command line: grep -i 'abc' content 2>/dev/null
46
votes
3answers
96k views

How do I configure a new Ubuntu installation to accept ssh connections?

I just installed Ubuntu 11.04 (in a VM). How do I set it up to allow me to ssh into it? (Right now I get "ssh: connect to host x.x.x.x port 22: Operation timed out".)
89
19
votes
2answers
85k 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 ...
21
votes
2answers
50k views

ntpdate: no server suitable for synchronization found

My clock is off, so I would like to synchronize it using ntpdate. I tried several different NTP servers, but for some reason I always get the following error message: $ sudo ntpdate ntp.ubuntu.com 4 ...
32
1
vote
2answers
50k views

E: Some index files failed to download. They have been ignored, or old ones used instead after apt-get update

My /etc/apt/sources.list contained: nazar_art@nazar-desctop:/etc/apt$ cat source.list deb http://security.ubuntu.com/ubuntu precise-security main universe nazar_art@nazar-desctop:/etc/apt$ cat ...
14
votes
3answers
81k 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 ...
18
votes
3answers
91k views

I want to install libssl.0.9.8

I'm trying to install utorrent program, and when I execute the program I get ./utserver: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or ...
20
votes
4answers
73k views

How do I reset a lost password (using recovery mode requires me to type the password)?

I need to reset my password. I have followed these steps: How do I reset a lost Administrative (root) password? However, then I go to "root" or "netroot" recovery options, it tells me: Give root ...
34
votes
7answers
34k views

How Do I upgrade Docker

I type docker.io version, and get: Client version: 0.9.1 Go version (client): go1.2.1 Git commit (client): 3600720 Server version: 0.9.1 Git commit (server): 3600720 Go version (server): go1.2.1 Last ...
13
votes
3answers
78k views

How do you open a command line?

I want to set up trim for my OCZ VERTEX 4 SSD, but I have no idea how to do this even after reading the instructions. How do you even access the command line or run option to put the commands into ...
53
votes
7answers
85k views

How to automatically fetch missing dependencies when installing software from .deb?

I'm trying to install MySQL Workbench on my Ubuntu box (11.04). The website has a Ubuntu .deb available for download (for 10.10 and 10.04 so I chose 10.10). However, sudo dpkg -i ...
107
votes
11answers
110k views

How do I install Ubuntu to a USB key? (without using Startup Disk Creator)

If you are hurrying to reply, System → Administration → StartUp Disk Creator -- no, that's not what I'm talking about. I want to try Ubuntu 11.04's Unity without touching my existing Ubuntu ...
12
votes
2answers
81k views

What is the equivalent terminal command to ipconfig /all?

In windows I can use ipconfig /all and this displays all the info about my connection. In terminal using ifconfig does not and only supplies limited info. I can use network manager, but it would be ...
23
votes
9answers
85k 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
2answers
36k 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 ...