Questions tagged [ubuntu-server]

An edition of Ubuntu which provides server applications and a text-mode environment in place of a GUI. You may want to consider asking on http://askubuntu.com/.

Filter by
Sorted by
Tagged with
0 votes
1 answer
76 views

Can not install Ubuntu Server v23.04 guest on macOS host machine in virtual box

I tried to set up Ubuntu Server v.23.04 guest machine for SSH remote access in my virtual environment using Virtual Box v. 7.0 hosted on macOS Monterey 12.6.5 . To my surprise I receive some errors. ...
Albi93's user avatar
  • 1
0 votes
1 answer
135 views

How to configure multiple old desktops as Kubernetes cluster?

I have been accruing some old gaming PCs that my friends no longer need, and I would like to turn them into a place to run Kubernetes clusters. I am hoping to come up with a somewhat high availability ...
drjellybean's user avatar
1 vote
0 answers
35 views

I need help doing a bash shell script to index .inf files by hardware ID

I'm working on a new system to automate drivers installation in Windows 10/11. Some time ago, I downloaded a drivers collection from driverpack (the drivers collection is fine, but the software to ...
BorHacker's user avatar
0 votes
0 answers
26 views

dhcpd leased a permanent address - why?

I'm using isc-dchp-server on my home network. Today my only desktop client wasn't able to recieve an IP address from the dhcpd server, which is strange because it has a reserved address in dhcpd.conf: ...
Paleee's user avatar
  • 1
0 votes
0 answers
220 views

Unable to connect to VPS via ssh on any other port than 22. Connection timed out error

For security reasons I changed the port for an ssh login to a different port number. But as soon as I do and try to reconnect, I get a 'Connection timed out error'. Once I switch back to port 22 it ...
Sven Schröder's user avatar
5 votes
4 answers
1k views

Port-forward from and to WAN?

Is it possible to port-forward packets FROM the internet to another address ON the internet? All of the port-forwarding tutorials I've found focus on NAT port-forwarding but I just want to redirect a ...
hawk's user avatar
  • 265
0 votes
0 answers
40 views

User ids became numbers and I can't ssh to remote machine anymore

I am working with a remote Ubuntu server using ssh, and today, while the machine was under a good load of work, I got hit by this weird error. Checking processes with top/htop, I could no longer see ...
gianMa's user avatar
  • 101
0 votes
1 answer
222 views

How to make a no-gui virtual machine on a server?

I've got this Ubuntu server I'm running, and it's really handy to take the load off of my laptop, but I'd like to know how to set up a virtual machine on it that I can ssh into. Obviously, this ...
Thunder's user avatar
  • 31
0 votes
0 answers
71 views

Ubuntu server RAID 1 with efi

After installation of Ubuntu server 20.04 with RAID 1, /boot/efi is created only on one disk, if this disk fails system is unbootable. The solution I found is to remove disk from RAID, clone partition ...
Marcin Kamienski's user avatar
0 votes
0 answers
156 views

What went wrong? All files gone (BTRFS)

I am running an Ubuntu server 20.xx.x LTS since 2019 with some drives mounted as a BTRFS raid drive. I have never had any issues. Earlier this summer I went to another country and didn't need the ...
J. Doe's user avatar
  • 101
1 vote
1 answer
97 views

What to do when *nothing* will stop a mv command that did not finish

See screenshot. As you can see, I've tried all the things that I've read about to use. Nothing can kill this dang mv command. The last line with "mv: failed" has been there for 12+ hours, ...
Jayden Lawson's user avatar
0 votes
0 answers
20 views

SMB capped at 2 megabits on one device - same file transfer over SCP is 120 megabits

I have an Ubuntu server running a vairety of services, including samba. Recently, one of my Stable channel Windows 11 PCs has effectively lost all useful throughput (consistently 2mbit). Any other ...
Asriel Repp's user avatar
0 votes
0 answers
270 views

Setup wireguard client on Ubuntu server

I've got an Ubuntu server running on my workstation. When I installed wireguard and tried to connect to an wireguard server I've got over the seas via wg-quick I got: $ wg-quick up peer_wsu [#] ip ...
Parsa Noori's user avatar
0 votes
0 answers
567 views

Installing a new NIC into my Ubuntu server

I currently have a physical machine, running Unbutu Server 22, and connected to my router via an RJ45 port that is on the motherboard. (let's call it "the old port") I just bought a PCIe ...
Fratt's user avatar
  • 31
2 votes
0 answers
318 views

Virtualbox using VPN from host PC

Basically I have a VPN running on my pc and my virtualbox vm is using the vpn but I want it to use the local network. How do I do this?
ss ss's user avatar
  • 21
1 vote
0 answers
203 views

How do I choose which monitor displays the console of a ubuntu server?

I have a ubuntu-server 20.04.4 LTS machine with a CPU with integrated graphics, and two monitors connected via mainboard HDMI and DVI. When I start the server, the console will always appear on the ...
pulp_user's user avatar
  • 211
1 vote
2 answers
3k views

Getting "Error skipping startup message" when connecting with "sudo su" shell in WinSCP

My WinSCP config: File protocol: SCP user name: namjoo port: 22 settings > SCP/Shell > Shell: sudo su - When I try to connect I get this error: Error skipping startup message. Your shell is ...
Darwin's user avatar
  • 113
1 vote
1 answer
585 views

Auto reboot of a Luks Container

I have tried autobooting a luks container on Ubuntu Server (20.04) with a keyfile and a keyscript. My '/etc/crypttab' entry for both options are as follows. Keyfile: dm_crypt-0 /dev/sda3 /root/...
David Poundall's user avatar
0 votes
0 answers
3k views

Upgrading OpenVPN 2.4.7 to 2.5.6 results in frequent disconnects

When using OpenVPN 2.4.7 on my server (Ubuntu Server 20.04) and connecting from a 2.5.6 client (also Ubuntu 20.04), I can connect with no issue. However, when I try to use OpenVPN 2.5.6 on the server, ...
Letal1s's user avatar
  • 11
0 votes
0 answers
113 views

IP leakage after installing a VPN service

I have questions about how I can prevent IP leakage after installing a VPN service. For example, if I installed Shadowsocks, what should I do to prevent IP leakage? Thank you for your help.
Salizan's user avatar
1 vote
1 answer
661 views

how to configure network bridge for multiple ubuntu vms

I am very new to virtualization and and I have very basic understanding on networking. I have a dell server with good hardware configurations. I want to install few vms and I am using Ubuntu 20.04 on ...
Thomson Mathew's user avatar
1 vote
0 answers
186 views

Ubuntu Server refusing to install without PAE/NX on in a VM

When I tried to start up a VM with the LiveServer ISO, it gave an error for a bug where it said that the CPU was "stuck". The error was fixed when I enabled the option for PAE/NX. Why would ...
Help Me Pls.'s user avatar
1 vote
1 answer
911 views

Linux Server (Ubuntu Server 20.04) Loses Network Connectivity After One Day

I'm running Ubuntu Server 20.04. It loses internet connectivity periodically, seemingly every day, and requires me to manually intervene and run dhclient -r dhclient to restore connectivity. Honestly,...
Flat Cat's user avatar
  • 191
0 votes
1 answer
335 views

Serve multiple websites with apache including https redirects

I admit I am quite rusty with these apache server setups. I am in a position where I need to set up 1 html, 1 django, and 1 php server. Individually I have tested all 3 and all 3 work fine on their ...
addohm's user avatar
  • 159
0 votes
1 answer
3k views

Hardware RAID not showing in Ubuntu Server 20.04

I've recently repurposed an older machine I had as a NAS. I just added 4 HDDs to it intending to set them up as RAID 1+0. This is an HP Proliant Microserver Gen8. I set the drives up in the raid ...
addohm's user avatar
  • 159
0 votes
1 answer
236 views

How to understand the LogFormat directive in the apache2.conf configuration file?

In the comments before the LogFormat directive is used the following is written: # The following directives define some format nicknames for use with # a CustomLog directive. # # These deviate from ...
JConstantine's user avatar
1 vote
1 answer
232 views

Where should I place all the configurations for my web site on Apache?

I have a web site on the Apache HTTP Server that's installed on the Ubuntu Server. I create my own config file in the /etc/apache2/sites-enabled/mywiki.conf where I added the <VirtualHost>...<...
JConstantine's user avatar
0 votes
1 answer
221 views

Why do we need the <Directory> section in the following virtual host's config file?

Here is the article explaining how to install MediaWiki on Ubuntu Server. And here's how they tell us to configure the virtual host: <VirtualHost *:80> ServerAdmin admin@your-domain.com ...
JConstantine's user avatar
0 votes
1 answer
210 views

Where Apache base modules are located?

When I type apache2ctl - l I get the following list of modules currently compiled into the server: core.c mod_so.c mod_watchdog.c http_core.c mod_log_config.c mod_logio.c mod_version.c mod_unixd.c ...
JConstantine's user avatar
0 votes
0 answers
455 views

VirtualBox and linux without gui - how to change screen resolution?

VirtualBox conf: Host: Windows 10 Guest: Ubuntu Server (no gui) When I run machine output is in very low resolution and line length is limited. I tried: change scale => result: just bigger ...
Krzysztof's user avatar
  • 101
0 votes
1 answer
205 views

EFI Ubuntu not booting or shown in bios

After having installed Ubuntu Server 20.04.2 LTS, when starting my laptop it throws an error stating "No bootable device". When I enter the boot options menu by spamming F12 on startup, I ...
chappe67's user avatar
  • 111
1 vote
0 answers
198 views

WOL on macbook running ubuntu server

I am using an old macbook pro (2010) as server in my home lab. It is running ubuntu server. I would like to use wake on lan on it, so I used: sudo ethtool -s INTERFACE wol g (with the name of my ...
jlunesc's user avatar
  • 51
0 votes
0 answers
44 views

LInux disk has directory permissions and attributes d????????? ??

I have an external enclosure of four 4Tb hard drives on an Ubuntu 18.04 server, just configured as a JBOD, one of the drives being just archives that have another backup offline (thank God). I tried ...
RobG's user avatar
  • 1
0 votes
1 answer
1k views

ubuntu server image blue screened

Would anyone have a tip for running a virtual box ubuntu server image? Setting up the virtual box image seemed to go just fine, updated ok, and I did a few reboots. What I wanted to get to work was ...
bbartling's user avatar
  • 185
0 votes
0 answers
163 views

Mistake - sudo chown -Rh not-root-user /

Well that. Made a terrible mistake on ubuntu server 18.04 (production server) and ran chown -Rh some-not-root-user / Now sudo is not working. Is there any way to reverse this?
Legna's user avatar
  • 101
1 vote
0 answers
50 views

SFTP with 2fa activated on Ubuntu Server 20.04 not working

I just enabled 2fa for ssh on my Ubuntu 20.04 server. I followed this tutorial https://ubuntu.com/tutorials/configure-ssh-2fa#3-configuring-authentication With this being clarified I am using libpam-...
Ruboka's user avatar
  • 11
1 vote
0 answers
402 views

Screen as a service on systemd wont start

I'm trying to run screen on a systemd service as startup, so i can check on it later if needed, on an interactive shell, but the session wont stay up, and apparently it doesn't even start. This is my ...
TeeJay's user avatar
  • 11
0 votes
2 answers
64 views

missing the first character of each line on Ubuntu 20.04 LTS server terminal

I see the first character of each line missing on the on Ubuntu 20.04 LTS server terminal. As shown in the image How to fix it? thanks
Wasim Aftab's user avatar
0 votes
0 answers
2k views

How to activate network card from the CLI in Ubuntu 20.04 server?

I have an old Toshiba Satellite PSCP6U-01401E and I am trying to install Ubuntu 20.04 and Nextcloud to use it as a local file storage. During installation Ubuntu can't seem to recognize my Wi-Fi card ...
Akshay Bodla's user avatar
0 votes
0 answers
4k views

/dev/mapper/ubuntu--vg-ubuntu--lv does not exist. [Ubuntu Server 20.04]

Today I deleted LAMP stack from my Ubuntu 20.04 server using tasksel and, when I rebooted the server, instead of booting as usual it gave me that error: Gave up waiting for root file system device. ...
LeonardoMantovani's user avatar
0 votes
2 answers
314 views

How to create 100 unique Ubuntu VM's with virtualbox the fast way?

I want to create 100 Ubuntu VM's with virtualbox via commandline. Each Ubuntu VM should have its own unique /etc/machine-id value and unique mac address of the network adapter. There is a file with ...
mankind86's user avatar
0 votes
0 answers
728 views

Ubuntu user uid confusion for nobody user 65534

Hello Linux/Ubuntu community, I have a strange issue on a new Ubuntu 20.04 linux server. In my server I have modified the user nobody to be uid 99 without a problem, ensured there was no process held ...
Vijay's user avatar
  • 1
1 vote
1 answer
321 views

Local machine causing connectivity problems to IPv4 websites

I set up a local machine participating in a blockchain p2p network using Ubuntu Server 20.04. The computer is connected to my (low-end) home router via Ethernet cable (and/or Wi-Fi). If the machine is ...
M. Heuer's user avatar
  • 128
0 votes
2 answers
760 views

Connect to linux outside network without port forwarding

Currently I am running Lubuntu 19.04. Right now I am using samba to share my files on my local network ( anyone connected to my network can access the files ) Is there a way to access my files from ...
Ammar's user avatar
  • 1
4 votes
1 answer
5k views

Ubuntu Server 20.04 Autoinstall

I'm trying to do an hands-free autoinstallation with the brand new Ubuntu Server 20.04. Apparently, they changed their method from preseeding to the new cloud-init-based autoinstall method. I followed ...
g3n35i5's user avatar
  • 211
0 votes
1 answer
148 views

Why does the IP assignment in my router fail (only for my server, it works fine for everything else)

I just bought an old IBM X3650 M2 and installed Ubuntu Server 20.04 LTS. My router (Netgear R7000) is not obeying the IP rules I set in the router setup (and so far, I've only noticed this for this "...
Aephir's user avatar
  • 79
0 votes
0 answers
97 views

Ubuntu server installation failing

I'm trying to install Ubuntu Server on a Dell XPS 8910 (i7 6700, 32gb ddr4). When installing, it gets to the point called: configuring pollinate user-agent on target. Then it says An error has ...
Derock's user avatar
  • 101
0 votes
1 answer
3k views

Can I run a headless Ubuntu server with a Ryzen 5 2600 with no GPU?

I built a headless Ubuntu server with a Ryzen 5 2600, and configured it graphically with a graphics card inserted. When I take it out and try to boot, it does not let me SSH. Do I need to have a ...
LostXOR's user avatar
  • 195
0 votes
0 answers
44 views

Server won't connect to network

First of all, sorry for not being better with informations, bu I have literally no idea what is wrong here, and thus no idea what data to post. I have had a server running for some time now without ...
Zlug's user avatar
  • 145
2 votes
1 answer
1k views

No disk or partitions mounted when installing ubuntu server 18.04.3

I am trying to install ubuntu server using a bootable USB on a DELL EMC PowerEdge R640 Server with (1TB HDD and 800GB SSD), in step 7 / 13, when I have to choose the installation disk, there is no ...
Khalil Meg's user avatar

1
2 3 4 5
7