Questions tagged [server]

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

Filter by
Sorted by
Tagged with
34
votes
6answers
19k 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 ...
209
votes
13answers
1.4m 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?
182
votes
18answers
372k 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.
520
votes
19answers
930k 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: ...
83
votes
4answers
234k 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://...
449
votes
14answers
1.4m 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 ...
13
votes
10answers
50k 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 ...
87
votes
11answers
191k 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?
20
votes
2answers
44k views

How do I install OpenStack?

How do I install OpenStack? Is there an easier way other than official installation instructions?
39
votes
5answers
158k 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 ...
1
vote
1answer
3k 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@...
120
votes
3answers
737k 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 ...
52
votes
8answers
306k 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-...
161
votes
6answers
212k 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?
2
votes
1answer
1k views

Setting up SFTP to log in to server with Filezilla

I have an ec2 instance on AWS which already installed a few Wordpress-es in it. I want to set things up to let more people handle their own projects, with me also being able to go into the server ...
16
votes
3answers
16k views

Graphics horribly corrupted on Ubuntu 16.04 in VirtualBox, showing random strips of pixelated 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 ...
82
votes
4answers
433k 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 ...
121
votes
18answers
806k views

SSH Permission denied (publickey)

I am trying to connect to a Linode (running Ubuntu 12.04 LTS) from my local machine (also running Ubuntu 12.04 LTS) I have created a private and public key on my local machine and copied my public ...
230
votes
5answers
346k 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
4answers
23k views

SSH Server stops working after reboot, caused by missing /var/run/sshd

My VPS wasn't rebooted for about 3 months. It is hosted on a server with OpenVZ virtualization type and the operating system is Ubuntu 16.04. For some reason, I rebooted the VPS and after that, I ...
21
votes
4answers
8k 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 ...
2
votes
1answer
479 views

Creating additional Virtual Host Ubuntu Server

I have currently one website running perfectly on my LAMP server (Ubuntu Server 16.04.3). I now would like to add another one to the server. So i first went to the /etc/apache2/sites-available file ...
93
votes
10answers
272k 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
6answers
169k 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 ...
3
votes
1answer
648 views

How to get PHP 7.0 running with Apache2

I am totally new to Linux, servers and websites. I recently set up Apache2, Python, PHP, and MySQL for setting up a LAMP server. I am using Xubuntu 16.04 and PHP 7.0.11. I followed a guide and placed ...
268
votes
10answers
527k 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 ...
37
votes
4answers
205k 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?
25
votes
4answers
56k 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 ...
24
votes
1answer
13k 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 ...
8
votes
2answers
5k views

Why is the network configuration I set in /etc/network/interfaces ignored on Ubuntu 17.10?

I've just installed ubuntu server 17.10. During installation, it suggested me to connect to the network through wifi, and so i did. After installation was finished and system was rebooted, computer ...
11
votes
4answers
40k views

Can you install Ubuntu on the Raspberry Pi 4

I was wondering if you could install Ubuntu on the RPi 4 because on Ubuntu's official guide, it said it's only available for the 2 and 3. Would the edition for the Raspberry Pi 3 work on the RPi 4?
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 ...
161
votes
7answers
470k 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?
189
votes
10answers
392k views

How do I check if a package is installed on my server?

I recently installed Ubuntu Server edition 13.10 (Saucy Salamander). But I have ran into a bit of problem. At the end of the install, it asks you for several extra packages whether you want them or ...
65
votes
7answers
114k 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 ...
42
votes
3answers
92k 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 ...
27
votes
7answers
91k 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 ...
2
votes
1answer
201 views

Redirect people after SSL is set up

how do I set up the auto redirect with apache2. I have got SSL working and want to redirect all to the SSL side. I added Redirect / https://fraffel.tech/ but takes me to the wrong site directory ...
115
votes
8answers
272k 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?
141
votes
8answers
379k 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?
34
votes
4answers
70k 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 ...
32
votes
3answers
148k 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
17k 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 ...
23
votes
3answers
24k 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 ...
3
votes
1answer
2k views

Access remote multiple servers behind NAT

I have a situation where our Ubuntu servers were deployed across multiple remote locations. These servers were behind a carrier grade NAT and also an internal NAT. Now from a central location I want ...
184
votes
10answers
277k 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 ...
144
votes
5answers
297k 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 ...
76
votes
12answers
177k 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?
56
votes
5answers
72k 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).
55
votes
3answers
276k 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.

1 2 3 4 5 23