Install unrar on Linux
To install unrar on Ubuntu, run On CentOS/RHEL To install from source, download latest version from https://www.rarlab.com/download.htm Extract a rar
Adding IP Range in CentOS 6
To add an IP range in CentOS 6 server, create file Add Replace IP with your actual start and end
gpg: failed to start the dirmngr
When i add a key with apt-key command, i get error root@ip-172-31-47-128:~# apt-key adv –recv-keys –keyserver keys.gnupg.net E1F958385BFE2B6E Executing: /tmp/apt-key-gpghome.0BP6Ro2t54/gpg.1.sh
Install Remote Desktop in Debian/Ubuntu
To install and use Linux remote server as desktop, first install lite weight desktop environment like XFCE on your server.
Desktop
Install x2go Server in Ubuntu 16.04 x2go xrdp vnc Install Remote Desktop in Debian/Ubuntu Google Meet How to install and
Plesk MySQL upgrade 5.1 to 5.5
When trying to restore a database backup taken on MariaDB 5.5.56 on a Plesk server running MySQL 5.1, i get
Security
Disable PHP insecure functions with disable_functions Find IP with Most Access from Apache Log Monitor file changes in your Website
Disable PHP insecure functions with disable_functions
When hacking vulnerable web sites, hackers use PHP functions that allow program execution or disk access to get access to
Install MongoDB 4 on CentOS 7
Create file Add Install MongoDB with Set MongoDB to start on boot. Start MongoDB
Amazon EC2
https://aws.amazon.com/ec2/pricing/on-demand/ Resize Amazon EC2 Boot Disk Resize EC2 file system with LVM Amazon EC2 disk resize No space left on
Amazon Ec2 Fixing Cpanel IP after restore from snapshot
On an Amazon EC2 server running Cpanel, i had to restore from Snapshot as some data was missing. Once restored,
Enable Gzip in Amazon Linux
To verify Apache module is loaded, run Create file Add following content Restart Apache with To verify gzip is working,