Category : LEMP

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