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
1 vote
0 answers
345 views

How to solve MYSQL Server declines remote connections after restoring the server from backup?

Here are the details: # cat /etc/release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS" NAME="Ubuntu" ...
0 votes
1 answer
7k views

Chrony time service doesn't work perfectly, synchronisation problems

On our Ubuntu 20.04 servers we run chrony as a time service. Unfortunately we always have time synchronization problems. It would be great if it ran always correctly for up to 0.05 seconds. How can we ...
1 vote
1 answer
272 views

What should I do if my server is under the attack?

I have a mail server on Ubuntu 20.04. Yesterday I set up UFW firewall which looks like: root@vmi514622:~# ufw status verbose Status: active Logging: on (low) Default: deny (incoming), allow (outgoing),...
1 vote
1 answer
2k views

SSH Reverse Tunnel keeps disconnecting with activity

I set up an SSH Reverse tunnel using ssh -o StrictHostKeyChecking=no -R 2222:localhost:22 [email protected]. The tunnel connect to the remote server and opens port 2222. I connect into the ...
1 vote
0 answers
134 views

Cannot browse or download https sites

I just installed Ubuntu 20.04 Server on VMWare. I can do apt-get update and install using https. However when the site is https it Times Out. I have also tested this using lynx browsing https://www....
0 votes
1 answer
134 views

Source of IP address

Probably a noob question, but I need some help in trying to determine where an IP address originates from. So I have a Raspberry 4 with Ubuntu 20.10 installed. I've initially configured a static IP ...
0 votes
1 answer
1k views

Ubuntu server with GUI starting at console

I installed an ubuntu server 20.10 on a raspberry PI 4. Fine so far. Then I installed Xorg. (sudo apt install xorg) After I reboot, the system starts at GUI (I belive GNOME, but I may be wrong). I ...
4 votes
1 answer
11k views

equivalent of --net=host in docker compose file when creating docker container

I trieddocker run --net=host -d --name pdns-recursor pschiffe/pdns-recursor and it works. Now my goal is to use dockerfile to pass some environment without errors. I tried: networks: name: host and ...
0 votes
1 answer
857 views

Using Ubuntu 20.04 and phpmyadmin on php 7.4 how to setup non localhost connection

I am using a HEADLESS cli server so there will not be a gui on localhost for this, SSH won't allow a browser to work, and adding an xservice for remote display really is not worth it for this server. ...
0 votes
0 answers
1k views

Booting Ubuntu Desktop for the first time without monitor and accessing it through SSH

I do not have a monitor, keyboard, or mouse plugged into my Raspberry Pi 4. I am able to flash Ubuntu Server to an SD card and boot the Raspberry Pi for the first time and then simply SSH into it. ssh ...
0 votes
1 answer
422 views

Critical Issue - Apache2 Errors Failed to Start Ubuntu 20.04.LTS

I have been trying to install Magento 2.4.4 on a localhost server that is for testing purposes and have the Magento 2.4.2 already unzipped in the Magento2.4 folder and the Apache page shows up in the ...
0 votes
1 answer
539 views

How to configure Intel Wireless N 7260 on Ubuntu Server 20.04.1

I've just installed Ubuntu Server 20.04.1 on a Sony Vaio Pro laptop. I'm not sure how to configure the Wi-Fi chip. The chip is an Intel Dual Band Wireless N 7260. The same laptop previously had Ubuntu ...
0 votes
4 answers
2k views

I have a problem with SSH (or any port) I can't fix

I own a refurbished HP Proliant DL380 G7, for a small project I've been working on (It’s the first time using a server and setting it up). But after I set up Ubuntu 20.04 on it, the first thing I did ...
0 votes
0 answers
214 views

Does Samba 4.7.6 running on Ubuntu 18.04 support the storing of a Windows encrypted file or folder without losing encryption?

I have a single text file on my Windows 10 Desktop that I've encrypted using the Windows "Files->Properties->General->Advanced "Encrypt contents to secure data." When I try to ...
0 votes
1 answer
3k views

How can we make connecting to openvpn access server not prompt password?

My Ubuntu 20.04 connect to remote openvpn access server using systemd unit. ubuntu@worker-0-node1:~$ sudo systemctl start openvpn@client 🔐 Enter Auth Username: ovpnserve 🔐 Enter Auth Password: ******...
0 votes
1 answer
6k views

ssh tunnel - bind: Address already in use

I am running on my VPS Ubuntu 20.04.1 LTS and locally Ubuntu 18.04.3 LTS and I want to create a ssh-tunnel to connect to my database to run SELECT's for reporting in my laravel 6 application. My ...
1 vote
1 answer
405 views

Ubuntu Server Install for Plex - not using HDD just small NVME

On an unused machine that was formally a windows pc I have installed Ubunutu Server and then installed plex. This, through a process of trial and error, is working. I had a number of media files on ...
2 votes
1 answer
681 views

Permission denied (publickey) when sshing

As the title says, I started getting the Permission denied (publickey) error today. I was able to log in this morning before this started no problem and this seems to have started happening after I ...
0 votes
1 answer
3k views

How to install Ubuntu server 19.10 on orange pi 3?

I have a Orange pi 3 , I have tried to install Ubuntu server 19.10 (arm64 version ) on my board but it was unsuccessful: I wrote ubuntu-19.10-live-server-arm64.iso on a TF card via balena Etcher. Then ...
0 votes
1 answer
3k views

Ubuntu 20 network changes not in GUI or with nmtui are not reflected in netplan files

In Ubuntu I set from the GUI multiple network interfaces with both IPv4 and IPv6, on some static on others automatic. I checked in /etc/netplan the *.yaml file and no changes are reflected here. Why ...
0 votes
0 answers
170 views

Multiple host names on vServer

I'm using two nginx files - one for the vue frontend and one for the nginx backend (proxy_pass). The current spcecified host name in /etc/hosts which I'm using in the nginx vue config. Like: ...
1 vote
1 answer
2k views

SSH doesn't detect authenticationmethod

So basically I'm trying to create an SFTP account for a part of my server that doesn't need an SSH-Key nor googles-2fa-pam module. I've got the following setting in my /etc/ssh/sshd_config file: ...
0 votes
0 answers
1k views

Ubuntu server 20.04 LTS can't restart/shutdown the system

Recently I assembled a tiny server based on Gigabyte GA-IMB370TN and Intel core i3-t9100. Then I installed Ubuntu server 20.04 LTS on it. By the time I write it I did $ apt update; apt upgrade and it ...
0 votes
0 answers
97 views

Access OpenVPN Client from public IP

Hi i just setup OpenVPN Server with Ubuntu Server to play PS4 over Internet (With Remote Play) since my ISP doesn't give me a public ip so i create a OpenVPN in Google Cloud. And i've successfully ...
1 vote
0 answers
452 views

Install Shadow demon on ubuntu 20.04 server

Hi for best security practise , I would like to install Shadow deamon (web application firewall) in virtual environement using vmware workstation 16.x.. I install docker , download the file from ...
0 votes
0 answers
358 views

How can I reduce partition on /dev/sda from 80G to 70G

I tried find out the solution but I am not lucky to resolve. Pleases every body has an idea please share me. Thank you!
2 votes
2 answers
2k views

Missing UFW file - WARNING "Couldn't stat '/etc/ufw/before.rules'"

I am trying to configure UFW on Ubuntu 20.04lts and this file is missing from my system and I get this warning "Couldn't stat '/etc/ufw/before.rules'". Is there any way to fix this? Thank ...
0 votes
0 answers
550 views

Configuring Apache2 (latest) for Localhost Only Ubuntu 20.04lts desktop

I need some help configuring Apache2 to work on my Ubuntu 20.04lts pc. I am a beginner working with Ubuntu and setting up a server so I kind of need things explained for a novice. The purpose is to ...
0 votes
1 answer
434 views

Cannot see Apache2 in Browser Ubuntu 20.04lts

I have installed Apache 2 in Ubuntu 20.04lts and have confirmed it is running and I have configured UFW to allow Apache Full and have confirmed they are running. However when I put the Local IP ...
0 votes
1 answer
18 views

Open a file on server's dispaly device

Ubuntu 18.04 server is running on a laptop connected to a TV via HDMI. I able to see to CLI environment, but I don't have access to the keyboard. Now, there is a file on this server that I wish to ...
0 votes
2 answers
2k views

What Ports do I need to keep open to access my SSH Server with non-default Port

I'm not using Port 22 for my SSH but something above 47000 I have ufw (uncomplicated firewall) installed and have unblocked "ssh" and "http" When I look into the current ufw status he says that Port ...
0 votes
1 answer
1k views

Logged in Sudo User keeps getting Permission Denied Messages

I have been trying to install a LAMP setup on a linux PC under Ubuntu 20.04lts. I am the primary sudo user and I keep getting "permission denied" messages when trying to save nano files and ...
0 votes
2 answers
2k views

Rocketchat-server proces running on my Ubuntu 20.04 server?? (NEVER INSTALLED)

node /snap/rocketchat-server/1455/main.js is running on my ubuntu server when I issue htop command, I never installed it, didn't know what it was and am never gonna use it. It's using 7% of my ...
2 votes
2 answers
153 views

Cannot remove or purge mysql-server after upgrading to 20.04

I tried running mysql after upgrading to 20.04, but it couldnt, so I tried removing it, but everytime i try to use the package, wherever is removing or purging, i always stumble into this: lsudo apt ...
0 votes
0 answers
86 views

restarting ssh, wifi and related processes

Often when I am connected to a remote server using ssh I am unable to ssh into the same server again after the connection got interrupted. (For example by my laptop suspending.) Restarting the laptop ...
0 votes
1 answer
263 views

Is there any way to rollback `dpkg-reconfigure iptables-persistent rollback`

In a very-not-my-best moment, I was trying to configure a laptop following some documentation. I followed the instructions in the documentation: sudo sysctl net.ipv4.ip_forward=1 sudo iptables -t nat -...
1 vote
1 answer
1k views

How to scroll through Ubuntu server (keyboard)?

How can you scroll through previous output on the terminal screen (keyboard)? shift+pgup does not work, shift+pgdown produces "~", shift+up shows history and shift+down does nothing. I do ...
0 votes
1 answer
408 views

Not Able To Login Using SSH Key

I'm having some troubles getting Public Key Authentication working on my server. I'm currently running Ubuntu 18.04 LTS. I've got my Public Key added to the authorized_keys file for root but it keeps ...
0 votes
0 answers
101 views

Cannot start Apache on Ubuntu 18.04

I recently upgraded from Ubuntu 16.04 to 18.04 While my apache was working the first days, it suddenly stopped and i cannot find the reason. service apache2 status gives: ● apache2.service - LSB: ...
0 votes
1 answer
32 views

Hosting Apache2 log File

Currently I am trying to host my apache2 log file, with no luck. Here is the error i am getting tail error.log I am running the most up to date version of Apache. Here is my config. 000-default-le-ssl....
0 votes
1 answer
98 views

Play a file located on a remote laptop, in that machine itself from distant machine

I have two Linux machines. The first is an old laptop that has an ubuntu 18.04 server and serves mainly as a storage device over a home network(as well as an experimental machine); the second machine ...
0 votes
1 answer
1k views

Apache https redirect URL error

I have an Apache website and I set up a redirect so that it will always go to the HTTPS version of the site. I added this under the port 80 Virtualhost configuration: Redirect permanent / https://...
0 votes
0 answers
217 views

Static IP connection after bare metal install of 20.04

Problem: Convert boot-up to Static IP Address instead of DHCP on New Ubuntu 20.04 install. First, I'm a newbie and thought I would learn Ubuntu by installing it on a second PC I have on my home ...
0 votes
1 answer
47 views

Server with ubuntu instaled [closed]

I bought server on Hetzner, put ubuntu on it and use it to put some files on it. Now I download those files via android application. Everything works fine but I don't understand few things: I can ...
7 votes
2 answers
2k views

Is there any advantage to setting up a personal cloud instead of running a personal server without virtualization?

I currently have my old PC sitting in my closet being a headless server (running Ubuntu Server). I use it as a file server, web server, and backup server. (The hostname is mneme, the Greek muse of ...
1 vote
1 answer
3k views

How to install redis-server with version 5.0.7 on ubuntu 18.04?

I want to install redis-server with specific version.
1 vote
1 answer
4k views

Ubuntu 20.04 autoinstall: print late-commands output

I have an autoinstall config: #cloud-config autoinstall: version: 1 late-commands: - curtin in-target --interactive --target=/target -- echo "Hello! This is output from late-commands"...
2 votes
1 answer
5k views

Setting up vhost on VirtualBox with Ubuntu 16.04 [duplicate]

I am pretty new to development and this is why I am stuck at such a "beginners" problem. I want to have a directory under /var/www/mysite with a index.html and access it via web browser on my PC (...
0 votes
0 answers
442 views

X display, Ubuntu server

I have Ubuntu server installed on a Raspberry Pi. I need to run chromium on it, but I keep getting this error message: Error: Failed to launch the browser process! Unable to open X display. How can ...
0 votes
1 answer
662 views

Docker installation failed on Ubuntu 16.04 (unknown error)

I’m trying to install BigBlueButton and it workes so far (sudo bbb-conf --status marks all parts as active). The docker installation using the repository fails, though (sudo apt-get install docker-ce ...

1
84 85
86
87 88
331