Greatest Hits

30
votes
2answers
73k 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 ...
101
votes
10answers
48k views

What is the difference between Terminal, Console, Shell, and Command Line?

What is the difference between Terminal, Console, Shell, and Command Line?
45
votes
4answers
138k views

How to detach a screen on a terminal?

Maybe this is a dumb question. I know how to start a screen or how to list different screens. screen -ls or to attached.. There are screens on: 2477.pts-0.server1 (Detached) ...
22
votes
5answers
92k 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 ...
20
votes
5answers
91k views

How to clean /tmp?

rizhas@rizhas-laptop:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda7 67G 58G 5,2G 92% / none 4,0K 0 4,0K 0% /sys/fs/cgroup udev 1,5G 12K ...
71
16
votes
5answers
78k 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 ...
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 ...
97
19
votes
5answers
75k 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 ...
22
votes
3answers
82k 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 ...
29
votes
1answer
111k 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 ...
23
votes
7answers
68k views

How to avoid prompt password for sudo?

I know I can go root (super user) via the su command but I have to authorize it after firing the commands. Is there a way I can go root and authorize (with password) in one line
8
votes
1answer
118k 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 /> ...
60
29
votes
2answers
109k views

Copying multiple specific files from one folder to another

I have a large folder of pictures (thousands), and I have a long list of files, by exact file name, that I need to copy to another folder. I want to know if there is a way I can select several ...
17
votes
3answers
59k views

How do I upgrade PHP version to the latest stable released version?

I'm using a system running on Ubuntu 12.04 LTS 64-bit OS. I'm currently using following PHP version on this machine: Command used to get the below info at terminal : php -v Details I got are as ...
9
votes
3answers
66k views

permission denied for root@localhost for ssh connection

I just installed Ubuntu 14.04 and LAMP on that. Then, I wanted to configure my server, so tried out This tutorial. When I give the command: ssh root@localhost I get : Permission denied, please try ...
54
votes
3answers
106k 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 ...
77
votes
4answers
131k views

How do I check the SHA1 hash of a file?

How do I check the SHA1 hash of a file?
103
34
votes
4answers
52k views

error in installing mongo in virtual machine

I try to install mongo using mongo documentation: Install MongoDB on Ubuntu no errors were mentioned during the installation. But when I run the mongo command following error was displayed in the ...
35
votes
4answers
54k 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 ...
53
votes
11answers
112k 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 ...
89
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 ...
5
votes
1answer
116k 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 ...
89
votes
2answers
131k 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?
33
votes
5answers
151k 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 ...
97
12
votes
4answers
80k 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 ...
32
votes
3answers
85k views

“autoreconf: not found” error during making qemu-1.4.0

I was ./configure'd the qemu-1.4.0 and during make it cause: (cd /home/amin/Simulate/qemu-1.4.0/pixman; autoreconf -v --install) /bin/sh: 1: autoreconf: not found make: *** ...
107
38
votes
3answers
135k 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.
22
votes
5answers
118k 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.
25
votes
4answers
170k 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?
46
votes
3answers
109k views

How to force Wine into acting like 32-bit Windows on 64-bit Ubuntu?

When installing Wine on 64-bit Ubuntu 12.04, both 64-bit support and 32-bit support get installed. If I run wine foo.exe where foo.exe is a 64-bit-aware installer, it thinks it's on 64-bit Windows. ...
103
21
votes
4answers
111k 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 ...
8
votes
2answers
48k views

Can I install Kali tools on Ubuntu?

I want to know if there is any way to install Kali tools like sqlmap, nikto, john, aircrack-ng, ... on Ubuntu 12.04? If yes, then how should I proceed?
29
votes
5answers
100k views

How to find all the used IP addresses on a network

In my work there is a lot of computer and I want make a joke. I can close computer over the network but finding IP addresses is hard to me. How can I easily find all online IP adresses from ...
3
votes
3answers
61k 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 ...
19
votes
3answers
94k 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. ...
7
votes
5answers
92k 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 ...
16
votes
3answers
99k 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. ...
23
votes
3answers
95k 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 ...
34
votes
4answers
114k 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 ...
87
14
votes
3answers
87k views

Upgrade OpenSSL on Ubuntu 12.04

I wanted to upgrade OpenSSL to 1.0.1 on an Ubuntu 12.04 system. I have noticed that an apt-get upgrade openssl does not end up upgrading OpenSSL. Is the newer OpenSSL supported on Ubuntu? I have also ...
10
votes
3answers
130k 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 ...
44
votes
7answers
121k 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 ...
29
votes
2answers
72k 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?
26
votes
1answer
131k 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: ...
42
30
votes
3answers
107k 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 ...
96
votes
5answers
86k 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?
43
votes
3answers
88k 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 ...
16
votes
11answers
118k views

Access files on Samsung Galaxy S3 external sd card?

I have a Samsung Galaxy s3 running the stock Samsung ROM and I'm trying to transfer files - videos, photos, music and downloads, from my handset to my system via USB running Ubuntu 12.04. I have ...
80
15
votes
5answers
68k views

HowTo: Upgrade java on Ubuntu 14.04 LTS?

I recently installed Ubuntu 14.04 on my computer and now my Java Version is not updated. I have Java so I dont need to install - just update the current version. Can someone please tell me the ...
53
7
votes
5answers
39k views

No audio after updating to 15.04

Missing sound after updating form 14.10 to 15.04, installing "Ubuntu restricted extras" doesn’t help. Is there a way fix this or easy way to rollback to 14.10?