Search found 48 matches

by serveroffer
2025 Mar 20, 14:39
Forum: Tutorials
Topic: Suspend to RAM linux system from shell
Replies: 0
Views: 1046

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: 3514

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: 4637

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: 8203

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: 10302

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: 9170

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: 10059

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: 21749

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: 18771

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: 23081

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: 22414

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: 15420

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: 24537

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 ...
by serveroffer
2019 Dec 18, 13:15
Forum: Tutorials
Topic: Centos 7 with GUI xfce+VNC
Replies: 0
Views: 17811

Centos 7 with GUI xfce+VNC

System minimal requirements: 2GB RAM 1vCPU Install epel release: yum -y install epel-release Install xfce group files: yum groupinstall “Xfce” -y Install tigerVNC server: yum -y install tigervnc-server tigervnc-server-minimal Run TigerVNC vncserver Set TigerVNC password: vncpasswd Stop TigerVNC temp...
by serveroffer
2019 Aug 06, 22:30
Forum: Tutorials
Topic: Debian 9 (Buster) 32-bit apps on 64-bit support
Replies: 0
Views: 14853

Debian 9 (Buster) 32-bit apps on 64-bit support

Add i386 packages support:

Code: Select all

dpkg --add-architecture i386

Update packages lists:

Code: Select all

 apt-get update

Install support libs:

Code: Select all

apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386

Go to advanced search