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

learn more… | top users | synonyms (2)

49
votes
1answer
37k 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 ...
36
votes
5answers
49k views

How to have two version of PHP installed and switch easily?

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?
47
votes
5answers
71k 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 ...
14
votes
3answers
58k 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 : ...
19
votes
14answers
89k 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 ...
10
votes
1answer
16k 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 ...
43
votes
3answers
38k 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 ...
19
votes
7answers
59k 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 ...
16
votes
9answers
38k views

How to check if ubuntu desktop or server is installed?

I have a shared hosting. I have access to shell. OS is Ubuntu, and I want to check if it is server version or desktop version. When I login through shell, it shows following information: Linux ...
7
votes
3answers
4k views

How to tell Ubuntu where to install a program and how to tell where an existing program was installed?

I'm totally new to Ubuntu/Linux, using Ubuntu Server at the moment. Just trying to figure out something basic. How can you tell where you are installing a program. For example I just installed ...
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 ...
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 ...
7
votes
3answers
59k views

How to play MP3 files using Rhythmbox? [duplicate]

Yesterday I just installed the Ubuntu 12.04 for the first time, the problem is that I can't play and of the MP3 files that I have. I get this error: Required plugin could not be found Python ...
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 ...
3
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 ...
0
votes
1answer
832 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 ...
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 ...
2
votes
3answers
42k views

unknown filesystem, grub rescue

When I try to boot I get this message: error: unknown filesystem. grub rescue> _ results of: grub rescue> ls are as follows: (hd0) (hd0,msdos5) (hd0,msdos1) (hd1) (fd0)
79
votes
8answers
112k 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 ...
50
votes
8answers
110k 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 ...
21
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?
105
votes
5answers
112k 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?
27
votes
3answers
87k 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?
12
votes
5answers
31k 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 ...
8
votes
3answers
11k 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 ...
21
votes
3answers
12k 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.
30
votes
11answers
41k 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 ...
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 ...
10
votes
2answers
28k 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
28k 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
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
5k 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 ...
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 ...
3
votes
2answers
352 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
6k 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?
1
vote
2answers
96 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
vote
1answer
101 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
vote
2answers
6k 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
0
votes
1answer
66 views

Setting up bridged networking with KVM

I'm trying to install KVM. I've done the installation and I'm now following the second part of the guide to get bridged networking to work. However, I'm stuck at the part where I need to modify the ...
-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 ...
117
votes
7answers
505k 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?
48
votes
7answers
123k 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?
17
votes
4answers
48k 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 ...
19
votes
6answers
134k 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 ...
24
votes
2answers
40k 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?
18
votes
3answers
36k 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 ...
14
votes
4answers
68k 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. ...