- Install the remi Repository for PHP 8.3:
1rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-9.rpm
- Enable the remi Repository for PHP 8.3:
2dnf module enable php:remi-8.3 -y
- Use dnf to install the seven PHP 8.3 packages:
3dnf install -y php php-opcache php-mcrypt php-cli php-gd php-curl php-mysql
- Confirm that the remi-php8.3 Repository is installed:
- Restart the Apache service to apply the changes. (Hold off on this step until after you install WordPress):
- Change to the html directory:
- Download the latest version of WordPress using wget:
2wget http://wordpress.org/latest.tar.gz
- Extract the WordPress files:
- The flag x tells tar to extract the files
- The flag v tells tar to be verbose
- The flag f tells tar that the next argument is the file to extract
- Move into the WordPress directory:
- Copy the sample configuration file to the configuration file:
5cp wp-config-sample.php wp-config.php
- Move up one directory:
- Change the ownership of the WordPress files to the Apache user:
7chown -R apache:apache wordpress/
- Use vi to edit the wp-config.php file and input your db information in the fields as appropriate
- DB_NAME: ‘wordpress’
- DB_USER: ‘wpuser’
- DB_PASSWORD: ‘CIS335wcu!@#$‘
- From your Client VM, connect to: http://192.168.g#.s#5/wordpress
- You should get the installer screen for WordPress. Follow the prompts to complete the installation.
- Site Title: STUDENT NAME
- Username: WCU USERNAME
- Password: CIS335wcu!@#$
- Email: WCU EMAIL
- Poweroff your server and take a snapshot of your system if this is working.