Questions related to Ubuntu Server, and server-related packages.

learn more… | top users | synonyms (2)

132
votes
9answers
598k 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?
91
votes
8answers
131k 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 ...
52
votes
8answers
115k 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 ...
52
votes
1answer
42k views

Ubuntu Server 13.10 now goes to sleep when closing laptop lid

I recently upgraded to the latest version (13.10). I have it running on an old laptop. Since the upgrade, whenever I close the laptop lid, it goes to sleep mode. Any idea on how to fix? I've ...
117
votes
5answers
131k 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?
28
votes
7answers
16k 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 ...
24
votes
5answers
150k views

How to set up Ubuntu Server as a NAS?

I am looking to set up Ubuntu Server as a headless NAS for my home. I would like to have file storage there, as well as a central hub for my MP3s and pictures. What are the best packages out there to ...
14
votes
3answers
67k views

KVM Bridged Network Not Working

I just installed KVM on my Ubuntu Server according to this guide : https://help.ubuntu.com/community/KVM/Installation Then prepared a bridged network as shown in here : https://help.ubuntu.com/...
14
votes
4answers
78k views

Proper way to change terminal resolution in Ubuntu Server 13.04? [duplicate]

I'm running Ubuntu Server 13.04 in a VMware VM running only in command-line mode (i.e. no GUI). It defaults to a 640x480 screen resolution, but I'd like to increase that to either 800x600 or 1024x768. ...
21
votes
6answers
134k 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-...
16
votes
3answers
19k views

Minimal system or minimal virtual machine on install?

I've been thinking a lot about this lately and haven't been able to find any good documentation online that explains this: When installing Ubuntu Server, I can choose between Minimal system and ...
9
votes
4answers
12k views

Run (system) script on SSH login and/or logout

I'd like my OpenSSH server to start a script whenever a user logs in using SSH, ideally passing the host name or IP, as well as the user name. Additionally I'd like it to run a script, whenever a ...
12
votes
5answers
33k views

Is there a tool for web based system administration?

What web based system admin tools are there for Ubuntu? Basically I want to setup a headless server at home and want to make it easy for my family to change some settings. I'm familiar with Webmin but ...
4
votes
2answers
9k views

Screen Resolution “Out of Range”

I'm fairly new to Ubuntu and have just installed Ubuntu Server 12.04 on a spare machine to experiment and play with! The installation went without problem, however, whenever the OS boots the monitor ...
10
votes
3answers
2k views

How do software updates work?

I would like to know how software updates work for my Ubuntu Server 10.10. I have been recommended to use apt-get install for installing new software and apt-get update for updating software for a ...
7
votes
3answers
6k views

Is there a secure web-shell for my server?

Following the security principle of trust no one, I can't use a service like http://www.serfish.com/. Is there a free software program that I can install on my Ubuntu server to give me secure shell ...
7
votes
1answer
5k views

ubuntu server: wifi

I just installed Ubuntu 14.04 server on my computer that has both a wired network port and a wifi card. I would like for the server to use the wired network if is not available, and use wifi when it ...
6
votes
2answers
6k views

How to install one GUI program on Ubuntu Server?

I am using Ubuntu Server 10.10 in a VirtualBox. I need to install a single GUI program (RubyMine) on it. I checked out installing ubuntu-desktop with apt-get, and it wants me to install 430 new ...
6
votes
2answers
6k views

Minimal server installation

I am currently running Ubuntu Server 10.10 through a virtual machine to use as a stack for web development and a chance to get to grips with the Ubuntu command line, however I'd really like to set up ...
1
vote
3answers
761 views

Run a web server from any directory

I am writing a small website, but I do NOT want to figure out how to install and configure complete LAMP stack to test the website from my ~/home directory. That will be completely disruptive and ...
8
votes
1answer
4k views

Clean Install Of Ubuntu Server over the network?

I have an install of Ubuntu server, I was recently fooling around with it, and as all learning processes do, I messed a few things up. I would this box to be secure and reliable in the future, So I ...
1
vote
1answer
134 views

OpenForis Calc / embedded Tomcat won't start

Trying to run OpenForis Calc, embedded Tomcat instance fails. Error seems to appear here: Apr 17, 2015 2:13:47 AM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying ...
1
vote
2answers
7k views

How to install oracle10g?

I want to install oracle10g on my ubuntu 11.10 server but it has this error: E: Unable to locate package oracle-xe
1
vote
2answers
142 views

Do you really need to remove DHCP clients for static IP to stick?

The instruction from this link works to change from DHCP dynamic IP to static. But there's a step where it says: You need to also remove the dhcp client for this to stick (thanks to Peter for ...
-1
votes
2answers
3k views

Additional file system and mount at boot time?

I am new to ubuntu, and I would need you guys help. I installed Ubuntu Server 10.04 64-bit, and I would like to know: What are the commands to add an additional file system and make sure it mount at ...
102
votes
4answers
121k views

Disable autostart for a service without uninstalling? [duplicate]

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.
57
votes
4answers
56k 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?
25
votes
6answers
25k 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.
57
votes
7answers
146k views

How to find out how much disk space is remaining?

What is the command to find out how much disk space is being used/remaining?
20
votes
4answers
54k views

How to make a home server using Ubuntu desktop?

I was thinking to make my Ubuntu desktop machine in file server for using it at home . I am having one old laptop . Could I use it as a file server so my other 4 system can download data or view data ...
24
votes
2answers
45k views

How to configure NTP time synchronization on a server?

I would like to configure my Ubuntu 12.04 server to synchronize its clock with a specific NTP server. Where to set this up?
19
votes
2answers
83k views

Connecting to Ubuntu server via SSH externally

I have recently installed Ubuntu Server 12.04 (Precise Pangolin) and intend to use it primarily as a file server. I am completely new to Linux, so this is a pretty big learning curve. Yesterday I was ...
18
votes
3answers
57k views

How do I add an additional IP address to /etc/network/interfaces?

I have an extra IP address available to my server, and so I need to assign it in the interfaces file. At the moment, I've got this: auto lo iface lo inet loopback auto eth0 iface eth0 inet static ...
15
votes
1answer
90k views

How can I set up Samba shares to only be accessed by certain users?

I have a RAID10 array mounted on Ubuntu Server 12.04. I have created a few folders within the mount point and want the following functionality. There will be 4 users, 3 of them are windows users: '...
10
votes
1answer
18k views

How do I run PulseAudio in a headless server installation?

PulseAudio is the standard audio server in desktop installations. However in a server installation audio services and thus PulseAudio are not provided. How do I install and make use of PulseAudio in ...
47
votes
3answers
42k 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 /...
30
votes
3answers
39k views

How do I disable remote SSH login as root from a server?

For security purposes my company wants me to not allow anyone to be able to log into our Ubuntu server as root remotely over SSH. We still want the root account to exist, we just do not want it to be ...
19
votes
7answers
62k views

Create USB installer to install Ubuntu 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 ...
18
votes
6answers
28k views

How can I audit users and access attempts to SSH on my server?

I've had a few security problems with a server of mine, a few SSH users have been setting up fires aka giving problems. I would like to: Track user logins and logouts Track activity of these SSH, ...
8
votes
2answers
47k views

How to make VNC Server work with ubuntu-desktop without xfce

I have Ubuntu Server LTS 14.04 and I want to know whether it's possible to install vnc4server and make it work with ubuntu-desktop (and not xubuntu-desktop) without installing xfce4. I think I have ...
4
votes
5answers
6k views

Samba Share user/password error after update

this is the first time that I couldn't find an answer so this is my first question. I will provide as much information as possible. I have an ASUS router that has 2 HDDs. There is only 1 username/...
10
votes
3answers
56k views

How to setup virtual users for vsftpd with access to a specific sub directory?

I need to be able to add a virtual users to vsftpd that only have access to a sub folder. The reason why I want to use virtual users is I only want to have 1 real user on the server. The FTP ...
10
votes
3answers
8k views

How do I configure Ubuntu one on a server?

I wish to setup Ubuntu One on my 11.10 server but seems to be running into an error every time I attempt to run commands from http://manpages.ubuntu.com/manpages/lucid/man1/u1sdtool.1.html For ...
7
votes
2answers
60k views

How do I setup a local NTP server?

I installed NTP server on Ubuntu Server 10.04 using: sudo apt-get install ntp The NTP daemon seems working and listening on the 123 port. However, I was not able to get the time from another ...
6
votes
2answers
7k views

How to log on to a Ubuntu server; from windows with a plain gui

I was hoping to setup and maybe browse the internet from a Ubuntu server i setup at home. Seeing that I have installed, Ubuntu server, I was hoping if there is software I can install to get a browser ...
11
votes
4answers
97k views

SSH error: Permission denied, please try again

I am new to ubuntu. Hence please forgive me if the question is too simple. I have a ubuntu server setup using amazon ec2 instance. I need to connect my desktop (which is also a ubuntu machine) to the ...
8
votes
4answers
3k views

How to reach a host in the same network by hostname?

I have a network which connects a couple of hosts. I would like to be able to reach other hosts from one of them using the hostname. I just discovered the ".local" domain, which is available through ...
6
votes
2answers
3k views

How does 'apt' decide how many old kernels to keep?

I'm managing a couple of servers for core services (NTP, DNS, etc) and it just occured to me that one of the servers seems to keep the 3 latest kernels, instead of 2 on the others : nul@quark:~$ sudo ...
5
votes
2answers
19k views

How to enable GRUB menu on Ubuntu 12.04 server?

I have an Ubuntu server installed, and no matter what settings do I try to change, the GRUB menu won't appear. It only shows "Booting hard disk ...10... 9..." and that's all! My /etc/default/grub ...
5
votes
1answer
5k views

How do I install joomla 1.7 on a lamp server?

I have a joomla 1.7 business live site and would like to know how to install wamp server and joomla 1.7 on ubuntu 11.1. I use it to work on site locally, then back it up and upload it to the live site ...