server

mysql-common : Conflicts: mysql-server-8.0 but 8.0.34-0ubuntu0.22.04.1 is to be installed

mysql-common : Conflicts: mysql-server-8.0 but 8.0.34-0ubuntu0.22.04.1 is to be installed sudo apt-get purge mysql-client-8.0 mysql-server-8.0 mysql-server-core-8.0 Reading package lists… Done Building dependency tree… Done Reading state information… Done Package ‘mysql-client-8.0’ is not installed, so not removed Package ‘mysql-server-8.0’ is not installed, so not removed Package ‘mysql-server-core-8.0’ is not installed, so not removed 0 upgraded, 0 …

Total answers: 1

Cannot ssh to ubuntu vm (not localhost)

Cannot ssh to ubuntu vm (not localhost) I’m trying to connect to my VM that’s running Ubuntu. I figured out its IP address as well as the IP address of my host computer and inputted into the network settings via the VirtualBox Manager like so: Here the Host IP is the IP of my computer …

Total answers: 1

Htop display options

Htop display options I need help setting the second in the display options section. I accidentally pressed space too long on highlight time (in seconds), and now it is 2190, and I don’t know how to lower it. I’ve tried to press and hold space, but it seems like it would go to a high …

Total answers: 1

Add a new 16TB HDD and transfer the OS to it

Add a new 16TB HDD and transfer the OS to it I have 2x 4 TB and I bought another one of 16TB. I mounted it with the following commands: cd /mnt/ mkdir data2 blkid /dev/sdc fsck.ext4 /dev/sdc mkfs.ext4 /dev/sdc mount /dev/sdc /mnt/data2 lsblk sda 8:0 0 3.7T 0 disk ├─sda1 8:1 0 32G 0 …

Total answers: 1

Update error: The following packages have unmet dependencies

Update error: The following packages have unmet dependencies I am trying to update my Ubuntu Server via Cockpit interface and it says this: The following packages have unmet dependencies: libmailutils6: Depends: mailutils-common (= 1:3.7-2.1) but 1:3.14-1 is to be installed qemu-system-x86: Breaks: qemu-kvm libtss2-tcti-cmd0: Breaks: libtss2-esys0 (< 3.0.1-2) but 2.3.2-1ubuntu0.20.04.1 is to be installed libtss2-tcti-device: …

Total answers: 1

DNS issues on Ubuntu 22.04.3 headless server

DNS issues on Ubuntu 22.04.3 headless server Background Trying to configure a headless plex server on a little Optiplex machine I bought. Everything has gone smoothly until I try to claim my plex server and it turns out there are DNS issues on the server. I’m running Ubuntu 22.04.3 I should preface this by mentioning …

Total answers: 1

boot ubuntu server from live media to repair previous install

boot ubuntu server from live media to repair previous install I’m trying to boot ubuntu server from live media. I’m trying to repair my current ubuntu server I’m using my original install thumb drive. I’m working on asus hardware. When I try to launch from the thumb drive on uefi partition I only get choices …

Total answers: 1

Server hardening of Ubuntu 22.04 by analyzing and removing unnecessary packages

Server hardening of Ubuntu 22.04 by analyzing and removing unnecessary packages I have read Jay Lacroix’s book about "Mastering Ubuntu Server", and he recommends removing all unnecessary packages in order to reduce the attack surface. Specifically, he advises running apt-cache rdepends <package> to find out if there are other packages depending on a package we …

Total answers: 4

How to configure Apache2 on Ubuntu Server to use a domain name

How to configure Apache2 on Ubuntu Server to use a domain name I’m very much new to hosting my own server. I’m following this tutorial: https://www.answertopia.com/ubuntu/setting-up-an-ubuntu-web-server/ and I’ve gotten to the section titled "1.7 Configuring the Apache Web Server for Your Domain". I’ve followed all the steps but when I get to the part where …

Total answers: 1

Can't ping outside my network

Can't ping outside my network Like my title i cannot ping outsidwe my network, i have been using Ubuntu Server 22.04.2 LTS for a little while on a mini PC and I set the wifi settings on my machine when i installed the OS a year ago and since thiss morning i havent been able …

Total answers: 1

Connecting to my locally running ftp server written in golang

Connecting to my locally running ftp server written in golang I am trying to use this ftpserver on Ubuntu. I am able to start the server as in below screenshot but I don’t know how to connect to it when it’s running. I tried ftp [IP] command which I found online, since it is running …

Total answers: 1

Is there a way to edit sshd_config without disabling it and enabling again?

Is there a way to edit sshd_config without disabling it and enabling again? so I would like to know if there is any way to edit sshd_config without disabling it, then enabling it? I’m asking because I want to create a few Match User options but I don’t want to disable it because it is …

Total answers: 1

Random Segmentation Faults and Python Errors – Ubuntu 22.04 LTS

Random Segmentation Faults and Python Errors – Ubuntu 22.04 LTS I’m experiencing random segmentation faults and python errors I can’t explain on one of my Ubuntu servers. I have been unable to reproduce these faults on any other server or on my development computer. I’m trying to figure out if this is software related (external …

Total answers: 2

Resize logical volume in ubuntu without damaging

Resize logical volume in ubuntu without damaging When I run lsblk i get as below vda 252:0 0 150G 0 disk ├─vda1 252:1 0 1M 0 part ├─vda2 252:2 0 1.5G 0 part /boot └─vda3 252:3 0 148.5G 0 part └─ubuntu–vg-ubuntu–lv 253:0 0 74.3G 0 lvm / now i want to inrease size of ubuntu–vg-ubuntu–lv …

Total answers: 1

Installing Nginx old version 1.4.6 issue

Installing Nginx old version 1.4.6 issue When installing nginx, it requires dependent packages like nginx-core, nginx-full, nginx-nasxi, etc. After I install nginx-core and nginx-common, the remaining packagess refuse to install due to conflicts with nginx-core. The ‘main’ nginx_1.4.6 package is also ‘forget’ about dependencies on nginx-full, nginx-nasxi, etc. I have the same versions of all …

Total answers: 1

Something unknown reads data from my disks

Something unknown reads data from my disks I’ve got a small server at home to access my files and the HDDs don’t spin down. Currently it runs Ubuntu Server 22.04. Executing something like $ cat /sys/block/sde/stat displays some information including the total sectors read. If I wait for about 20 minutes and execute this command …

Total answers: 2

Is it a good practice to restart VPS server everyday?

Is it a good practice to restart VPS server everyday? I am building an app server using Ubuntu 20.04 and will be serving thousands of clients with potentially a million http messages everyday. I wanted to ask if it is a good practice to restart my server everyday at midnight? I think this will help …

Total answers: 1