Search found 50 matches

by serveroffer
2025 Jul 10, 13:43
Forum: Tutorials
Topic: Linux mount raw img disk image
Replies: 0
Views: 56

Linux mount raw img disk image

Code: Select all

losetup -f -P image.img
by serveroffer
2025 May 22, 12:31
Forum: Tutorials
Topic: Debian 11 disable cloud-init
Replies: 0
Views: 4844

Debian 11 disable cloud-init

Create file:

Code: Select all

touch /etc/cloud/cloud-init.disabled
by serveroffer
2025 Mar 20, 14:39
Forum: Tutorials
Topic: Suspend to RAM linux system from shell
Replies: 0
Views: 4819

Suspend to RAM linux system from shell

Code: Select all

echo "mem" > /sys/power/state
by serveroffer
2025 Feb 16, 19:51
Forum: Tutorials
Topic: Linux x86-64-v2 CPU compatibility check
Replies: 0
Views: 7785

Linux x86-64-v2 CPU compatibility check

How to check if your Linux system CPU does support x86-64-v2? Open nano: nano check_cpu Paste code: #!/bin/sh -eu flags=$(cat /proc/cpuinfo | grep flags | head -n 1 | cut -d: -f2) supports_v2='awk "/cx16/&&/lahf/&&/popcnt/&&/sse4_1/&&/sse4_2/&&/ssse3/ {fo...
by serveroffer
2025 Feb 13, 00:37
Forum: Tutorials
Topic: Upgrade Almalinux 8 to 9
Replies: 0
Views: 9277

Upgrade Almalinux 8 to 9

Upgrade requires x86-64-v2 CPU. Login as root. Update currently installed packages: dnf update -y yum install http://repo.almalinux.org/elevate/elevate-release-latest-el$(rpm --eval %rhel).noarch.rpm -y yum install leapp-upgrade vdo leapp-data-almalinux -y Update entries in file: vi /etc/sysconfig/s...
by serveroffer
2024 Feb 15, 22:05
Forum: Tutorials
Topic: Clear yum cache
Replies: 1
Views: 14485

Clear yum cache

Clean all yum cached data:
Centos, AlmaLinux

Code: Select all

yum clean all
by serveroffer
2023 May 15, 23:50
Forum: Tutorials
Topic: Convert the qcow2 image to raw
Replies: 1
Views: 18302

Convert the qcow2 image to raw

To convert qcow2 image to raw use command:

Code: Select all

qemu-img convert VmImage.qcow2 -O raw VmImage.raw

If qemu-img command is not found, you need to install qemu-utils (Debian/Ubuntu):

Code: Select all

apt-get install qemu-utils
by serveroffer
2023 Feb 16, 03:34
Forum: Tutorials
Topic: Centos 8 Failed to download metadata for repo AppStream
Replies: 0
Views: 14350

Centos 8 Failed to download metadata for repo AppStream

If after command "yum update" on Centos 8 you see: CentOS-8 - AppStream 70 B/s | 38 B 00:00 Error: Failed to download metadata for repo 'AppStream': Cannot prepare internal mirrorlist: No URLs in mirrorlist You can fix it by updating mirrorlist: sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum...
by serveroffer
2022 Dec 08, 17:19
Forum: Tutorials
Topic: Debian 10 reboot command
Replies: 0
Views: 16437

Debian 10 reboot command

Apps needed:
Putty - terminal client

Debian 10 comes with a lot of new updates. One of them is new reboot command:

Code: Select all

systemctl reboot
by serveroffer
2022 Jan 30, 21:16
Forum: Tutorials
Topic: Windows Server change Remote Desktop port PowerShell
Replies: 0
Views: 28212

Windows Server change Remote Desktop port PowerShell

You can change Remote Desktop port on your Windows Server machine by running PowerShell commands listed below: $portvalue = 3388 Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "PortNumber" -Value $portvalue New-NetFirewallRule -Dis...
by serveroffer
2021 Aug 12, 12:35
Forum: Tutorials
Topic: Centos 7 completely remove apache (httpd)
Replies: 0
Views: 26220

Centos 7 completely remove apache (httpd)

Code: Select all

rpm -qa "httpd"

yum list installed "httpd*"

yum remove "httpd*" -y

rm -rf /var/www

rm -rf /etc/httpd

rm -rf /usr/lib64/httpd

userdel -r apache

Check if it's really removed:

Code: Select all

grep "apache" /etc/passwd

systemctl status httpd
by serveroffer
2021 Apr 22, 22:16
Forum: Tutorials
Topic: Debian Jessie RDP (xrdp)
Replies: 5
Views: 55880

Debian Jessie RDP (xrdp)

Minimal RAM 2GB, 1cVPU, 2GB storage Operating system: Debian 8 Jessie Update packages apt update Install desktop environment apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils Install xrdp apt install xrdp Check xrdp service status: systemctl status xrdp Restart xrdp service systemctl r...
by serveroffer
2020 Oct 26, 14:16
Forum: Tutorials
Topic: Debian 10 (Buster) reboot
Replies: 0
Views: 28183

Debian 10 (Buster) reboot

To reboot Debian Buster, use command:

Code: Select all

systemctl reboot
by serveroffer
2020 Aug 17, 12:22
Forum: Tutorials
Topic: Minecraft server Linux VPS setup on Minecraft OS
Replies: 3
Views: 28515

Minecraft server Linux VPS setup on Minecraft OS

Apps needed: Winscp download 1) Login to Client Area, enter VPS CP 2) Change operating system to Minecraft 64-bit You will get new VPS root password 3) Connect using WinSCP (or any other app which supports SCP, eg. FileZilla) 4) Upload your server files to /root/mc 5) Restart your VPS using VPS CP r...
by serveroffer
2020 Feb 11, 23:02
Forum: Tutorials
Topic: Enable SSH remote root login on Debian/Ubuntu
Replies: 0
Views: 31894

Enable SSH remote root login on Debian/Ubuntu

Some Debian and Ubuntu based servers have disabled remote root login by default, if you need to enable it, you have update SSH config file. Option one: Switch privileges for root access: su - root Update SSH config the file with one line: sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin ...

Go to advanced search