Category : LEMP

Disable IPv6 using sysctl settings Check ifconfig -a | grep inet6 inet6 fe80::211:aff:fe6a:9de4 prefixlen 64 scopeid 0x20 inet6 ::1 prefixlen 128 scopeid 0x10[host] 1. Append below lines in /etc/sysctl.conf: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 NOTE : To disable IPv6 on a single interface add below lines to /etc/sysctl.conf : net.ipv6.conf.[interface].disable_ipv6 = 1 ### put ..

Read more

Fresh CentOS 7 Install NGINX yum install screen epel-release -y yum install nginx -y mkdir /etc/nginx/sites-available/ systemctl start nginx systemctl enable nginx MySQL wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm rpm -ivh mysql57-community-release-el7-8.noarch.rpm rm -f mysql57-community-release-el7-8.noarch.rpm yum clean all -y yum install mysql-server -y systemctl restart mysqld systemctl enable mysqld Secure MySQL grep “temporary password” /var/log/mysqld.log A temporary password is ..

Read more

I always forget how to do this, I usually spend more time looking for the guide I used last time than the just a basic guide!! Anyway, Use parted to create the partition parted /dev/sda mklabel gpt unit TB mkpart primary 0 100% print quit Create Physical LVM Volume # pvcreate /dev/sda1 Physical volume “/dev/sda1” ..

Read more