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,560
questions
1
vote
2
answers
2k
views
20.10 Server WiFi drops connection frequently
We have setup an Ubuntu 20.10 Server having an Intel Wireless Card, the WiFi extremely shaky with frequent disconnections, almost once every minute. The details are as follows:
Ubuntu Version:
...
1
vote
1
answer
14k
views
How to permanently save the content of /etc/resolv.conf
As I mentioned in the title, ctrl+s doesn't permanently save the content of that file, if I rebooted my machine I lost all the configuration I did in there, an help, please.
1
vote
1
answer
616
views
Port Forwarding rule to make local machine accessible through WAN
I wish to set up a configuration on my home network on one of my machines. Namely, I wish to make it feasible to access it via ssh (the machine runs dropbear for ssh) but externally. Here's an "...
1
vote
2
answers
7k
views
Why does local time reset itself to wrong time after "timedatectl set-time"?
I have a server (Ubuntu 20.04) with an asynchronous time (wrong by around 7.5 minutes; RTC already seems to be equal/close to the "real" time) which I want to correct:
timedatectl
...
1
vote
2
answers
603
views
How to Make Directories with the Same Parent Name
How to Make Directories with the Same Parent Name?
In my library, I have the following layout:
DataFolder
PATIENT A
FOLDER1
FOLDER2
FOLDER#
PATIENT B
...
1
vote
2
answers
3k
views
Filezilla cannot upload file on ftp on Ubuntu: 533 transfer failed
I have Laravel project on Ubuntu. Project is placed in /var/www/html/myproj.
I have my local project on Windows and after some changes I want to upload MyController.php on Ubuntu.
From Filezilla I get ...
1
vote
1
answer
1k
views
Deluge keeps giving problems no matter how hard I try
I originally wanted to post this on the Deluge forums. The problem is that to sign up for an account, you have to answer a question that I genuinely don't know the answer to:
But now the problems:
...
1
vote
1
answer
1k
views
How do you add the password into ~/.ssh/config file for custom ssh connections
I have multiple ssh connections I want to add to the config file in the .ssh directory, but it seems the password field is not catered for. Below is the error I get:
Is there any workaround for this?
1
vote
1
answer
1k
views
Boot messages in login screen in Ubuntu Server 20.04
I have quite bizarre issue after boot sequence, where boot messages continue on login screen and sometimes prevent from typing in user name. I've reinstalled few times, but issue persists. Is it to ...
1
vote
1
answer
4k
views
why am i unable to scroll? ubuntu 18.04
I have tried everything it seems. Ive reinstalled recently and now unable to scroll.
Im using ubuntu 18.04 server
Shift + pageup/down does nothing. Ctrl + shift + up/down key does nothing. Ctrl + A ...
1
vote
1
answer
910
views
Ubuntu Server 20.04 freezes after a few hours if no monitor connected
I'm having this problem from ubuntu 18.04 (now upgraded to 20.04).
I've bought this mini pc:
SeeKool Z83-V
Intel Atom x5-Z8350 Processor
4GB Ram
64GB Rom
Graphics HD 400
1000Mbps LAN
4K MINI
USB 3.0
...
1
vote
1
answer
722
views
Cannot ssh to the remote server from my local computer Permission denied (publickey)
I changed my remote server ssh port from 22 to 2222 and after that I restarted the server and now i cannot ssh to my server. it always gives me Permission denied (publickey)
I use ssh [email protected] ...
1
vote
1
answer
1k
views
nginx.conf and php issues after Upgrade to
I just upgraded my ubunut server on AWS to Ubuntu 20.04.1 LT from Ubuntu 16.x
I had some issues upgrading at first, but I was able to move past those. Once I upgraded though I could not get nginx to ...
1
vote
1
answer
9k
views
Ubuntu Server 20.04 LTS no internet using static IP for ethernet and dynamic for WIFI
I'm configuring a raspberry cluster using Ubuntu Server 64bits 20.04.
I need a static ip for my master and the master will also share the internet from the wifi forwarding to the ethernet and then to ...
1
vote
2
answers
19k
views
How can I SSH into another computer over USB?
I have a mini PC running Ubuntu server 20.04. I also have a laptop running Ubuntu desktop 20.04. I want to set up the mini PC so that if I connect a USB cable from it to my laptop, I can SSH into it ...
1
vote
1
answer
114
views
replacing text between brackets from text in file
I have configured the server instance in code
"instance": [
{ "address": 127.0.0.1,
"port": 6514
},
{"address": 127.0.0.1,
"port": 6515
}
]
...
1
vote
1
answer
1k
views
No internet upon ip change for server 20.04
I re-organized my router setup and everything got a new ip (I am discussing internal ip's here). So, I changed the server's static ip in netplan/50-cloud-init.yaml.
network:
version: 2
ethernets:
...
1
vote
1
answer
2k
views
Ideal RAM usage in Ubuntu server 18.04 LTS? [closed]
I have my ubuntu server setup at Amazon AWS.
Specs are-
RAM - 1 GB
Processor - Intel Xeon, a single core allotted to me.
When I login, I find that RAM usage is always near 42%, I have setup apache2 ...
1
vote
1
answer
494
views
I want to access two websites from same IP but diff ports
I have deployed my apps on apache and can access them from sites-available . but at a time I can enable 1 I think. how to enable both at a time in on diff port?
1
vote
1
answer
9k
views
Can't connect to Apache webserver running on Ubuntu 20.04 headless server
I'm setting up NextCloud, but I'm having trouble connecting to my web server. Apache seems to be working until I try and connect to the IP in my browser which just times out or get 100% packet loss if ...
1
vote
1
answer
258
views
Default download server in Software & Updates
Noob question, why the default Download server in Software & Updates is United States when my location is Singapore?
Furthermore, when I click "Other" and attempt to "Select the ...
1
vote
1
answer
1k
views
Ubuntu Server only using 200/500GB on SSD
I just installed Ubuntu Server on a 500GB SSD, and it seems like the mount for / is only using 200GB. Here's the output from df -h:
Filesystem Size Used Avail Use% Mounted on
...
1
vote
1
answer
699
views
How to add .htaccess code to apache2.conf?
I want to add my .htaccess code into /etc/apache2/apache2.conf.
I want to combine these:
.htaccess file.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
...
1
vote
1
answer
2k
views
Can login to sftp, but not to ssh shell
I was trying to setup a new sftp user for my server (Ubuntu 20.04). I created the user my-user, added a public key to his .ssh/authorized_keys file and decided to test an SSH login before anything.. ...
1
vote
1
answer
4k
views
Docker Misbehaving on ubuntu 18.04 behind squid proxy
I have 3 servers behind an squid proxy. On all of them , proxy works without any problem for all sites , but, http://registry-1.docker.io , works just on one of the servers. All /etc/hosts and /etc/...
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
2
answers
1k
views
Can't restart Apache2 - Error
I currently have a problem with my website after trying to renew my SSL certificat.
I've done all the steps mentionned in this tutorial : https://www.digitalocean.com/community/tutorials/how-to-...
1
vote
1
answer
3k
views
There is no space left on the device
sudo df -h
udev 982M 0 982M 0% /dev
tmpfs 200M 5.3M 195M 3% /run
/dev/vda2 40G 5.2G 33G 14% /
tmpfs 1000M 0 1000M 0% /dev/shm
tmpfs ...
1
vote
1
answer
761
views
netplan nameserver settings not used in nslookup for specific interface
I have been researching and trying stuff out all morning and I can't seem to wrap my head around it. Bear with me, in case I am missing something basic here.
The Scenario:
I have configured ...
1
vote
2
answers
844
views
How to get out of a Netplan rabbit hole?
0. Introduction
I've just installed Ubuntu 18.04.4 LTS (server) on an old-ish Dell Poweredge 510 - formerly hosted Windows 2008R2.
The installer "mentioned" an issue with the network adapters. This ...
1
vote
1
answer
5k
views
How do I Get This Python Script to Execute on Boot or Login?
I'm trying to execute a Python script that starts software for my server. The server software must run in a terminal window for user input and status information.
Notes:
Server has GUI
Ubuntu 19.10
...
1
vote
1
answer
10k
views
Load key "privkey.ppk" invalid format
What have I done:
I'm trying to connect to my remote server with private key with
ssh -i privkey.ppk root@ip
But it's returning an error.
Error message:
Load key "privkey.ppk": invalid format
root@...
1
vote
2
answers
868
views
Random SSH IP from China
My nas server running ubuntu-server 19 has the 22 port open for remote access and I was just casually looking at netstat when I noticed a strange IP. Turns out it's from china and when I looked it up, ...
1
vote
1
answer
6k
views
How to pernamently change MAC address on ubuntu server 18.04?
I want to permanently change MAC address of my network card on Ubuntu 18.04 LTS server, so I tried to follow some internet tutorials as well as similar answers on here, but they seem to all be for the ...
1
vote
1
answer
1k
views
DNS server doesn't work (18.04 LTS)
I have set up my ubuntu 18.04 server as a cache-only forwarding DNS server:
cat named.conf.options
options {
directory "/var/cache/bind";
recursion yes;
allow-query { 0.0.0....
1
vote
1
answer
2k
views
MySQL root password settings and sudo mysql VS mysql
My question may found duplicate as even I search a bunch of things, but as very much new to MySQL and little old to Ubuntu I am working on raspberry pi and trying to install the MySQL server to ...
1
vote
1
answer
2k
views
mv: cannot stat 'wordpress/': No such file or directory
I am stuck. For two days I have been trying to install Wordpress on my VPS (Ubuntu 19.04). Everything is going well to the point where I want to move wordpress to a "wordpress" folder. Both folders ...
1
vote
1
answer
2k
views
How to expose VM image outside host machine?
I have created a VM image (Ubuntu 16.04.6) in VBox on Windows and wanted to access it outside the host in my network. I am facing challenge in achieving this.
These are the steps i followed:
created ...
1
vote
1
answer
649
views
Subscribe to mail folders with evolution-ews on an EWS server
I am using the evolution email client with the evolution-ews (github) Exchange Web Services (EWS) integration package to connect to our companys Microsoft EWS server.
I have some server side rules ...
1
vote
1
answer
1k
views
Bypass ISP Restrictions - Squid Proxy on Google Cloud
My aim is to bypass ISP restrictions. In Turkey, a lot of sites are restricted (including Wikipedia). Of course there are a lot bypass methods, like buying a VPN account, using Opera with VPN, etc.
I ...
1
vote
1
answer
2k
views
Why is NetworkManager included in Ubuntu Server 18.04?
I am a bit confused about why NetworkManager (and Modem-Manager) are a part of Ubuntu Server 18.04 and why they are enabled services by default.
My understanding is that Netplan is the default tool ...
1
vote
1
answer
2k
views
Connected to remote VPN, now can't connect to server
So I'm not the most tech savvy, but have a VPS I connect to via IP and putty key. I went ahead and followed this tutorial to installing and using OpenVPN through the linux terminal, but after doing so ...
1
vote
2
answers
11k
views
How to point a hostname to an ip address
I have a running webserver, that can be called via http://localhost:9000/.
What I am trying to archive is, instead of calling http://localhost:9000/, I would like to call http://repo.sweetsoft/.
I'...
1
vote
2
answers
2k
views
systemd wont use dockerd configuration file
I have to use systemctl daemon-reload and systemctl restart docker after every reboot, then the docker service will use daemon.json file to override default settings.
Ubuntu server 18.04, docker-ce ...
1
vote
1
answer
1k
views
Bitnami Lamp on Ubuntu mysql command not working in terminal
Installed a fresh Bitnami Lamp from here https://bitnami.com/stack/lamp/installer
Now the localhost and phpmyadmin in browser is working but when in terminal i typed mysql command in lamp/mysql/bin ...
1
vote
2
answers
2k
views
After changing permission of ~/.ssh/authorized_keys and the ~/.ssh directory I get a permission denied (public key)
Without changing the permissions this error doesn't occur. I'm changing them with:
sudo chmod 700 ~/.ssh
sudo chmod 600 ~/.ssh/authorized_keys
(same steps as in this answer)
1
vote
1
answer
4k
views
Unable to establish RDP connection with XRDP
I have installed Ubuntu 18.04.2 and installed xrdp package on it and set xfce as desktop environment.
When I try to use RDP from Windows I got a login screen with 3 input fields, where session is set ...
1
vote
1
answer
353
views
Why does static IP in Ubuntu 16 work only like this?
We have a windows server with DHCP and 2 Linux machines with Ubuntu 16
if we set /etc/network/interfaces like this:
# The loopback network interface
auto lo eth0
iface lo inet loopback
# The ...
1
vote
1
answer
227
views
Which ubuntu server iso version could support "Try Ubuntu"?
I'm trying to search an ubuntu server version and don't care the version, but it should support "Try Ubuntu". I have downloaded some ubuntu server iso image, all of them could not support "Try Ubuntu"...
1
vote
2
answers
430
views
Is there a way to see my server's mediawiki version using the terminal?
So I was following a guide for upgrading MediaWiki. I want to know how can I check my installed version.