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,538
questions
0
votes
0
answers
2k
views
How can I change owner of mounted directory?
I'm using ubuntu server 20.04 on raspberry pi 4 and I want to change the owner of the external drive for changing permission for my server. But I can't change the owner even using sudo su and chown. I ...
-1
votes
0
answers
461
views
How do i install Lamp using the live server installer?
During the process of installing Ubuntu server in the past I was able to install LAMP, DNS and other services. I no longer see a way of doing this, Am I missing something?
0
votes
1
answer
1k
views
Why my server didn't restart after reboot command?
I'm currently away (700Km) from my server, but did an apt upgrade through ssh and requested a reboot. The server stopped with a graceful shutdown but didn't restart.
A friend looked at the server and ...
0
votes
2
answers
58
views
Multiple Ethernet Ports losing configuration and not getting up after boot
I have recently installed Ubuntu Server 20.10 on Desktop PC, with 3 ethernet ports on that PC.
The problem is that:
Whenever the server is rebooted, the ethernet ports do not automatically go up ...
3
votes
3
answers
2k
views
Find the total CPU usage on Ubuntu server version 20.10 without installing additional tools
I need to find the total CPU(s) usage of the server without installing additional tools.
Do I understand correctly that the field id of the top command in CPU(s) line can help me with it?
Can I do 100 ...
0
votes
1
answer
525
views
Using 'if' inside two 'while' loops in bash -- 'if' completed skipped
I already looked for "using if inside a while loop bash" and haven't found my situation.
I have a text file that is a list of devices. Each line in the text file is a short string without ...
4
votes
1
answer
1k
views
Ubuntu 20.04 installer downloads ISO more than once
I have been working through the example posted by Andrew Lowther at Automated 20.04 Server Installation using PXE and live server image . For example using a linux cmdline similar to:
linux /vmlinuz ...
0
votes
1
answer
2k
views
does ping work behind squid proxy?
I wonder if it is possible to use ping command behind a proxy?
I'm really confused because this page says:
how does ping work over proxy?
that it is not possible to use ping command behind proxy.
but ...
0
votes
2
answers
269
views
BackupPC: SMB share backup does not back up OneDrive folders inside the SMB share
Pretty new to Ubuntu as I built a small server/NAS to back up my photos to.
I am running Ubuntu 20.04 LTS on the server and created a 3 disk Raid Z1 pool as my backup volume.
I set up BackupPC to ...
2
votes
1
answer
589
views
How to set “live-installer” media and “grub-installer” in Ubuntu 20 autoinstall configuration
How to set "live-installer" media in Ubuntu 20 autoinstall configuration.
I searched in the docs but I didn't found the equivalents of the pressed for:
d-i live-installer/net-image
d-i grub-...
1
vote
1
answer
5k
views
modprobe: FATAL: Module ip_vs not found in directory /lib/modules/5.4.0-1036-kvm
When I run command:
root@net-node01:~# modprobe ip_vs
modprobe: FATAL: Module ip_vs not found in directory /lib/modules/5.4.0-1036-kvm
I was install ipvsadm with command:
apt install ipvsadm
But when ...
0
votes
0
answers
347
views
OVH VPS Postfix can't receive external emails
I hope this is the right place where to ask for this kind of stuff, If not, please let me know.
I'm pretty new to mail server in generals, I bought a VPS from OVH services for other needs and decided ...
0
votes
1
answer
168
views
Ubuntu 16.04 LTS server unable to boot
My Ubuntu 16.04 LTS server is unable to boot. when I power on the machine, it starts briefly but then shuts down immediately and powers on again but in a repeat cycle. Initially, I thought its some ...
4
votes
1
answer
7k
views
Autoinstall build of Ubuntu Server 20.04, does not autoinstall
I'm trying to build a Ubuntu 20.04 server with autoinstall. But it looks like it isn't picking up the setup file.
I'm using packer, however I also tried this manually and got the same result:
Setup:
/...
1
vote
1
answer
240
views
Why can I not password protect specific URL paths?
I have a directory that I would like only real users to access.
That directory is www.example.com/video
I have gone into /etc/apache2/apache2.conf and made sure that the following was set:
<...
0
votes
0
answers
436
views
disable GPU on ubuntu server
I am using ubuntu server 20.04.2 on an old HP media desktop PC with an Nvidia graphics card. As I am using it as a webserver I don't need the graphics card to run. I installed the webserver with the ...
0
votes
0
answers
785
views
Access multiple websites configured in apache in localhost
On my Raspberry Pi 3+ I followed the instructions to install and configure apache, and now I can view:
Default apache configuration on localhost, and
GCI webpage on gci.example.com
Configuration ...
1
vote
1
answer
1k
views
Is there a problem with my Ubuntu RAID array
I have an Ubuntu 18.04 server with two 1Tb drives in a software RAID1 array, configured during the OS installation process. I wanted the check the health of the array and disks this evening and am not ...
0
votes
1
answer
38
views
Will Ubuntu Desktop OS get erased if I install Ubuntu server (If not how do I erase the Ubuntu desktop OS)?
Recently I installed Ubuntu desktop and ran some tests. But now I want to run servers and I want to completely wipe the disk and the Ubuntu Desktop OS and freshly install Ubuntu Server OS. Will Ubuntu ...
0
votes
0
answers
45
views
Cannot change permissions for SMB share
I am having a permissions issue and looking for some guidance, I have installed sonarr which the sonarr user needs to be able to write to a SMB network share I have setup. I cannot seem to change the ...
0
votes
0
answers
527
views
Apache2 local virtual host doesn't work
I have a new installation of apache2 on ubuntu 20.04.02, but I have a problem with setting a localhosted virtual host:
In /var/www/site.local/htdocs I have my vhost folder.
Next I set in apache2.conf ...
2
votes
1
answer
2k
views
Black screen installing Ubuntu Server 20.04.2 from USB
I've created an Ubuntu Server 20.04.02 USB drive with Rufus, but when trying to install it on a brand new machine it dies after the GRUB screen when I select "Install Ubuntu Server". It's ...
1
vote
0
answers
459
views
IPv6 and OpenVPN
I have a question about a 'theoretical' configuration, I wanted to see if it is achievable and further if it is common practice
I am not new to Ubuntu but I am no pro, I am using Ubuntu server 20.04
...
1
vote
2
answers
706
views
Why is tr.archive.ubuntu.com down?
I'm from Turkey and updating and or such was working before until today or the other day it broke. It was saying a temporary DNS error when connecting to tr.archive.ubuntu.com. I tried connecting to ...
1
vote
1
answer
167
views
How to stream data from one ubuntu terminal to another terminal
I am trying to stream a data (random) from my virtual instance on AWS EC2 ubuntu machine. I have a python script that generates some random data on the terminal. I want to get this stream of data on ...
1
vote
0
answers
67
views
HDD error or system hardware failure on aging home server?
I have ubuntu 20.04 desktop machine that I'm using as a home media server.
I have the system installed on an SSD. There is also a Raid 5 mdadm array with 3 4TB seagate Iron Wolf Pro drives that are ...
0
votes
0
answers
152
views
How to test to see if packets are moving between two ports on a dual port NIC
I'm trying to set up a home router on Ubuntu 20.04 Server.
I have followed dozens of on-line tutorials, and for the life of me, I can't get this to work.
As soon as I get everything set up, nothing ...
2
votes
1
answer
367
views
Problem with updating libcap2 100:2.48-1
Out of nowhere just recently when I tried to update the package (libcap2 100:2.48-1) on my server (Ubuntu 20.04.2) it's refusing to do the update cause a problem with the dependency
Reading package ...
0
votes
0
answers
2k
views
ERROR: ld.so: object '/usr/lib64/libthread.so.1' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored
I have multiple Ubuntu & Debian servers & today all of them started outputting the following message when running commands on the shell:
ERROR: ld.so: object '/usr/lib64/libthread.so.1' from /...
0
votes
0
answers
158
views
SSH Permission denied between servers running bash script
I am configuring access between servers but I am getting the access denied return message. Altogether I have 4 servers with Ubuntu Server 18.04.4 LTS installed and within the same IP range. They all ...
1
vote
2
answers
597
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
...
2
votes
2
answers
642
views
Installing and switching to desktop environment on Ubuntu Server 20.04
I am fairly new to Ubuntu Server. I know it is possible to install a desktop environment. Once I have done so, how can I:
Always boot into the command-line?
Start the desktop environment from the ...
0
votes
2
answers
139
views
No more free space on main partition
I start by saying i am a noob in Linux systems and the only reason i need help is because i built a home server to have a bit more complex developing environment plus the obvious benefits like media ...
1
vote
1
answer
562
views
cannot ssh to raspberry pi 400 with ubuntu server 20.10 [closed]
I did a fresh install of ubuntu server 20.10 server 64-bit arm using pi imager in a 16 GB MicroSD card for a raspberry pi 400. I have uncommented the WLAN0 and subsequent lines, given the Wifi SSID ...
0
votes
1
answer
617
views
How to display a whole php website file set in apache2?
I am new to web page design, I have seen graph editors used for example in windows. The question is that I have been working on Ubuntu server and I have done everything through vim and saving those ...
3
votes
2
answers
939
views
Limiting the size of a ZFS dataset for timemachine
I am trying to create a ZFS dataset with a limited size to share as a timemachine. I have managed to get the timemachine share working using netatalk but I am unable to limit the size of a zfs dataset ...
3
votes
2
answers
2k
views
Unable to transfer file from windows subsystem for linux to remote server
I am currently working on a windows 10 laptop. I have installed the ubuntu subsystem (instead of PUTTY) in it to access the remote server. When I launch the ubuntu subsystem from my windows start menu,...
0
votes
1
answer
88
views
Ubuntu Server won't boot GBT
I have an hp proliant ml10 v2 server.
The USB ubuntu install only works with ubuntu 18 as 20.4 and 20.10 goes black screen after grub menu.
After installing ubuntu 18 the system says non system disk.
...
0
votes
0
answers
28
views
Ubuntu 18 with 2 externals and one internal NIC, I can only acces my server from one external NIC at a time
Internal network : 192.168.10.X
External network : 149.58.60.X
Here are my interface :
eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:...
1
vote
3
answers
5k
views
MONGODB ERROR 14
Mar 27 16:13:41 localhost systemd[1]: Started MongoDB Database Server.
Mar 27 16:13:42 localhost systemd[1]: mongod.service: Main process exited, code=exited, status=14/n/a
Mar 27 16:13:42 localhost ...
0
votes
1
answer
538
views
Cleaning up swap issues on Ubuntu Server 20.10
Question spawned from a previous question found here:
Very long startup time on Ubuntu Server (network configuration)
I have two swap partitions mounted in my fstab which seems odd. I'm guessing it's ...
0
votes
2
answers
1k
views
How do I set a static IP in ubuntu server 20.04?
I tried editing /etc/network/interfaces but the file is empty
I also tried using nmtui to edit the network configurations but it shows that there are no configurations set at all. Can anyone help?
0
votes
0
answers
51
views
Unable to install drivers with an Internet connection
I have a Lenovo IdeaPad S145-15AST with a Fresh install of Ubuntu Server 20.04 LTS.
It has no Ethernet port and doesn't have WiFi drivers. I'm trying to install WiFi Drivers for the Realtek RTL8821CE, ...
0
votes
0
answers
415
views
Why can't change ip ubuntu server 20
In host main, has service dhcp with bind9
And configure for distribute ip static for one new mac 11:27:00:6a:5b => 192.16.2.23.
But when installed the system operation Ubuntu 20, services dhpc ...
0
votes
1
answer
4k
views
SSH using putty : Network error connection timeout
i am using Ubuntu server 20.04 lts i have configured static IP and can ping google.com and i can also ping server from another computer vice-versa. my ssh status is active and port 22 is listening but ...
0
votes
1
answer
5k
views
Ubuntu server root on ZFS mirror
Is it possible to install Ubuntu Server (root) on a ZFS mirrored pool. E.g.
ssd1
partition1
partition2
ssd2
partition3
partition4
Then create a ZFS mirrored pool 'root' with partitions 1+3 and ...
-1
votes
1
answer
27
views
i got this errors on service restart apache2 how can i solve it
error image in my pc
I tried to uninstall and install apache2 but I got the same error
2
votes
1
answer
4k
views
Impossible to install MySQL 5.7 on Ubuntu 20.04
This is what I've done so far on a fresh Ububntu 20.04 installation:
wget https://dev.mysql.com/get/mysql-apt-config_0.8.12-1_all.deb
sudo dpkg -i mysql-apt-config_0.8.12-1_all.deb
In the prompt, I ...
0
votes
1
answer
282
views
Access Files from Android
I'm using Ubuntu 20.04.2 Server, and I want to access and copy the files from my android phone to the server. I had try to look what is inside my /run/user/1000/gvfs, but it don't even have the gvfs ...
0
votes
1
answer
71
views
multiple domains on one sever using nginx
I want to run multi websites on one servis, the problem is both domains redirect to domain1
domain1.com.conf
server {
listen 80;
listen [::]:80;
root /var/www/domain1;
...