Tagged Questions
Questions related to Ubuntu Server, and server-related packages.
10
votes
5answers
5k views
What is the proper way of creating installation media from Ubuntu iso?
This is the third time I've tried to install Ubuntu Server 14.04.03 64-bit on the same laptop, and each time it caused different problems.
Each time I wrote the same iso image to a USB flash drive by ...
151
votes
13answers
972k views
How do you run Ubuntu Server with a GUI?
Trying to run a Ubuntu server for the first time... But everything is in a terminal. Is there a way to switch to a GUI? Also, the server doesn't have direct access to the internet... So, is there a ...
411
votes
18answers
688k views
How do I fix my locale issue?
I am getting this message every time I do something like starting or stopping a service.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
...
154
votes
18answers
287k views
How do I free up disk space?
My Ubuntu cloud server has left only 900MB of disk space.
I'll just empty the directory /tmp and wondering if there is any other location to clean up.
19
votes
2answers
41k views
How do I install OpenStack?
How do I install OpenStack? Is there an easier way other than official installation instructions?
35
votes
5answers
128k views
Ubuntu 14.04 Server - WiFi WPA2 Personal
I just installed Ubuntu 14.04 Server and cannot get wifi configured correctly to work with WPA2 personal and could use some help.
There was a simple wizard during install where I selected my SSID ...
56
votes
3answers
148k views
How do I change mirrors in Ubuntu Server from regional to main?
I have a Lucid Server (10.04) set up and I would like to change the mirror from US (or any other country) to the Main Ubuntu Mirror.
For example my two first entries in sources.list are:
deb http://...
62
votes
11answers
130k views
How do I install and manage RPMs?
I have a burning desire to install RPMs onto my Ubuntu installation - is this possible? Can I use Yum - or another RPM Package Management tool?
364
votes
12answers
1.0m views
Apache error “Could not reliably determine the server's fully qualified domain name”
When I restart my Apache server using the command
sudo /etc/init.d/apache2 restart
I get the following error:
Restarting web server apache2
apache2: Could not reliably determine the server's fully ...
147
votes
6answers
203k views
How to add a PPA on a server?
The server version of Ubuntu does not have the add-apt-repository command. How can I add a Personal Package Archive (PPA) to the server without this command?
67
votes
4answers
331k views
How to setup a restricted SFTP server on Ubuntu?
I would like to know how to set up root, sudo, sftp-only user accounts which won't be required public key authentication at log in. I would also like to know how to set up sftp-only users' home ...
12
votes
10answers
45k views
Wireless Network in Virtualbox
I just installed my first Ubuntu Server (12.04) instance and immediately ran into the following problems:
Running apt-get install or update fails (see below)
Running ifconfig produces peculiar IP ...
3
votes
3answers
21k views
Correct way to apply patches to your kernel?
I am following the instructions located here to setup my server. It states that I have to apply a patch which I've downloaded onto the machine. My question is, the article says to use the following ...
181
votes
5answers
224k views
What is LVM and what is it used for?
As a Linux/Ubuntu newbie, what is LVM and what is it used for?
In terms of a web server installation, what benefits does it provide?
Would you recommend using it?
24
votes
4answers
54k views
How to set up Ubuntu as wireless accesspoint?
How can I set up my WiFi to be used as wireless access point on Ubuntu Server?
I have a local Ubuntu Server, it has a wireless card in it (802.11a/b/g/n) and I really want to set it up as an 802.11n ...
22
votes
1answer
10k views
What are the differences between Desktop, Server, and Alternate Installs?
I am trying to figure out what the exact difference is between the 3 different install Disks.
Like what packages are different and such.
For Example:
- The server disk doesn't install gnome by ...
12
votes
7answers
35k views
How do I upgrade MySQL to 5.5, am I best off waiting for it to be available through apt-get?
How would I go about upgrading MySQL to version 5.5 on Ubuntu Server 9.10?
Would I be better off waiting for it to be an easy $ sudo apt-get install mysql-server job?
I'm also unsure as to which ...
1
vote
1answer
971 views
When does Ubuntu 16.04 use /etc/apache2/ssl/apache.crt?
I have some Ubuntu 16.04 server running and set up one vhost in apache2 which uses (or should use) ssl.
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin myemail@...
20
votes
4answers
153k 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 ...
25
votes
7answers
84k views
What DLNA server to choose? [closed]
What DLNA server program should I choose and how do I set it up?
It is an absolute requirement that it doesn't take a lot of resources since it will be running on a 500 MHz machine.
There seems to be ...
199
votes
10answers
378k views
How can I monitor the memory usage?
I have used top to see the memory usage at the moment. But I would like to monitor the memory usage over a period of time. E.g start monitoring and then execute a few commands, and final stop the ...
86
votes
7answers
218k views
How can I see what ports are open on my machine?
I would like to see what ports are open on my machine, e.g. what ports my machine is listening on. E.g. port 80 if I have installed a web server, and so on.
Is there any command for this?
100
votes
7answers
212k views
Changing TTY keyboard layout on a server?
I use 12.04 Server in command line mode (no X installed), and I would like to change the keyboard layout. How can I do this?
80
votes
1answer
540k views
How do I configure my DNS settings in Ubuntu server?
According to this page it appears to be simple. However, /etc/bind does not exist on the default installation of Ubuntu 12.04.3 LTS server.
So, without installing any further software, how can ...
69
votes
8answers
177k views
How do I get resolvconf to regenerate resolv.conf after I change /etc/network/interfaces?
After updating /etc/network/interfaces with something very similar to below, how do I get /etc/resolv.conf to update? I tried (as root) resolver -u, service networking restart but they didn't work. I ...
26
votes
4answers
62k views
How can I use Kernel 3.19 in 14.04 now?
So I'm rebuilding my storage server. For stability, I want to use Ubuntu server 14.04 LTS as the OS. However, I'm planning to use Btrfs with RAID 5, and this has been greatly improved in kernel 3.19. ...
23
votes
4answers
45k views
How can I install Ubuntu on a device without a screen nor a keyboard?
This is tricky. I would like to install Ubuntu on a machine that is intended to work as server, and for some reason I do not have an option to connect a screen to it.
I expect this may be similar to ...
26
votes
1answer
111k views
Can't SSH in as root
I'm using the default installation of openssh-server for my Ubuntu 14.04 server. I can connect through the console as root like normal, with my username and password. When I try to SSH with the same ...
20
votes
10answers
14k views
Long wait time on login
When I log in on my server I get this:
No mail.
Last login: Fri Nov 5 14:22:45 2010...
then I must wait for 5 sec and then is ready...
wolfy@ubuntu-server:~$
Is this wait time normal or should I ...
22
votes
3answers
21k views
Access server by host name?
I have a mixed network with mostly Windows machines, a Mac, and a few Linux boxes. There is no DNS or WINS server, and adding one is outside of my control. If I put a clean install of 10.04 desktop ...
19
votes
3answers
6k views
What is the easiest way to strip a desktop edition to a server edition?
We have installed Ubuntu desktop edition on our development server. Now that we have it in a data center we would like to strip it down to a server edition.
Is there an easy way of doing so rather ...
134
votes
5answers
249k views
Chkconfig alternative for Ubuntu Server?
I've become very accustomed to managing service startups on Redhat/RHEL platforms using chkconfig though that doesn't appear to be the Debian/Ubuntu way - How do I update runlevel information for ...
37
votes
7answers
220k 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 step-by-...
29
votes
2answers
25k views
How can I force Ubuntu to boot on a stuck boot menu?
I have Ubuntu Server 11.04, but it is headless (no monitor). The only way I want to be able to access it is remotely via SSH. But, sometimes, say after a power loss, when the server restarts, it will ...
9
votes
4answers
97k views
How do I use Ubuntu Server as file server?
In our company we would like to install Ubuntu server for file sharing, is it possible to use Ubuntu as file server for windows based client Operating systems.
what is the procedure to make Ubuntu ...
26
votes
10answers
66k views
How to check if Ubuntu Desktop or Server is installed?
I have a shared hosting. I have access to shell. The OS is Ubuntu, and I want to check whether it is the server version or desktop version.
When I log in through shell, it shows following information:...
18
votes
5answers
91k views
How to downgrade from PHP 5.4 to 5.3
Recently I upgraded PHP to 5.4, but it seems to be failing on me because APC isn't working with it, however this gave me no choice but to downgrade to 5.3, how can I do this?
I executed apt-get ...
9
votes
3answers
8k views
Updating Ubuntu server from 8.10 to 10.04
I have a VPS that has Ubuntu 8.10 Server Edition installed on it and I would like to upgrade it to 10.04. What would be the correct way of doing this? I only have ssh access to it and a "Start/...
65
votes
4answers
49k views
How can I check if automatic updates are enabled?
I want to be sure if automatic updates are enabled on Ubuntu 12.04 server.
How exactly can I check this?
And how can I disable automatic updates if it's enabled?
38
votes
6answers
44k views
how to stop apache2, mysql from starting automatically as computer starts?
My os is 11.04.
I have apache2 & mysql installed.
How to stop apache2, mysql from starting automatically as computer starts?
34
votes
4answers
56k views
Turn off monitor using command line
I am runnning Ubuntu Server on my laptop. There is really no reason for the screen to be on. I have been trying to use this command to turn the screen off:
sleep 1 && xset dpms force off
The ...
31
votes
7answers
20k views
Basic Ubuntu FTP Server
I would like to setup a basic FTP server on my Ubuntu Server install. I have been playing with VSFTPD, but am having issues getting the server to allow me to create directories and copy files. I ...
44
votes
4answers
55k views
How do I disable the blank console “screensaver” on Ubuntu Server?
How to disable blank screensaver on Ubuntu Server?
There's no desktop or X, only console (command-line interface).
31
votes
3answers
68k views
How can I make a specific set of iptables rules permanent?
Is there a "best practice" or standard to make a few iptables rules permanent? I mean: automatically applied upon a system reboot?
I am using a VPS with Ubuntu Server 10.04 LTS (Lucid Lynx).
Thank ...
39
votes
7answers
105k views
USB drive install of Ubuntu 12.04 Server fails - can't find components from CD-ROM
I'm trying to install Ubuntu 12.04 Server (32bit) on a machine here using a USB stick. I used the Universal-USB-Installer-1.8.9.4 which has support for 12.04 server to get the ISO onto the USB drive.
...
48
votes
3answers
229k views
How do I install and configure a DHCP server?
How to install and configure a DHCP server in Ubuntu 12.04?
I need a step-by-step tutorial if somebody has one.
11
votes
6answers
94k views
MySQL Access denied for user 'root'@'localhost'
In my server, everytime I try to access MySQL I get the error:
Access denied for user 'root'@'localhost' (using password: NO)
when I try mysqladmin -u root -p password I get
Access denied ...
4
votes
3answers
1k views
Graphics horribly corrupted on Ubuntu 16.04 in VirtualBox, showing random strips of colors
Inside a VirtualBox VM, I have installed myself an Ubuntu 16.04.1 LTS Server installation. However, when I installed the ubuntu-desktop package and rebooted, this happened:
Exact command I used: sudo ...
67
votes
9answers
140k views
How to have two versions of PHP installed and switch easily between them?
I want to have both PHP 5.2.17 and PHP 5.3.5 installed on my Ubuntu machine and switch as per my necessity. How can I achieve this?
51
votes
3answers
380k views
Assigning a static IP to Ubuntu Server 14.04 LTS
I've installed Ubuntu 14.04 LTS Server in my machine on a separate hard drive alonside my Windows 7 installation. The Windows OS has full network connectivity and internet access through the Ethernet, ...