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
2 votes
1 answer
5k views

Problem with Ubuntu 18 static routing

I'm migrating old ubuntu install to 18 version, but it seems to have some static routing issues when using different networks. First, I tried using NetPlan. I configured TWO NICS with different ...
-1 votes
2 answers
42 views

Ubuntu Server Error

I'M seeing the following error occur at various times. My server is private for learning, no commercial or company involved. The hardware is as follows: Memory is 16gb (max memory for the computer) ...
0 votes
0 answers
18 views

Fail to compile riscv64-unkown-elf-gdb

This is My computer I am studying 6.1810: Operating System Engineering. https://pdos.csail.mit.edu/6.828/2023/tools.html I followed the instruction: sudo apt-get install git build-essential gdb-...
254 votes
14 answers
484k views

How do I copy files that need root access with scp?

I have an Ubuntu server to which I am connecting using SSH. I need to upload files from my machine into /var/www/ on the server, the files in /var/www/ are owned by root. Using PuTTY, after I log in,...
0 votes
0 answers
16 views

Access wordpress blog on subdirectory /blog that is running on subdomain

I have my main site https://mysite.com in nextjs and wordpress blog on subdomain https://blog.mysite.com. They both are hosted on different servers and diff hostings. I need my blog to be accessible ...
0 votes
0 answers
13 views

Ubuntu Server 23.10 Error

I'm running Ubuntu Server 23.10 to learn about server operation. Hardware: Dell Optiplex 790 MT 1TB SATA hard drive 16GB Memory (maximum the computer can have) The hard drive passes all bios testing ...
0 votes
0 answers
19 views

sudo service apparmor restart gives error

Can someone please help me with this error? root@ip3:~# sudo service apparmor restart Job for apparmor.service failed because the control process exited with error code. See "systemctl status ...
0 votes
1 answer
53 views

Ubuntu 18.04/20.04 secure boot

I have a servers Dell server R650, which has been running Ubuntu 18.04 for couple of years with secure boot enabled. When attempting to upgrade it to Ubuntu 20.04 using official ISO image 20.04.6 I ...
1 vote
1 answer
69 views

Why do I got php code when accessing phpmyadmin?

I'm trying to use phpymadmin on Ubuntu 22.04, I've already install LAMP server. When I accesss localhost/phpmyadmin on my browser, I get the following php code enter image description here I know ...
0 votes
1 answer
7k views

Ubuntu 16.04.3: failed to start raise network interfaces

I have Ubuntu 16.04.3 LTS with EVE-NG running on top of it. I have run into a known issue with Predictable-Network-Interface-Names and changed interface names to old style, but something is still ...
0 votes
1 answer
83 views

How to write a bash script from two commands (Find and replace a text string in all files recursively in current directory)

On Ubuntu Server, I use two different commands to find and replace a string in all files recursively in the current folder. The first command is: sudo find . -type f -print0 |\ xargs -0 -r sudo ...
0 votes
0 answers
251 views

Pre-Built (SEED Labs) Ubuntu 20.04 is behaving differently on my Machine

We are taking the Software Security and Web Security part of SEED Labs v2.0 as part of our Computer Security class. I have completed all tasks under Software Security; however, I got stuck in the Web ...
0 votes
2 answers
44 views

Two NICs on same network - one for internet, one for LAN

I have two NICs in my home server - both are connected to same network. One is 2.5Gbps (which I'd like to use for LAN - eth0), other is 1Gbps (which I'd like to use for internet-only - enp0s25). What ...
1 vote
1 answer
4k views

Server refused our key - No supported authentication methods available (server sent: publickey) - Permission denied (publickey): Ubuntu server

I have an AWS EC2 instance running. I was able to connect using my chomed (-r--------) keys using MobaXTerm and SSH (Ubuntu for Windows) (.pem key) and putty (.ppk key). I'm also working on the server ...
0 votes
0 answers
22 views

How does SR-IOV networking work in an Ubuntu 22.04 Hyper-V virtual machine?

Using Windows Server 2022 as a hypervisor, I've created two Ubuntu VMs: an Ubuntu server and a desktop. The following is based on my experiences with the server on 22.04 and also 23.xx, although the ...
0 votes
0 answers
24 views

wireguard peer (client) loses VPN IP address shortly after connection, but stays connected to VPN server and can ping the server IP. What gives?

I am tunneling an Ubuntu 22.04 web server through a Wireguard VPN (as the vpn client), to another Ubuntu 22.04 Server as the Wireguard VPN Host (server). I have set up the Client/Server exactly ...
2 votes
3 answers
6k views

Set vendor-encapsulated-options (code 125) with ISC DHCPd 4.3 fails

I'm trying to set up my Ubuntu server 16.04 LTS Xenial to run a DHCP Server that provides the required information to a very specific device. That device is a TV Decoder by Orange ISP (French vendor ...
0 votes
2 answers
118 views

Minimal latex installation for headless server

I have a (headless) server running Ubuntu 22.04.3 LTS. I would like to install latex, mainly to embed latex fonts in plots with Python/matplotlib. Is there a minimimal latex installation option which ...
0 votes
0 answers
33 views

Ubuntu openstack installation help

I am trying to follow below mentioned URL and install multi-node mode https://ubuntu.com/openstack/install#single-multi-large-cluster I followed exact steps for installation, after providing this ...
3 votes
2 answers
6k views

Ubuntu: setup user-data ssh

I want to install Ubuntu Server 20.04 on Rpi 4 without monitor, so I have to setup SSH in advance by editing user-data file in system-boot folder. Is it possible to setup SSH for user: set public key ...
0 votes
1 answer
5k views

Can't read and change original pg_hba.conf in PostgreSQL 12

I can't to connect to aws remote ubuntu server where installed postgresql. And i want to connect from my pc to postgres on ubuntu i cant do that: Unable to connect to server: FATAL: no pg_hba.conf ...
1 vote
1 answer
14k views

Ubuntu Server 16.04 GUI (xfce4)

I want to install xfce4 on my Ubuntu Server 16.04. The Problem is that the Server stopped working with the Command apt-get install xubuntu-desktop So i read that i can install xfce4 apt-get install ...
19 votes
3 answers
8k views

How to make my server email me when there are security updates?

There's obviously a way to check to see when an update is a security update. I often get greeted by a motd that says "there are N security updates." What I'd like to do is have my server email me a ...
0 votes
0 answers
23 views

Troubles with installing redmine on linux server Ubuntu 22.04.4

i got problem with REDMINE.. Could you please help me? I try describe everything i did I made this install sudo apt-get install apache2 libapache2-mod-passenger After configure file /etc/apache2/...
3 votes
1 answer
14k views

MariaDB: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Main purpose I am trying to install a local version of Prestashop on my ubuntu server 20.04 following those steps. Issue I am currently trying to install MariaDB (Step 5 of the guide) and after trying ...
19 votes
3 answers
38k views

Is there any user friendly alternative to screen?

I am running Ubuntu Server and want to have multiple terminals. Screen works fine but..it is not user friendly. I mean..after pressing Ctrl+A you get no notification of you being in command mode, in ...
1 vote
2 answers
2k views

lightm fail to start LXDE,but LXDE works with startx

I installed lxde on ubuntu server 16.04.3.every thing was fine untill i purged lxde and re-installed it.now i can start lxde with startx,but not with using lightdm or startlxde. In lightdm it says ...
1 vote
1 answer
5k views

Connect to wifi on boot up Ubuntu server 22.04

I am trying to run ubuntu server in a headless raspberry pi. So I included some config file i.e the details of my network in /etc/netplan/myconfig.yaml, something like this: network: version: 2 ...
0 votes
0 answers
62 views

Ubuntu system infected with virus, need help with removal and security

I accidentally exposed my SSH to the public internet with a user that had a very simple password. Hackers exploited this, and now whenever I boot up and connect to the network, my CPU usage jumps to ...
-1 votes
0 answers
22 views

ERROR CODE 0x00000009

Every time I attempt to install Ubuntu Server, I consistently encounter the error code 0x00000009. Despite trying various available versions of Ubuntu Server, I have not been successful in resolving ...
0 votes
1 answer
177 views

Ubuntu Server screen gets dark and shows 'no signal' after successful boot

We install Ubuntu LTS Sever editions like 16.04/18.04/20.04/22.04 on Dell/IBM/HP servers, after these Ubuntu servers boot successfully, as usual, the screen will show messages like below: Ubuntu 20.04 ...
0 votes
1 answer
131 views

Recommendations for a private deb package repository for Ubuntu servers

At work some teams create internal Ubuntu apps that are built via GitHub action workflows and packaged for Ubuntu as Debian packages. The package files are then uploaded to an Amazon S3 bucket, and we ...
0 votes
1 answer
33 views

Need a lightweight basic software for server use PPC

HI I am running newest vers of Ubuntu and I want to use my old PowerBook G4 (1gHz 15 inch) as a server possibly. I can connect to it via firewire 800, it looks like and also have a usb that I can use. ...
4 votes
2 answers
4k views

Unable to install busybox-initramfs 15.04

I am trying to install ubuntu 15.04 server on a machine. During installation is stopped installing with the following error: An error was returned while trying to install the busybox-initramfs ...
1 vote
2 answers
4k views

Sharing Internet Connection (DHCP) through a Wireless Hotspot

I have an internet connection through a cable modem. The IP address on the cable modem is not static and is perhaps obtained through a DHCP mode. I wish to share this internet connection through ...
0 votes
1 answer
37 views

I accidently changed my root user's name and now have lost all root permissions

I was messing around on my minecraft server with usermod and at some point I copied a command from a forum with incorrect terms. now when I sudo cat /etc/passwd, the output for my root user is as ...
0 votes
0 answers
21 views

unable to login root after cis hardening

after i follow cis 5.4.2 Ensure lockout for failed password attempts is configured to configure faillock and after reboot i unable to login root or other account. this is my conf # /etc/pam.d/common-...
1 vote
1 answer
8k views

Ubuntu 20.04 add static route

I have two virtual Servers with ubuntu 20.04, both are working so far. But my problem is, that Server1 can not ping Server2 and vice versa. I get the error 'Destination Host Unreachable'. This is with ...
3 votes
2 answers
10k views

How to add static route with preferred source via Netplan in 18.04?

I want to use loopback alias IP for all outcome IP traffic from my Ubuntu server directed to some subnets. In /etc/network/interfaces that can be done by post-up statement with something like: /sbin/...
0 votes
0 answers
22 views

Telnetd not working ubuntu server 23.10

I am trying to set up telnet server in my ubuntu server 23.10 machine. I am able to install telnetd service and gives me no error but when i try to see if its running using netstat -ltp and there is ...
1 vote
0 answers
1k views

QEMU VM network bridge in WLAN/Wifi

Host (Ubuntu 22.04.1 LTS) is connected through WLAN/Wifi. My goal: QEMU VM (Linux Kernel created with buildroot) has it's own local IP address, host can reach VM through this IP address it doesn't ...
0 votes
0 answers
28 views

set netplan to use TWO static addresses preference with DHCP fallback

I am setting up a Ubuntu 22.04 server at home for use on-site. Server needs to have a static address on-site. How to test with static address at home, then take pc to site without having to change the ...
6 votes
1 answer
4k views

System refuses to suspend

Lubuntu 18.04 (lxde) here, upon AMD Epyc 7282. Kernel 4.15. The system is stable and works flawlessly, but id does refuse to suspend. If I try to suspend it, the screen blanks, but the system does ...
0 votes
0 answers
9 views

automatically reconnect ethernet

I had some trouble with my switch hub, where ubuntu server systems are connected via ethernet. Now, i saw after solving the problem on my switch, the ubuntu servers (headless) are still disconnected. ...
-1 votes
0 answers
27 views

cant install 64bit ubuntu server on lenovo m71e thinkcenter

I tried to install the 64bit version of ubuntu server on my device and it would install properly but it wouldn't boot and simply wouldn't detect the system , the CPU is intel Pentium G630 and it has 2 ...
1 vote
2 answers
1k views

How can I detect when the boot sequence is complete on headless system

I have a CONF file in /etc/init to configure and start software on my headless machine. When a monitor is attached for development and testing I see that my software starts near the end of the boot ...
0 votes
0 answers
101 views

Getting "no matching key exchange method found" when using SSH between identical Ubuntu 20.04 LTS servers

I have 2 identical Ubuntu 20.04 LTS servers (actually one is a clone of the other in VMWare), and when I try doing SFTP or SSH from one server to another, I am getting no matching key exchange method ...
2 votes
1 answer
4k views

How can I change Ubuntu server IP Address to web address?

How can I change Ubuntu server IP Address to the web address? For example, the address that I need to access on the browser is 192.168.x.xxx. How can I change to dev.robi.local? Thanks! The /etc/...
2 votes
1 answer
7k views

I installed DNS server in my initial Ubuntu server installion how do I uninstall it?

I installed a DNS server in my initiate Ubuntu server installation how do I uninstall it? Cause I don't want it any more and I don't want it laying around cause I heard the more server services my ...
3 votes
1 answer
5k views

Job for mysql.service failed because the control process exited with error code

MySQL server was running fine last night, but this morning, when I tried to hit the Bugzilla server, I found it down. I tried to start it, but I get: Job for mysql.service failed because the control ...

1
2 3 4 5
331