Home PageSocialsBlog MetaPoetryTechThoughts/RantsProjectsVPS SetupGit ReposFriends of STUTS

VPS Setup

×
# installed, started & enabled mariadb server
# ran mysql_secure_installation

mysql -u root -p
    CREATE DATABASE wordpress CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
     GRANT ALL ON wordpress.* TO 'wordpressuser'@'localhost' IDENTIFIED BY 'STRONG-PASSWORD';
     FLUSH PRIVILEGES;
     EXIT;

yum install php72-php-cli php72-php-fpm php72-php-mysql php72-php-opcache php72-php-json php72-php-mbstring php72-php-xml php72-php-gd php72-php-curl

vim =/etc/opt/remi/php72/php-fpm.d/www.conf
    # change user & group from centos to nginx
    listen = /run/php-fpm/www.sock
    # change listen.user & listen.group from centos to nginx

systemctl start php72-php-fpm
systemctl enable php72-php-fpm



cd /tmp
wget https://wordpress.org/latest.tar.gz

mkdir /var/www/joanaleal.art
cd /var/www/joanaleal.art

tar xf /tmp/latest.tar.gz --strip 1