vi /etc/nginx/conf.d/Place the following content. I am creating a server block for the following,ĭomain Name: Port No: 80 Document Root: /sites/Logs: /sites/First, create a virtual host file. Virtual host configuration files can be found under /etc/nginx/conf.d directory. Let’s create a server block for WordPress installation. yum install -y php-mysqlnd php-dom php-simplexml php-xml php-xmlreader php-curl php-exif php-ftp php-gd php-iconv php-json php-mbstring php-posix php-sockets php-tokenizer Configure Nginx Server block for WordPress The following extensions are required to install WordPress on CentOS 8 / RHEL 8. Install LEMP Stack (Nginx, MariaDB, and PHP) on CentOS 8 / RHEL 8 Install PHP Extensions I have vsftpd already installed, but have no idea how to configure a user and any general settings to work with WordPress. CentOS 7 Ubuntu 18.04 Ubuntu 16.04 Install LEMP Stackīefore proceeding, setup the LEMP stack using the below link. I have recently set up WordPress on my VPS, and everything is working, except for FTP.
0 Comments
Leave a Reply. |