https://unix.stackexchange.com/questions/130906/why-does-setuid-not-work
Cange apache default root folder
https://stackoverflow.com/questions/5891802/how-do-i-change-the-root-directory-of-an-apache-server
Logout all users from ssh…
sudo service systemd-logind restart Just use this command to log out from all sessions.
Add static local IP to Ubuntu server
https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/set-a-static-ip-address-on-ubuntu-22-04.html
Wireguard wg0.conf file
Server side file https://linuxize.com/post/how-to-set-up-wireguard-vpn-on-ubuntu-20-04/ Settings on server wg0.conf file # Server configuration [Interface] PrivateKey = Private key= # The...
Create .bin application in linux
To check if some system service is active and then activate/deactivate it use the next code: #!/bin/bash systemctl -q is-active jackett.service && \ systemctl stop jackett.service || \...
PhpMyAdmin export/import db from CyberPanel server
To be able to export or import a database to the server you need first to create folders where to export and from where to import db.For me, it is the same folder... Create a folder in the desired...
HP DV7 adjusts Screen Brightness and Enables full Beats™ audio
How to obtain screen brightness control sudo gedit /etc/default/grub Add acpi_vendor=backlight , as follows: GRUB_CMDLINE_LINUX_DEFAULT="splash acpi_backlight=vendor"...
Cyberpanel – Custom URL for Webmail
First, you need to enable the Proxy of the pages at /usr/local/lsws/conf/httpd_config.conf and add to the file the following code: extprocessor cyberpanel { type proxy address...
Open an close ports to Linux Firewall
firewall-cmd --zone=public --add-port=80/tcp firewall-cmd --permanent --zone=public --add-port=80/tcp firewall-cmd --reload $ firewall-cmd --zone=public --remove-port=10050/tcp $ firewall-cmd...