CentOS (RHEL), NginX and SELinux settings
To be able to use NginX without disabling SElinux use next
Installing Webin on Linux Servers RHEL
Add this code to the therminal (echo "[Webmin] name=Webmin Distribution Neutral baseurl=http://download.webmin.com/download/yum enabled=1 gpgcheck=1 gpgkey=http://www.webmin.com/jcameron-key.asc"...
First thing to do after installing Linux Server RHEL
To add a user to the Linux use this command useradd -g wheel new_username -g means to add a new user to the 'wheel' group which is the sudo-root group, more info can be found here:...
Linux fsck command
The system utility fsck (file system consistency check) is a tool for checking the consistency of a file system in Unix and Unix-like operating systems, such as Linux, macOS, and FreeBSD. fsck -y...
Clone disk/partition to external HDD/SSD with ‘dd’ command in Linux
To clone HDD/partition with dd command, the destination HDD/partition must be equal or larger in size than the source. sudo dd if=/dev/sda5 of=/dev/sdb2 conv=sync,noerror bs=64K status=progress...
Show user ID in the WordPress dashboard
Put this code to the functions.php /* * Adding the column */ function rd_user_id_column( $columns ) { $columns['user_id'] = 'ID'; return $columns; } add_filter('manage_users_columns',...
Update Packages that will not upgrade Linux
sudo apt-get update sudo apt-get dist-upgrade
Remove software in Linux Mint using the terminal.
Standard way So, the most common and standard way is with this command: sudo apt-get remove package_name Completely remove (advanced) However, if you want to completely remove the program you can...
Linux Users share Local Directory
If you need that users on linux machine share directories you can accomplish that by creating a directory and assign to it privileges First make shared directory sudo mkdir /home/Shared\ Directory...