CentOS 7 Grub 2
To regenerate grub config on CentOS 7, run grub2-mkconfig -o /boot/grub2/grub.cfg If you use UEFI, run grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg OVH CentOS 7…
To regenerate grub config on CentOS 7, run grub2-mkconfig -o /boot/grub2/grub.cfg If you use UEFI, run grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg OVH CentOS 7…
To reinstall a package with yum, run yum reinstall PKG_NAME Example yum reinstall kernel
You can restart services on xampp linux using /opt/lampp/lampp To restart, use /opt/lampp/lampp restart Here are other available options root@ip-172-31-36-153:~# /opt/lampp/lampp –help…
To remove SSH private key passphrase, run ssh-keygen -p -f SSH_PRIVATE_KEY_FILE Example Method 2 You can use OpenSSL to remove passphase with…
To bypass SMTP authentication for specific IP on Cpanel Exim mail server, edit file vi /etc/alwaysrelay Add IP or Hostname you need…
Here are some useful command working with AWS Elastic Beanstalk eb init = initialize environment eb list eb logs eb console =…
To always force webmail to use HTTP on VeataCP, edit file vi /etc/roundcube/defaults.inc.php Find $rcmail_config[‘force_https’] = false; Replace with $rcmail_config[‘force_https’] = true;
To run Prometheus Node Exporter on custom port, use /usr/local/bin/node_exporter –web.listen-address=:9101 Here is systemctl service script i used [root@cdn 1945]# cat /etc/systemd/system/node_exporter.service…
MariaDB is an Open Source MySQL drop-in replacement. MariaDB provides a repository for various operating systems at https://mariadb.org/download/?tab=repo-config To install MariaDB 10.3…
When Apache web server running behind reverse proxy or load balancer, server log and scripts show IP of reverse proxy server or…
When your Nginx web server is running behind a reverse proxy, you will see IP of the reverse proxy server as visitor…
To install Nginx web server on CentOS 8, create repo vi /etc/yum.repos.d/nginx.repo Add [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=0 enabled=1 Install nginx with…