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.
16,522
questions
5
votes
2
answers
4k
views
How to install Ubuntu 19.04 live server on Hyper-V VM?
When I try to install Ubuntu 19.04 live server, after the initial language and "Install Ubuntu Server" selection, but before all the configurations menus the setup flashes some text abruptly a few ...
1
vote
1
answer
633
views
18.04.2 Server - No video over iKVM
I'm running Ubuntu 18.04 Server on a Supermicro X11SCH-LN4F based server with a Xeon E-2176g. The server supports IPMI/iKVM.
I see video output through iKVM during the initial UEFI boot, but as soon ...
2
votes
1
answer
37
views
Ubuntu server 18.04 command to delete contents of sub-folders ever 6 months
I have a folder that contains many different sub folders and files in the sub folder
home/customer/main/a
home/customer/main/b
(each letter a through z is a random variable folder name example: ...
1
vote
0
answers
271
views
Installing SSL Certificate onto a MSSQL instance
I'm running Microsoft SQL Server 2017 on a 18.04 LTS Server (AWS Cloud). I'm looking into getting proper SSL security on the server, but I cannot seem to find any guides for Linux, only for windows. I'...
0
votes
1
answer
2k
views
Ubuntu 18.04 headless with Nvidia card - Nvidia persistence
I am running long time computations (several hours) on a Nvidia RTX 2080 GPU installed in Ubuntu 18.04 headless (no peripheral connected to the computer: no monitor, no keyboard, etc...).
Do I have ...
0
votes
0
answers
421
views
Failed to execute stat function during MySql 5.7 installation
When I am trying to install MySql server 5.7, I am getting loads of errors saying that the the system couldn't execute stat function on file /proc/{number_of_digits}/fd/{number_of_digits}: access ...
0
votes
1
answer
176
views
Upgrading from Ubuntu 14.04.4 LTS to 16.03.6 safe or not?
So I'm in the process of upgrading my "SERVER" not desktop...
There are 320 packages that can be updated
I've installed systemback and created a restore point I'm currently running Ubuntu 14.4.4 LTS ...
0
votes
1
answer
1k
views
Ubuntu server 18.04 with two interfaces set default gateway interface
I have a question.
I have a ubuntu 18.04 Server there need to connect to two networks ( My network and my neighbors network ).
The main network there shall be the default gateway is 192.168.88.0/24 (...
0
votes
2
answers
2k
views
Fail connect remote jupyter notebook server possibly caused by chrome install
I'm trying to connect to jupyter notebook running on my remote server. The code below has been working fine for days to forward the jupyter notebook running on the port on my ubuntu server to my mac. ...
3
votes
1
answer
1k
views
Ubuntu says the disk is full but it's not
Very complex situation.
My main server is in a 5TB raid.
I'm currently on holiday so I use Teamviewer and ssh to remote into my server.
2 Days ago I ran a backup which was configured to be stored ...
3
votes
1
answer
3k
views
Can't install Oracle Java 8 in Ubuntu 18.10
I've tried to install java with
# add-apt-repository -y ppa:webupd8team/java
# apt update
# apt install oracle-java8-installer
but got error:
ERROR 404: Not Found.
download failed
**Oracle JDK 8 ...
1
vote
1
answer
5k
views
Can't locally edit files in samba share, but windows client can? (Ubuntu 18.10)
Allow me to elaborate on the title.
I have a folder in ~/Documents named "Share" (~/Documents/Share). I enabled sharing for this folder by right clicking it in the nautilus explorer and clicking on ...
-1
votes
2
answers
431
views
Is using ubuntu19.04 tag safe for production environment
Is using Ubuntu 19.04 or 18.10 tag safe for production environment as we can see that the relevant docker image gives zero vulnerabilities for it on quay.
Would having no LTS support for it cause any ...
2
votes
0
answers
250
views
Ubuntu Server 18.04 - automatic fallback to stable kernel after crash
I am administrating a remote server and I am trying to verify if is possible to have a scenario when if it crashes after an update it resets and goes back to boot via the previous stable kernel (...
0
votes
0
answers
601
views
Setting up multiple network interfaces /etc/network/interfaces
I'm trying to setup my 4 network interfaces to have a specific dns-nameservers and dns-search so I can be connected to my domain using any of them but it's not working properly as when I run systemctl ...
0
votes
0
answers
214
views
Php Server Monitor can not be found
I'm using phpservermon 3.2.0, and today when accessing it, it appeared as 404 not found and these two lines
'''
The requested URL /phpservermon/ was not found on this server.
Apache/2.4.29 (Ubuntu) ...
1
vote
2
answers
5k
views
How to count NFS clients connected to your NFS server?
How to find out how many clients are connected to my nfs server and their IP or hostname?
1
vote
1
answer
5k
views
a minimal Ubuntu 18.04.2 LTS (Bionic Beaver) server requirements
I want to have a minimal Ubuntu 18.04.2 LTS server on i.MX6ULL series CPU (528MHz) with 512MB DDR SDRAM and 4GB EMMC ROM. is it possible? which kernel version do I need to have? I want to use it as ...
1
vote
0
answers
24
views
Mirrored Differential Backup
I have a home sever running Ubuntu server. It has two 12TB drives in it. What I'd like to do is simply run a backup in such a way that the second drive is just an exact duplicate of the first, but ...
4
votes
2
answers
23k
views
How to grant non-root user access only to /var/log directory
I have newly created non-root(normal) user and want to grant access only to /var/log directory so that the user can view and monitor the logs. The user should not be able to cd/ls or access the /etc ...
1
vote
0
answers
183
views
How can I get an error report when I execute a command in Ubuntu server? (Backup on PostgreSQL) [duplicate]
I have to do a backup of a (heavy) PostgreSQL database in Ubuntu Server and I want to make sure that I don't have any fails. The command is:
pg_dump database_name -h localhost -p port_number >&...
1
vote
1
answer
605
views
assign static IP ubuntu 18.04
I'm seeing a lot of guides on internet telling me to assign through
cd /etc/netplan
sudo nano 50-cloud-init.yaml
Unfortunately I edited it with tabs at first and now I'm not sure how to fix that ...
0
votes
5
answers
17k
views
MySQL: could not get mysqldump version
I use MySQL workbench 6.3 on Ubunut 18 using MySQL server 8+.
I need to backup my database from the workbench. When I click on Data export I select the scheme and make sure all the tables needed are ...
5
votes
1
answer
11k
views
update-initramfs issue
Can someone explain what this error means and how i can resolve it please?
update-initramfs: Generating /boot/initrd.img-4.15.0-47-generic
cryptsetup: WARNING: failed to detect canonical device of /...
0
votes
1
answer
292
views
After a recent update 18.04 now only emergency mode
After a recent restart on the Ubuntu 18.04 server, after a "apt upgrade" command, the server only boots to emergency mode. I've taken a look at other similar issues found on this forum, but was unable ...
1
vote
0
answers
4k
views
random limited connectivity nmcli
I have some strange behavior on my laptop connectivity to local wifi. Apparently with no reason and totally random, the connectivity gets limited. This happens on average once per hour. This is what ...
1
vote
0
answers
228
views
MySQL using all RAM
I am trying to restore SQL dump file of around 750 MB on Ubuntu 16.04 VM with 1GB RAM and MySQL 5.7.21.
I have configured innodb_buffer_pool_size = 768MB, innodb_buffer_pool_chunk_size = 128M and ...
1
vote
0
answers
314
views
Send mail notification Ubuntu 18.10 [duplicate]
I've set up unattended upgrades, and wish to receive an email on every update run to make sure it's running. For whatever reason, ssmtp isn't installing so isn't an option.
How do I configure my ...
0
votes
2
answers
5k
views
Cannot connect to MySQL database after upgrade to version 8.0
I upgraded both MySQL work-bench to version 8.0 and MySQL server to version 8.0.15. I restarted my computer and I opened the workbench. I found my old connection. When I click test connection I get ...
5
votes
1
answer
17k
views
What's the meaning of "audit: backlog limit exceeded"
I have a Ubuntu Server machine running Docker containers. I have some hard drives mounted for the Docker machines to use (mainly media storage)
I installed Ubuntu Server with all defaults settings.
I ...
0
votes
0
answers
28
views
OpenSSH no longer accessible
I just installed a fresh copy of Ubuntu 18.04 server on an older mac mini. Initially I was using a hard line for networking but after fighting with netplan I finally got wifi working. However, in a ...
1
vote
1
answer
105
views
What is the difference between running a command as logged in as a user vs doing sudo -u
I am wondering about the difference between running $userA: command line and $userB: sudo -u userA command line in the linux terminal.
Is there any specific things that cause the file being created. ...
0
votes
1
answer
343
views
Postfix--running--SMTPS still is closed
I have created a certificate and applied all the necessary changes to configuration files in the postfix.main and postfix.master files. I also edited the dovecot.file to enable SASL-AUTH. I have made ...
0
votes
2
answers
933
views
How do I run multiple terminals in vps [duplicate]
I have 2 flask restful API's .
On my localhost, I open up a terminal and run uwsgi --ini /path-to-ini-file1. For 2nd API, I open up yet agan a new terminal and run uwsgi --ini /path-to-ini-file2.
In ...
1
vote
0
answers
2k
views
WireGuard error
I'm trying to use WireGuard to configure a VPN tunnel via my server, and up to now it worked perfectly. However, I changed server, pasted my old config files (just changing the private and public keys ...
0
votes
1
answer
2k
views
Remote Desktop hang OS or block all the connections
I have an Ubuntu Server 18.04.02 fresh install, where I need to access through VNC or Remote Desktop(XRDP).
I can access using putty without problems, I install XRDP using this article, I am using ...
0
votes
1
answer
1k
views
ssh connection refused; netstat LISTEN; nmap closed
My Setup
Ubuntu server 18.04 on local hardware
A laptop from which I want to ssh into the server over local network
My Problem
Every once in a while right after boot, I can ssh into the machine ...
1
vote
1
answer
2k
views
RE: Getting Ubuntu Server to Show Web Page URL instead of Just my IP Address [duplicate]
I am currently working out of a book, "Mastering Ubuntu Server, (LaCroix 2018)."
I have not been through the entire book but I am having doubts so far.
I have a website URL that I want to host from ...
0
votes
2
answers
17k
views
Connection Timed out on SSH Server
I am using the internet server of university and trying to log in to my account on system from my laptop, using ssh -X username@server. It says connection timed out. when i tried from another system i ...
2
votes
3
answers
3k
views
Why doesn't the authorized_keys file stop SSH from promting me with "The authenticity of the host <host> can't be established"?
I have created 2 key pairs using ssh-keygen, one on the server and one on the client.
I then added the server's public key to the client's $HOME/.ssh/authorized_keys file, and vice-versa.
When I try ...
10
votes
3
answers
6k
views
Unable to change hostname in Ubuntu 18.04 server on Virtualbox
What I’ve tried:
sudo hostnamectl set-hostname ubuntu-1
echo ‘ubuntu-1’ > /etc/hostname
Sadly, whenever I reboot the hostname changes back to what it was originally.
1
vote
1
answer
10k
views
How to unmount RAM partition from tmpfs?
Some months ago I had installed FastCGI on ubuntu 18.04 nginx server. After that, I served FastCGI cache from RAM. For that, I mount the Ram partition using tmpfs.
# first - I used this command:
$ ...
27
votes
7
answers
26k
views
Ubuntu Server install with full GUI
Coming from windows server/MacOS...
I've been researching for my first linux deployment and I have settled on Ubuntu/GlusterFS for a high performance file server.
I have a question about the ...
0
votes
1
answer
7k
views
ssh login with public key still asks for password
I've searched through all topics I could find on this but can't get it to work. I've used keygen to create the keys, copy-id to send to server and changed all the permissions on server per other posts....
0
votes
1
answer
125
views
Ubuntu Server Upgrade from 16.04 to 18.04 hangs on first reboot
Just upgraded an instance of Ubuntu Server 16.04 to 18.04 and the install hangs at boot, last line emitted to the terminal is Welcome to Ubuntu 18.04!
Instance is a VM on an R2008 HyperV.
I suspect ...
0
votes
1
answer
1k
views
DKMS on Ubuntu Server 16.04
A recent kernel update broke my Cuda installation (it works fine if I boot an older kernel) - very similar setups have persisted across kernel updates on other machines, the major difference being ...
0
votes
1
answer
299
views
Wired connection keeps loosing internet connection on Ubuntu 18.04.2 LTS
I am running Ubuntu 18.04.2 LTS.
Running a ping shows that I keep loosing packets
ping google.com -D -O
[1554813201.789920] 64 bytes from lhr35s05-in-f14.1e100.net (216.58.212.78): icmp_seq=1515 ...
0
votes
1
answer
133
views
Updating server OS, installation and internet connectivity issues in using Ubuntu Server
I recently installed the latest version of Ubuntu using the alternative downloads page as I didn't have network connectivity during the installation process. After a successful install, when I try to ...
4
votes
0
answers
852
views
Enable packet routing from network interface eth0 to bridge interface
I have a Ubuntu server connect to LAN 10.1.200.21/24 (bond0), and an Macbook connect to LAN 10.1.200.50/24 (eno1)
There are another bridge create by brctl addbr br0 in Ubuntu 10.3.100.1/24, and there ...
2
votes
1
answer
10k
views
Ubuntu server 18.04 apache2 how to change the default page?
I will keep this short. I am trying to figure out how to change the default page for apache2 to point at my oscommerce site instead by default. I have deleted the default index.html file.
As of now ...