Questions related to Ubuntu Server, and server-related packages.
68
votes
5answers
4k views
How can I tell, from the command line, whether the machine requires a reboot?
When you install certain updates (e.g. a new kernel) in Ubuntu Desktop, you get an indication that a reboot is required (in Lucid, the logout icon turns red).
How can I check, from the command line, ...
53
votes
11answers
3k views
What's the easiest way to set up a LAMP stack?
I set up a new VPS instance of Ubuntu and am wondering what the easiest way is to get up and running with a basic LAMP stack (i.e. which packages are required, which configuration options need to be ...
35
votes
4answers
18k views
How do I set up an email server?
My VPS is running Ubuntu, and I'd like to be able to receive email to my domain.
How do I easily set up a mail server to do this?
33
votes
4answers
32k 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 ...
30
votes
6answers
21k views
How do I fix my locale issue?
I am getting this message everytime I do something like starting or stopping a service.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
...
28
votes
10answers
29k views
Setting up a git server
I've recently set up ubuntu-server on Amazon EC2. I would like to use it as my git server, so I could store my repos there.
So, where can I find some detailed instructions of how to setup git on ...
28
votes
5answers
17k views
Debian Stable vs Ubuntu LTS for Server?
Quick question:
Which is a better platform for a professional use server?
Debian Stable or Ubuntu LTS?
The third party software we plan to use, works on both. Which one is better on it own merits?
...
28
votes
4answers
10k views
Upgrading LTS to LTS (server) — why wait for the first point release?
Does anyone know the (specific) reasons that it is recommended that 10.04 server users wait until 12.04.1 to upgrade? Is it just a matter of bug fixes and waiting for improved stability for ...
27
votes
12answers
13k views
How do I free up disk space?
The ubuntu 9.10 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.
26
votes
6answers
16k views
How can I find my public IP using the terminal?
I am on DHCP, having dynamic IP.
Finding your public IP when using a GUI and a browser is extremely easy.
Simply go to Google.com and search for "What is my IP". Google will display it in the very ...
26
votes
7answers
14k views
Progress and speed with 'cp'?
When copying files using cp, is it possible to display the progress and speed of the transfer? Otherwise, is there any alternative command line utility that can achieve this?
24
votes
4answers
14k 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?
23
votes
8answers
4k views
What is the best way to set up a headless server?
I have a ubuntu development server at work. It is an old rack server that is located somewhere in the company's dungeon, where nobody ever goes :)The only way it can work is as a so-called headless ...
22
votes
4answers
28k views
Possible to install ubuntu-desktop and then boot to no GUI [duplicate]
I've installed Ubuntu Server. I'd like to add the GUI with ubuntu-desktop package, but if I do that can I still get the no-gui server interface as the default? What I basically need is the no-gui and ...
21
votes
5answers
24k 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 PPA to the server without this command?
20
votes
2answers
837 views
Why is the Ubuntu One server side application proprietary?
I've come across the Launchpad bug report which gave me some insight into people's opinions on the matter, but didn't explain why Canonical made this decision. The Wikipedia article on Ubuntu One ...
20
votes
6answers
7k 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 ...
18
votes
3answers
6k views
What is the difference between Ubuntu and Debian server?
I know Ubuntu is basically Debian, and I know Ubuntu releases every 6 months, Debian every 2 years. However, I want to know more the advanced differences between them. If they have the same base, what ...
18
votes
3answers
34k 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 ...
17
votes
7answers
931 views
How should a server be secured?
Talking towards Ubuntu 10.04, server edition, what tools/practices would you recommend to secure the server?
17
votes
4answers
5k views
What's the risk of upgrading over SSH?
When I run
sudo do-release-upgrade
over ssh, I get the following message.
This session appears to be running under ssh. It is not recommended
to perform a upgrade over ssh currently because in ...
17
votes
2answers
28k views
How do I install nagios?
I keep hearing about Nagios, a really powerful tool for monitoring servers. How do I install it?
16
votes
7answers
5k views
What is the best way to add files to a website on a LAMP Server?
I have just installed Ubuntu Server 10.04 with a LAMP setup. I want to host a website there but I'm not sure which is the best way to get/edit my files on the server. Googling provides many options ...
16
votes
2answers
12k views
How do I extract a password protected .7z file?
Can someone tell me how can I extract a password protected .7z file in Ubuntu server?
(I know the password, I just need a program to do so and an example of how to use said program...)
16
votes
7answers
16k views
Create USB installer from the command line?
I'm trying to create a bootable USB image to install Ubuntu on a new computer.
I have done this before following the "create USB drive" instructions for Ubuntu desktop, but I don't have an Ubuntu ...
16
votes
2answers
7k views
Are there any open source alternative to Landscape?
Better yet, are there any Spacewalk-like software that works for both RedHat-based and Debian-based systems?
15
votes
6answers
4k views
upstart-supervised init script for Apache?
I want to run apache on Ubuntu 10.04, and use the nice supervision stuff in upstart (I'm not just talking about the apache init script, but proper service supervision a la daemontools - which is to ...
14
votes
8answers
35k views
How do you restart Apache?
I switched from SLES to Ubuntu and now I want to restart my local server.
In SLES I used :
rcapache2 restart
but this somehow seems not to work in Ubuntu. :(
How do i restart my Apache?
14
votes
6answers
13k 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?
14
votes
6answers
3k 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?
14
votes
3answers
11k views
How do I add locale to ubuntu server?
I currently have those locales:
locale -a
C
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
...
14
votes
8answers
8k views
Why isn't my upstart service starting on system boot?
Following on from this question, I have written a simple upstart service (/etc/init/pms.conf) for my headless Ubuntu Server 11.04 box as follows:
start on filesystem and net-device-up IFACE=eth0
stop ...
14
votes
1answer
20k views
What is “Ubuntu Desktop USB” in tasksel?
What is Ubuntu Desktop USB tasksel alternative in ubuntu server 11.10 edition?
14
votes
2answers
7k views
Disable autostart for a service without uninstalling?
How can I disable autostart for a service without uninstalling? For example, I'd like to leave tomcat installed, but I don't want it turning on every time I restart.
13
votes
6answers
3k views
What Can Be Done To Secure Ubuntu Server?
I have a project to secure Ubuntu Server as much as I can.
The server is a web hosting server. The server will be running LAMP , Mail , and DNS.
13
votes
7answers
23k 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.
...
13
votes
6answers
6k views
What tools do you use to monitor a web server?
What tools do you use to monitor a Ubuntu web server? More specifically, I'd like to monitor server uptime, resource usage (RAM, CPU, bandwidth, etc.), Apache, MySQL and PHP.
13
votes
8answers
1k views
Command line games
Does anyone know if there are games for Ubuntu server (like tetris, etc...)?
I know that servers aren't meant for playing games, but sometimes it would be nice to have a little fun . . . not only ...
13
votes
4answers
785 views
How to change wallpapers of all clients?
As said before we are running more than 500 ubuntu PC's in our company. Often we used to set our company ads as a wallpaper in clients machine. It is difficult for us to change wallpapers in all these ...
13
votes
2answers
13k views
How do I remove the LAMP stack so I can start over?
I'd like to start over with my webserver and I'd like to reinstall all the LAMP packages, how do I do that?
13
votes
1answer
2k 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 ...
13
votes
3answers
8k views
How to install Mono on a server?
I'd like to be able to build and run C# programs on my Ubuntu 10.10 server. How do I install Mono? "sudo apt-get install mono" doesn't work, says "Package mono is not available, but is referred to by ...
13
votes
2answers
3k views
Switching a server to static IP from DHCP
I am running an Ubuntu 10.04 server installation and I recently had to switch it from DHCP to static ip. I edited /etc/network/interfaces file and switched
iface eth0 inet dhcp
to
iface eth0 inet ...
13
votes
3answers
1k views
How do you manage SSH keys?
I have a server with multiple users which each have multiple authorized SSH keys. Is there any effective way (command line utility?) to keep track of which key belongs to who and to quickly remove/add ...
12
votes
6answers
11k 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 ...
12
votes
5answers
2k views
What is the performance loss if you run an ubuntu desktop edition for a server machine?
Hello we have installed an ubuntu desktop edition on our dev server.
I was wondering if there is any noticeable performance loss compared to the server edition.
12
votes
7answers
28k 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 ...
12
votes
3answers
4k 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 ...
12
votes
3answers
3k views
Why is 12.04 removing the -server kernel flavour?
Ubuntu is removing -server flavour, as specified on release notes of 12.04:
...
12
votes
1answer
7k views
How is /etc/motd updated?
I was wondering how /etc/motd is automatically updated (I'm on Ubuntu 10.04, server edition). I found the update-motd manpage via a web search, but that program is not installed on my machine. The ...

