Questions tagged [server]

Ubuntu Server is a flavor of Ubuntu that comes with with no desktop environment by default, with command-line SSH login as the default way of remote access. This tag should be used for questions related to Ubuntu Server (as opposed to Ubuntu Desktop variants), as well as any questions related to installing services and programs on Ubuntu Server.

Filter by
Sorted by
Tagged with
7 votes
2 answers
5k views

Best rootkit removal tool for a server?

and what schedule/sysadmin routine is recommended?
Aviah Laor's user avatar
7 votes
4 answers
98k views

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

I know that some users may say that this is a duplication but seriously I have combed the answers and those on the internet for over half a day and I am so frustrated i am going to explode. Now that ...
chetwynd2014's user avatar
7 votes
2 answers
8k views

mdadm: breaks boot due to "is not ready yet or not present" error

This is so damn frustrating :-| I've spent like 20 hours on this nice error, and seems like dozens of people over Internet too, and no clear solution yet. I have non-system RAID-5 of 5 disks, and it'...
BarsMonster's user avatar
7 votes
1 answer
12k views

How do I set up an Ubuntu server to be (securely) available from the internet?

I want to build an Ubuntu server that will be continuously connected to the internet. I own only an IP address. The main purpose of the server is to be a source code controller (probably git or svn... ...
Steve B's user avatar
  • 285
7 votes
1 answer
48k views

"This site can't be reached" when using virtual host

I'm trying to set up Apache2 server. Installation and configuration seemed to go well, but when I try to go to my custom web URL I get "This site can't be reached" error. I've tried setting config ...
dnc123's user avatar
  • 73
7 votes
2 answers
39k views

apt-get update cannot connect to server

I try to get update on my Ubuntu 15.04 but if failed to connect to server me@me:~$ sudo apt-get update Err http://archive.ubuntu.com vivid InRelease Err http://archive.ubuntu.com vivid-updates ...
Fingertron's user avatar
7 votes
4 answers
3k views

MaaS Enlistment through 12.04 installation CD fails

I am trying to enroll my nodes in my MaaS cluster. I am doing this by booting them from the 12.04 installation CD, and choosing the MAAS installation option. I'm only trying to set up one node right ...
David Buttrick's user avatar
7 votes
3 answers
38k views

How do I set up SFTP file access logging for OpenSSH?

I have an SFTP setup using the built-in sftp-subsystem of OpenSSH with chrooted users. In the old days when I used to use FTP, I was able to see what files were accessed by users in the logs. How do ...
kraxor's user avatar
  • 5,527
7 votes
1 answer
12k views

How can I have nagios alerts emailed to my gmail?

I'd like to set up some sort of mail server to send emails from from my gmail account to another email. How can I do this?
jrg's user avatar
  • 60.6k
7 votes
3 answers
9k views

How to share files/folders between two different Ubuntu computers and are on different network?

I want to share the folders between my laptop and local desktop. Both are connected to WiFi and ethernet respectively. How do I share the folders between these two? Thank you!
user3792934's user avatar
7 votes
2 answers
3k views

Canonical livepatch failed when I tried to enable token

I tried to use canonical livepatch, but failed. I have 3 VPS. On the first one I added my token a month ago. Now I wanted to add the same token to my other 2 VPS but failed. 1 VPS (cut my token for ...
danonanon's user avatar
7 votes
1 answer
6k views

Ubuntu 20.04 Server Suddenly has GUI and No Terminal

So I installed Ubuntu server 20.04 just fine, it was running without any GUI just fine. I've been following this post to install TensorFlow with GPU support and when I tried to install NVIDIA Drivers ...
auth_ward441's user avatar
7 votes
7 answers
76k views

vsftpd-cannot read config file even when file exists

I'm on Ubuntu 15.04 and I just installed vsftpd. When I run the command service vsftpd status, I get the following output: vsftpd.service - vsftpd FTP server Loaded: loaded (/lib/systemd/system/...
cgifox's user avatar
  • 181
7 votes
1 answer
6k views

USB/IP Kernel modules are missing.

I wish to utilize the USB/IP project for school project, but I am having trouble starting the host. We are attempting to send signals from accessibility devices for children with extreme motor ...
Tyler Berezowsky's user avatar
6 votes
5 answers
14k views

I cannot use apt-get update

I have Ubuntu 13.04 Server on a Virtual Box which is using 2GB of ram and 20GB of space. It's freshly installed and I cannot use apt-get update. I have tried the same on an Ubuntu 12.10 Server but it ...
David Tkachuk's user avatar
6 votes
1 answer
5k views

How to install ubuntu server for lxc on a smartphone (ARM or x86, bare metal)?

As of May 2019 what are the options (if any) to install Ubuntu server on a smartphone device? I don't need much of the smartphone functionality, I don't need desktop and touchscreen blows and ...
Dmitry Somov's user avatar
6 votes
4 answers
75k views

How can I list the hard drive and all its partitions including size from terminal?

I have Ubuntu server 12.04 installed with no GUI. I would like to list my hard drive and it's partitions along with how big each partition is using the command line.
Cam Jones's user avatar
  • 3,741
6 votes
1 answer
9k views

Server logs are filling my hard disk, how do I fix this?

I have Ubuntu 12.04 which serves my web application (20 MB) on apache httpd. Here is my partitions table: $ sudo parted -l Disk /dev/sda: 500GB Partition Table: gpt Number|Start|End|Size|File ...
Shadin's user avatar
  • 263
6 votes
1 answer
13k views

Run script on shell login for all users

I have a script named "als" that parses the aliases in a user's .bashrc file that I'd like to run for any user logging in via SSH. This should display similar to a Message of the day (MOTD) banner. ...
user38537's user avatar
  • 693
6 votes
2 answers
19k views

How do I share samba via Open VPN? Is that possible?

I have configured open VPN in my home so that it can be accessible from my office easily. Now I want to share samba via my open VPN. How can I share samba over open VPN between Ubuntu and Windows? ...
Dinesh Dhananjayan's user avatar
6 votes
4 answers
25k views

Unit systemd-resolved.service is masked

I was trying to restart the systemd-resolved.service with the command: sudo systemctl restart systemd-resolved and got the error message: Failed to restart systemd-resolved.service: Unit systemd-...
zero_coding's user avatar
6 votes
6 answers
27k views

Can't install MariaDB 5.5 or 10 in Ubuntu 12.04. MYSQLD Failed to start?

I tried o install MariaDB on my Ubuntu 12.04 server. First it gave dependency issues and I fixed it by following this question : https://stackoverflow.com/questions/16214517/installing-mariadb-unmet-...
THpubs's user avatar
  • 2,795
6 votes
1 answer
15k views

Samba authentication fails

I have been endlessly searching for what went wrong, and can't figure it out. There is a lot that I still don't understand about working with samba on Ubuntu, so if something looks noobish, I am sorry....
Tyler Cox's user avatar
6 votes
2 answers
24k views

sqlcmd not available after installing mssql-tools

I'm trying to access sql server database so i need sqlcmd but after following microsoft docs here and here. Running sqlcmd returns: sqlcmd: command not found and I do have mssql-tools installed: ...
Amir Heshmati's user avatar
6 votes
1 answer
10k views

Default DNS Server not switched after connecting to OpenVPN

I'm using a OpenVPN connection between my laptop and my server. The configuration was working until today (i simply ran apt update && apt upgrade), but since then my DNS settings are "wrong" ...
Sven Eppler's user avatar
6 votes
4 answers
10k views

Is Ubuntu Server only available with the command line? [duplicate]

One day my company is going to need a server, and I like Ubuntu since it has the least amount of viruses out of all the OSes (I think), but when I look at the Ubuntu Server it only has black ...
Howl's user avatar
  • 65
6 votes
3 answers
12k views

Ubuntu server terminal doesn't resize screen in VirtualBox

(Not talking about resizing the desktop edition as most other questions do.) I've installed Ubuntu 14.04.1 server 64-bit in VirtualBox 4.3.10 (not .20, which apparently isn't compatible) but the ...
Dan Dascalescu's user avatar
6 votes
3 answers
3k views

Why is Python Preinstalled on Ubuntu?

Why is Python Preinstalled on Ubuntu? Does the operating system depend on Python?
CausingUnderflowsEverywhere's user avatar
5 votes
1 answer
8k views

How to download multiple torrent links using transmission-daemon?

I am using transmission-daemon on my server with the WEB GUI. I was wondering if instead of each time clicking add torrent then paste the magnet link, I could instead call it in the terminal (SSH) ...
Hamza's user avatar
  • 121
5 votes
1 answer
5k views

How to check my HDD's for defects

Because I had some problems with my server I want to check it's hard drives for defects (the drives not the file system) which tool can I use for this in ubuntu? I know for my hard drives there is a ...
LayerCake's user avatar
  • 1,046
5 votes
4 answers
17k views

Nvidia drivers seem to ignore customized xorg.conf in 13.10? How to configure?

I just upgraded from 13.04 to 13.10 and now I'm having a problem with the nvidia X server settings: the changes I make don't stay saved after I restart the X server. I checked the xorg.conf (/etc/...
seiki's user avatar
  • 51
5 votes
10 answers
39k views

Ubuntu 16.04.2 in Virtual Box does not start

I wanted to install an Ubuntu Server in my Virtual Box, the installation works fine but after I reboot to start the VBox I get a black Screen. I already have tried reinstalling it but nothing works. ...
Amundi's user avatar
  • 161
5 votes
1 answer
10k views

Ubuntu server ssh after reboot: Permission denied (publickey)

I have a server setup where I can ssh to from my mac. The setup is made with a trusted key and it works perfect. But whenever I reboot the server and I that try to login using ssh my_user@ip then it ...
Niels Kristian's user avatar
5 votes
1 answer
9k views

dpkg:error:parsing file '/var/lib/dpkg/status' near line 1146 package 'python-minimal'

I'm doing an upgrade with sudo apt-get upgrade After I press Enter: do you want to continue [y/n]? y debconf: apt-extracttemplates failed:No such file or directory extracting templates from package: ...
elvisvite's user avatar
5 votes
1 answer
7k views

Tens of thousands of failed/denied SSH login attempts [closed]

Recently a few friends and I came up with an idea for an app. To facilitate the creation of it, we set up LAMP on an Ubuntu Server 12.04. This box is running from my home. We've set up 3 user accounts....
Raichu's user avatar
  • 88
5 votes
1 answer
4k views

How to convert existing Ubuntu install to minimal

I'm trying to convert an existing Ubuntu installation to a minimal config so it can run off of a 2 GB SD card (or even smaller). Right now, the current hardware (a Pi like board) needs a custom 16.04 ...
Alex D's user avatar
  • 201
5 votes
3 answers
21k views

Cannot stop nginx service

It took me a while to find out, but as of some recent-ish update, I can't stop Nginx on any of my Ubuntu 12.04 or Ubuntu 14.04 servers. I run sudo service nginx stop, and I get nginx start/running, ...
href_'s user avatar
  • 149
5 votes
2 answers
5k views

How do I change the order in which systemd services are started up

Ubuntu 18.04 server on my home network I'm running: dnsmasq for DHCP and DNS nginx as a reverse proxy to some web applications (running on localhost and on other hosts) The nginx reverse proxy ...
J. le Roux's user avatar
5 votes
2 answers
6k views

Why is server restart required? [duplicate]

When logging into my Ubuntu instance I get the message *** System restart required ***. I am running a server and uptime is very important for me. How can I know why the restart is required? I have ...
Randomblue's user avatar
4 votes
4 answers
20k views

How can I force Ubuntu 22.04 SERVER to use ONLY the DNS servers listed in /etc/systemd/resolved.conf (NOT my router's DNS) AND use DNS-over-TLS?

I have added these lines to /etc/systemd/resolved.conf in a Ubuntu 22.04 SERVER install with NO DESKTOP - I emphasize that because I can't use the normal desktop method of setting network options in ...
UbuntuUser's user avatar
4 votes
4 answers
30k views

Change Ubuntu Server 14.04 Screen Resolution

Is anyone willing to assist me in changing the screen resolution of my Ubuntu Server. I'm running virtualbox (ubuntu server guest) on a Windows 10 host. I've checked every link I could possibly find ...
user435195's user avatar
4 votes
3 answers
8k views

After restart, how can I ssh into my system?

I have restarted my system remotely, but now when I try to ssh, I get the message ssh: connect to host desktop.hostname port 22: Connection timed out And when I try to ping it: PING desktop....
David LeBauer's user avatar
4 votes
3 answers
13k views

Error installing webmin on ubuntu 16.04

So I am trying to install webmin on an Ubuntu 16.04 amazon ec2 instance. I have apache2, php7, mariadb already installed. I have been using http://www.htpcbeginner.com/how-to-install-webmin-on-ubuntu/ ...
TimTech's user avatar
  • 43
4 votes
1 answer
17k views

Install nvidia drivers for Ubuntu 18.04 SERVER

I need to install the nvidia drivers for Ubuntu SERVER 18.04.2, to run computations from a headless server on a nvidia RTX card. I am asking because I have not yet found any clear guide to do that ...
Henry's user avatar
  • 654
4 votes
1 answer
37k views

Format and partition second hard drive using terminal? (Ubuntu Server 14.04)

this is my first question on here... So, I’ve installed Ubuntu server 14.04 (32 bit) on a VirtualBox virtual PC. Originally i just made it with a 32gb virtual HDD so since then I’ve created a new ...
Damien Red's user avatar
4 votes
2 answers
37k views

Step by step guide to setup a DHCP server / client configuration in VirtualBox

I'm trying to implement DHCP on two VirtualBox machine, which both are running Ubuntu 16.10 (One as client, one as server) and the host is a Windows 10. How do I go about doing this? A step by step ...
annabelle1301's user avatar
4 votes
2 answers
419 views

SSL Connection to Apache web server

I follow up on setting up SSL connection to my Apache2 It works well when I access my website from a local IP address but if I use a Dynamic DNS service with HTTPS in the beginning than I doesn't get ...
user285147's user avatar
4 votes
2 answers
1k views

FTP to my Ubuntu machine kills my network

I'm having a problem transferring files between my Ubuntu server and other machines with FTP. Basically, if I initiate an FTP request from my Ubuntu to my Mac, it works fine. But if I make a request ...
Mourkeer's user avatar
4 votes
1 answer
766 views

How can I self-host Ubuntu One?

The Ubuntu One service is closing and being open sourced: Additionally, we continue to believe in the Ubuntu One file services, the quality of the code, and the user experience, so will release ...
metakermit's user avatar
  • 2,630
4 votes
1 answer
192 views

Why do I need to use separate accounts for installing and running a program?

I bought some software from Atlassian (JIRA, Confluence etc.) and I am installing it. One of the programs recommend me to create a user with limited access for only that program, and it also wants me ...
Andy's user avatar
  • 191

1
6 7
8
9 10
29