Issue how to set hostname persistent across reboots in CentOS 7 / RHEL 7 on AWS ec2 CentOS 7 / RHEL 7 Hostname changes after reboots in aws ec2 Solution Set the hostname with the below command hostnamectl set-hostname hostname.yourdomainname.com Now run the below to change the cloud.cfg echo "preserve_hostname: true" >> /etc/cloud/cloud.cfg Reboot the ...
Copy.com (an alternative to Dropbox) by Barracuda announced today that the Copy and CudaDrive services will be discontinued on May 1, 2016. You can migrate your existing data from copy.com to Ondrive though Mover.io Blog Link on How to migrate : https://techlib.barracuda.com/COPY/MoveData Below is the official announcement from copy.com Copy and CudaDrive have provided easy-to-use ...
Issue You need to give only the apache / httpd restart permission to the developers via sudo. Solution Add the below lines to /etc/sudoers Cmnd_Alias WEBDEVS = /sbin/service httpd * user1 ALL = NOPASSWD:WEBDEVS Now the user can run the below commands to any action (start / stop / restart etc) on httpd service. sudo ...
Issue PPTP VPN is not working after installing CSF firewall. How to allow PPTP in cPanel server with CSF firewall ? Solution Create a file /etc/csf/csfpre.sh with the below contents. iptables -A INPUT -i eth0 -p tcp --dport 1723 -j ACCEPT iptables -A INPUT -i eth0 -p gre -j ACCEPT iptables -A OUTPUT -p gre ...
Vulnerability Since version 5.4, the OpenSSH client supports an undocumented feature called roaming. If a connection to an SSH server breaks unexpectedly, and if the SSH server supports roaming as well, the client is able to reconnect to the server and resume the interrupted SSH session. The roaming feature is enabled by default in OpenSSH ...
Issue How to change the boot order in RHEL 7 / CentOS 7 / OEL 7 How to set default boot to windows on Dual boot on the above environments. Solution In boot menu, the number starts with 0, so the 3rd selection will have the number 2. so to set the 3rd kernel in ...
Issue How to set hostname in CentOS-7 / RHEL-7 persistent across reboots. – I have changed /etc/hostname and it changes after reboot. Solution In CentOS / RHEL-7 you need to use the hostnamectlcommand line tool to update the hostname – To set the hostname permanently, issue the below command, hostnamectl set-hostname server1.jobnix.in To view the current ...
Issue How to check my cPanel / WHM server IPs against RBL ? How to prevent my mail server IPs from being blacklisted ? My cPanel server IP is blacklisted. I need an email alert on blacklisting my IPs ! Solution You can install the below script in /etc/cron.hourly or via crontab entry. Make sure ...