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

learn more… | top users | synonyms (2)

4
votes
2answers
8k 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 ...
8
votes
4answers
2k 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 ...
1
vote
2answers
2k views

Server stuck at black screen after reboot

I recently put together a new server running Ubuntu Server 11.10 and it's all working great except for one little detail. Whenever I run "sudo reboot" everything works fine until I get to the grub ...
6
votes
1answer
13k views

How to run GUI applications remotely on a headless server?

I'm new to Ubuntu - sorry for novice questions. What I have - is Ubuntu server, to which I have access only via ftp and putty. What I would like to do - is to run firefox (or any other browser) from ...
0
votes
1answer
451 views

CGI-Bin does not seem to be set up

I've used tasksel and installed LAMP server. But I can't seem to figure if Cgi-bin is set up. There is no Cgi-bin in the web root folder. And when I try and call a test.py file from the browser, it ...
24
votes
0answers
40k 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 ...
45
votes
8answers
100k 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 ...
20
votes
7answers
1k views

How should a server be secured? [closed]

Talking towards Ubuntu 10.04, server edition, what tools/practices would you recommend to secure the server?
39
votes
2answers
29k 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 ...
16
votes
3answers
93k 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 ...
28
votes
1answer
189k 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 ...
25
votes
3answers
70k 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?
16
votes
10answers
66k views

Trying to do ssh authentication with key files: server refused our key

I'm trying to setup ssh authentication with key files in stead of username/password. The client is a Windows box running PuTTY and the server is a Ubuntu 12.04 LTS server. I downloaded puttygen.exe ...
15
votes
3answers
31k views

How can I install Ubuntu on a headless machine?

I have a headless storage server with preconfigured Windows Home Server. How can I install Ubuntu without a display? Do I have to build a custom install flash drive? If so, what would be the basic ...
12
votes
5answers
27k 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 ...
7
votes
3answers
10k 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 ...
10
votes
3answers
7k 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 ...
5
votes
2answers
15k views

Cannot install mysql-server-5.5/the following packages have unmet dependicies

I'm a newbie here so please bear with me. I'm using ubuntu 14.04. I tried entering mysql with the following command: mysql -u root -p and I got the following message: The program mysql can be ...
3
votes
2answers
27k views

Does running a Minecraft server run with less lag on Ubuntu server than on Windows 7?

I run windows 7. I run a Minecraft server, but I can only host around 9 players before lag appears. I heard that Ubuntu can run a server with much better performance than Windows 7. I kind of like ...
13
votes
3answers
4k views

Why is 12.04 removing the -server kernel flavour?

Ubuntu is removing -server flavour, as specified on release notes of 12.04: ...
10
votes
3answers
1k 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 ...
6
votes
2answers
5k 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 ...
5
votes
3answers
25k 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 ...
3
votes
2answers
327 views

Local server updates for the network

I have setup one computer on our network as the file server. Because Internet here in Tanzania is both slow and expensive I would like that one system to download all the updates and then the other 10 ...
2
votes
4answers
5k views

How can I configure my server so that my domain points to it?

I have bought a domain name (without hosting), and at home I have a static ip address on Ubuntu server 11.04. How can I redirect users to my web server at home? What configuration needs to be done?
6
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 ...
2
votes
1answer
7k views

Setup with BIOS but GPT partition table (due to 3 TB disk)?

How can I use a disk with GPT partition table on a system with a BIOS but no (U)EFI? I have a system with a 3 TB drive (no other drives and since this is a remote machine I have no choices here) and ...
1
vote
1answer
65 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
1answer
2k views

Reboot only shuts down and doesn't actually boot again

I'm running a fresh install of Ubuntu 12.04 Server on an abmx rack mount server. When I attempt to reboot with sudo shutdown -r now, the machine just shuts down and doesn't come back up without me ...
-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 ...
91
votes
8answers
380k 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?
60
votes
7answers
88k 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 ...
88
votes
5answers
86k 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?
38
votes
7answers
95k 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?
32
votes
3answers
37k 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?
18
votes
6answers
115k 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 ...
16
votes
3answers
28k 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 ...
13
votes
3answers
47k 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 : ...
18
votes
2answers
62k 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 ...
12
votes
3answers
16k 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 ...
20
votes
3answers
24k 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 ...
18
votes
3answers
10k views

Is using Ubuntu Minimal any different from Server?

I am wondering if there is any difference between the installation methods of Ubuntu minimal and server.
15
votes
6answers
17k 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, ...
12
votes
2answers
28k 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 ...
14
votes
3answers
82k 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 ...
25
votes
10answers
34k 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 ...
20
votes
9answers
46k views

Server keeps asking for password after I've copied my SSH Public Key to authorized_keys

I have an Ubuntu Server, running in a Cloud. I created a user (git). In the folder /home/git, I have created the .ssh/ dir, and the authorized_keys file. But, when I put my SSH Public Key in the ...
6
votes
2answers
6k 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 ...
5
votes
2answers
36k views

Why does apt-get fail to resolve the mirror? [duplicate]

Possible Duplicate: apt-get update fails to fetch files, “Temporary failure resolving …” error I know this has been covered before, but I can't seem to resolve my issue. Here is my output. ...
3
votes
3answers
19k views

phpmyadmin throws a 404 on opening

I have installed php5 and phpMyAdmin from the Ubuntu Software Centre on a fresh install of Ubuntu 13.04. when I enter localhost in my browser the following is displayed: It works! This is the ...