Greatest Hits

28
votes
1answer
119k views

My WiFi adapter is not working at all, how to troubleshoot?

On this site I see hundreds if not a thousand questions being asked about issues with a Wireless LAN adapter not being detected/recognized by Ubuntu. Some mainstream adapters appear to be utterly ...
8
votes
6answers
119k 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 ...
109
43
votes
10answers
161k 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 ...
105
38
votes
3answers
146k views

How do I enable the “multiverse” repository?

I keep seeing places refer to the "multiverse" repository as a place I can get software, how can I enable this repository? Please specify how to do this graphically and via command line.
26
votes
3answers
127k views

How do I create a script file for terminal commands?

In Windows I can write a file containing commands for cmd (usually .cmd or .bat files). When I click on those files it will open cmd.exe and run them commands the file contains. How would I do this ...
22
votes
5answers
112k views

Grant a user permissions on www-data owned /var/www

I have a simple web server setup for some websites, with a layout something like: site1: /var/www/site1/public_html/ site2: /var/www/site2/public_html/ I have previously used the root user to ...
19
votes
5answers
84k views

Where can I find more Unity themes?

This might already be answered, but I can't find it. I am getting a bit bored of the traditional purple feel of unity and I would like something new. Where can I find more Unity themes? I have ...
23
votes
2answers
72k views

How to install KDE along Unity?

I have just installed the latest Ubuntu 14.04 and I would like to install KDE along side my Gnome/Unity that I have now. How can I do this? Thanks!
92
38
votes
4answers
62k views

Why doesn't running “sudo shutdown now” shutdown?

When I issue the following: sudo shutdown now ..my newly commissioned Ubuntu 14.04 server doesn't shutdown. It stops with the following message: * Stopping System V runlevel compatibility Give ...
9
votes
4answers
77k views

How to install PhpStorm in Ubuntu 14.04 LTS?

I have a JetBrains PhpStorm 7.1 and I want to install it in Ubuntu 14.04 so I installed wine for windows compatibility and I run PhpStorm-7.1.exe then it was successfully installed (I guess). But when ...
59
votes
3answers
113k views

mv: Directory not empty

I want to move content of a directory within another directory with the same folders. Here's an example: I have ./backup wich have the directories base and test. Now I want to move these directories ...
92
votes
2answers
139k views

How do I keep track of failed SSH log-in attempts?

I'd like to see if somebody has been trying to log-in by brute-force into my Ubuntu 12.04 server over SSH. How can I see if such activities have been taking place?
72
votes
2answers
114k 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, upon startup, which DE I use, without breaking any features of either DE. Following this: Xubuntu 14.04 Trusty Tahr: a ...
94
27
votes
4answers
180k 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?
35
votes
4answers
122k 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 ...
96
57
votes
11answers
119k views

How to find and change the screen DPI?

I am trying to find and then change the screen DPI (dots per inch) setting in 12.04 and 12.10. However, I can't seem to find any app or config file that can do this. Is there any app or conf file for ...
93
19
votes
3answers
99k views

How do I mount a CIFS share via FSTAB and give full RW to Guest

I want to create a Public folder that has full RW access. The problem with my configuration is that Windows users have no issues as guests (they can RW and Delete), my Ubuntu client can't do the same. ...
5
votes
4answers
69k 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 ...
33
votes
5answers
160k views

How to check the information of current installed video drivers?

My CPU usage is high when I do trivial things such as scrolling through a PDF file. So I think my video driver is not properly installed. I want to confirm that by checking the information of my ...
100
105
votes
7answers
94k 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
7answers
101k 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 ...
30
votes
5answers
113k views

How to make partitions mount at startup in ubuntu 12.04

How do you make HDDs and partitions mount at startup with the ubuntu system? I always keep my media and data files on separate partitions - one 2tb HDD and a 400 odd gig partition. I have been ...
24
votes
5answers
125k views

How to set up remote desktop sharing through SSH?

Is there a way to view (and control) a remote desktop through SSH? I will not have physical access to the remote host machine.
31
votes
2answers
81k views

How to setup OpenVPN Client

I'm trying to setup OpenVPN using NetworkManager. The GUI seems buggy and unresponsive. Are there any other tools for setting up a VPN client?
13
votes
4answers
84k views

Why am I getting “Permission denied: make_sock: could not bind to address” when starting Apache2?

I can stop it using /etc/init.d/apache2 stop But when I want to start it again using: /etc/init.d/apache2 start I get this error: Starting web server apache2 ...
58
votes
6answers
76k views

What does “TTY” stand for?

On the Wikipedia's article (Computer terminal) under the hard copy terminals section of the article it says this "Early user terminals connected to computers were electromechanical teleprinters or ...
71
27
votes
1answer
142k views

The program 'curl' is currently not installed

I am trying out Meteor http://meteor.com/examples/leaderboard I have to use CURL, which I am familiar with on Windows. Now I try to install it on Ubuntu 12.04. But i get these errors: kevin@ubuntu:...
46
35
votes
4answers
150k views

How to find owner and group of a directory?

How can I find out owner and group of a directory in Ubuntu?
23
votes
3answers
84k 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 ...
5
votes
3answers
52k views

How can I fix E: Sub-process /usr/bin/dpkg returned an error code (2)?

I received this error after trying to download the icedtea plugin. After trying sudo apt-get upgrade I got the same exact error: Preconfiguring packages ... dpkg: unrecoverable fatal error, ...
17
votes
3answers
107k views

Using scp to copy files from remote to home machine

This is probably a simple error, but I can't work it out. My computer hostname is Felix (hostname -f returns Felix) I am trying to move a file from my university account to my home computer using scp. ...
22
votes
5answers
94k 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 net.ipv6.conf.all....
45
votes
3answers
94k views

Setting JDK 7 as default

four@twenty:~$ file /etc/alternatives/java /etc/alternatives/javac /etc/alternatives/java:symbolic link to `/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java' /etc/alternatives/javac:symbolic link to `/...
5
votes
1answer
121k 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 ...
16
votes
5answers
80k 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 ...
46
votes
7answers
127k views

Bash remove first and last characters from a string

I have a string like that: |abcdefg| And i want to get a new string called in someway (like string2) with the original string without the two | at the start and at the end of it so that i will ...
21
votes
4answers
117k views

Bash: ./filename : Cannot execute binary file

I couldn't execute a fortran compiled code in ubuntu 11.10 32 bit. Error message is bash: ./filename : Cannot execute binary file. I've installed the gcc and gfortran libraries too. Could anyone ...
26
votes
6answers
112k views

How to determine if a string is a substring of another in bash?

I want to see if a string is inside a portion of another string. e.g.: 'ab' in 'abc' -> true 'ab' in 'bcd' -> false How can I do this in a conditional of a bash script?
27
votes
5answers
78k views

How to watch videos in Amazon Prime Instant Video?

Today I upgraded from Ubuntu 12.04 to Ubuntu 13.10. I am not able to watch any videos in Amazon Prime Instant Video. I am getting this message: An error occurred and your player could not be updated....
97
33
votes
4answers
114k views

How to configure ADB access for Android devices?

I'm using Ubuntu 12.10 and I have installed Android SDK, set it's path in my user .bashrc and it works. The problem is that my phone requires adb to be ran by root for permissions, but running adb ...
34
votes
2answers
129k views

Proper fstab entry to mount a samba share on boot?

I am a little confused on the proper fstab entry for a samba share in Ubuntu 12.04 I can get the drive to mount manually by using: sudo mount -t cifs //192.168.2.2/raid_drive /mnt/homeserver -o ...
49
votes
3answers
85k views

How to exclude multiple directories with rsync?

I am trying to backup my home directory using rsync, and I want to exclude some of the directories that contain junk. I want to specifically exclude /home/ben/.ccache and /home/ben/build. ...
10
votes
3answers
138k views

How do I change directories in the terminal, and know which directory I'm in?

I am following the directions @ Ubuntu community Help; however, I am still confused about a few things. I researched it & found this post: using the terminal to change directory, but it's above me ...
24
votes
4answers
130k views

How to set static routes in Ubuntu 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 -...
-1
votes
3answers
13k views

UBUNTU 16.04 ERROR INSTALLING GRUB

My computer has Windows 10 installed, and when I try to install Ubuntu 16.04, it does not detect Windows 10, nor does it detect Windows 10 in my partitions list. On the final step of the installation,...
8
votes
4answers
55k views

How to export Google Chrome bookmarks

I have got Google Chrome (Version 41.0.2272.118 (64-bit)) and I would like to export my bookmarks without having to sync anything with any online accounts. I read here that the bookmarks are stored ...
70
votes
3answers
22k views

google-chrome-stable keeps asking if it should be set to default

Since the Ubuntu 15.10 upgrade, google-chrome-stable keeps asking if it should be set as default browser, even though it already is. I tried to reinstall it, but that didn't help. Any ideas?
24
votes
3answers
101k views

How to configure Apache to run PHP as FastCGI on Ubuntu 12.04 via terminal?

I'm relatively new to the world of unix command line web server management/administration. Many hosts with control panel administration options allow you to change how PHP is run with a simple option....
22
votes
3answers
10k views

Wifi doesn't work after suspend after 16.04 upgrade

This particular version of the "doesn't work after suspend" came after upgrading to 16.04. It seems that the upgrade includes a Wicd applet (added to Metacity Classic Gnome task bar alongside regular ...
45
votes
9answers
108k views

How can I use a .ovpn file with Network Manager?

I have a .ovpn file with my VPN config - it works fine when I do sudo openvpn --config ~jrg/Documents/vpn-config.ovpn in the terminal, but I'd like to use Network Manager. How can I do this?