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,495
questions
0
votes
0
answers
9
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-...
0
votes
0
answers
11
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 ...
-1
votes
1
answer
32
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
12
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
2
answers
43
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 ...
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 ...
0
votes
0
answers
31
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 ...
0
votes
0
answers
19
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/...
0
votes
1
answer
82
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 ...
-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
0
answers
59
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 ...
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. ...
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-...
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 ...
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 ...
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 ...
0
votes
0
answers
103
views
Name resolution (hostname) doesn't work /Ubuntu 22.04 server
I cannot ping or mount using hostname of server on domain network.
Server is almost fresh install, just using apache, mysql, php for webhosting.
If I ping server with its hostname it result with this ...
-1
votes
0
answers
12
views
Help finding OS for TOSHIBA NB500-12P [duplicate]
I somehow, managed to install W7 but i preffer an ubuntu as im going to use it as a little server, it only has 1-2 GB of Ram so... idk what version is the most optimal, the latest version crashes
0
votes
0
answers
46
views
Network is unreachable after move
I've got a server at home, and I've just moved. I never had problems at the old address connecting it to the internet, but at the new address, the server is refusing to connect.
I've verified so far ...
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 ...
0
votes
0
answers
19
views
22.04 when upgrading the server can not make outgoing connections neither receive from vpn
After the last upgrading of a 20.04 LTS server, can not perform outgoing connections but yes incoming ones.
I mean: from the LAN I can ping the server. But the server can't ping neither machines in ...
0
votes
1
answer
32
views
Port not open (ufw disabled)
On the server, running Ubuntu 22.04
sudo netstat -tnlp | grep :4000
tcp 0 0 0.0.0.0:4000 0.0.0.0:* LISTEN 10690/nxd
tcp6 0 0 :::4000 ...
0
votes
0
answers
26
views
Scrollback lines on SSH session with Ubuntu 22 minimal server
I've installed a new minimal Ubuntu 22 server on hardware and am now SSH'ing to it from a local network PC - however I note that the output in the ssh window (Terminal on MacBook Pro) is limited to a ...
0
votes
0
answers
100
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 ...
0
votes
0
answers
15
views
Trying to wipe clean a headless server without plugging a monitor/keyboard?
I have a server, which is hard to access. I could take it from the understairs "network mess". I want to use that server for some stuff that is security sensitive, so would prefer if I wiped ...
1
vote
2
answers
106
views
dnsmasq configuration for TFTP + ProxyDHCP in Ubuntu Server 22.04.3 LTS
I'm trying to configure a PXE setup, in which my Ubuntu Server 22.04.3 LTS would act as TFTP server + ProxyDHCP (current DHCP server has to remain untouched). I've googled a lot, and tried a lot of ...
0
votes
0
answers
23
views
Internet adapter don't work properly with different subnet masks in a multi adapter PC
I'm having some troubles trying to config a triple internet adapter configuration in my 'home made NAS server', aka a old computer like a server, using Ubuntu desktop 22.04.4 with a SAMBA share for my ...
2
votes
1
answer
45
views
I need to automatically start a non GUI application through a terminal line because I don't have a GUI
I have a proxmox ubuntu container running ubuntu 23.10 and becuase it is a container it doesn't allow me to use a GUI. I need to run a server application as soon as the container boots up incase it ...
-1
votes
0
answers
61
views
Disable weak openssl cipher suites for nginx
Trying to disable following cipher suites in nginx
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
In Nginx configuration updated this
ssl_ciphers ECDHE-RSA-AES256-GCM-...
0
votes
1
answer
229
views
How to set DNS from command line on Ubuntu 20.04 Desktop?
I'm trying to set a DNS server on Ubuntu 20.04 Desktop. So far this is what I have.
In /etc/systemd/resolved.conf this is the content:
# This file is part of systemd.
#
# systemd is free software; ...
0
votes
1
answer
32
views
Can we Install Ubuntu Cinnamon Remix Desktop on Ubuntu Server?
I have installed ubuntu server in my machine and I live cinnamon Remix desktop. This is different from default cinnamon desktop flavor.
can anyone tell me how can we install this on ubuntu server?
1
vote
0
answers
54
views
Ubuntu Server with 2 nics
I would lik to pose a question here because i'm missing something with the settings on a ubuntu server 22.04 with 2 nics. I think it should be fairly easy because with other servers (NethServer ...
2
votes
0
answers
43
views
System goes unresponsive for minutes, I suspect journalctl
We have an server application running on Ubuntu 22.04. The application logs are pretty spammy.
journalctl -S -1hour | wc --lines
121349
journalctl -S -1hour | wc --bytes
32382836
Once in a while a ...
0
votes
1
answer
56
views
ping a *.local address client [closed]
I have a bind9 dns cache server running (for example with zone ".home" and any clients with ubuntu and raspberian. Additionally some other clients with Mac OS, Windows etc.
I can ping all ...
0
votes
0
answers
123
views
Mounting /tmp with noexec option in Ubuntu 22.04.3 LTS
I have set up the Ubuntu VM (Ubuntu 22.04.3 LTS) with the following options for /tmp: So that under /tmp, no execution is allowed.
cat /etc/fstab for /tmp:
/dev/mapper/ubuntu--vg-tmp--lv /tmp ...
0
votes
0
answers
44
views
Transfer latest file from SFTP to Local
I am using the following script to transfer the file from SFTP to local machine.
Is it possible to update this script to only transfer the latest file from the SFTP?
Some examples
Database.bak
Copy of ...
2
votes
1
answer
33
views
Download and Remove the files from SFTP server
I am using this to download the file from remote server but could you guide how can I use one command to first download and then remove the file from server.
sshpass -p password123 sftp User@sft....
0
votes
0
answers
130
views
Ubuntu SSH 23.10 SSH issue (50-cloud-init.conf)? [duplicate]
I just installed Ubuntu server 23.10 yesterday. I downloaded the iso directly from ubuntu.com. Everything went fine during the install. For security reasons, I always disable password authentication, ...
0
votes
0
answers
42
views
Modifying apache2.conf AllowOveride All gives 500 Internal server error
I'm trying to migrate a test website from a hosted domain to an OCI ubuntu 22 instance.
The instance works ok, i've installed apache2 and php. I also copied my files to the instance.
However, my ....
0
votes
0
answers
49
views
Issue with dual-NIC clients and netplan swapping ethernet interfaces
Background: 1500+ stations running Ubuntu Server + ubuntu-desktop-minimal, most are still on 20.04, new stations are all deployed with 22.04 (with a ubuntu-desktop-minimal --no-install-recommends flag ...
0
votes
0
answers
31
views
How to change usename on Postfix without create user
Config: Ubuntu Server 22
When we receive an email, it shows the following: FROM User [email protected].
This 'User' is the username of the user who was logged into the system before sending the email. ...
0
votes
0
answers
32
views
iSCSI connection from Ubuntu server timeouts when booting
we set up an Ubuntu server (22.04.3 LTS) to use as a Veeam Repository. We want to connect a LUN on a NetApp storage via iSCSI.
The setup itself went without a problem till the server had to be ...
0
votes
0
answers
15
views
Ubuntu server LVM not using entire disk space [duplicate]
Running lsblk gives following output.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 1M ...
0
votes
0
answers
48
views
Always getting error 'The following packages have unmet dependencies' when I want to install new packages
When I get some new packages using
`sudo apt update
sudo apt install <packages>`
I always got error message like
`The following packages have unmet dependencies:
squid : Depends: libecap3 (>...
0
votes
1
answer
25
views
DHCPD and Appamor
I running ubuntu 22.04 on raspberry pi, with fixed IPv4 address. On the server a isc-dhcp-server is running. (i know isc-dhcp-server is outdated an not in service anymore).
While starting appamor ...
-1
votes
0
answers
43
views
Help with mkdir and map network drive
I am trying to create a home server. I did
:~$ sudo mkdir /media/myfiles
mkdir: cannot create directory 'media/myfiles': File exists
Also I am trying to add that shared folder into map ...