TASK4_HCC_CREATING_A_WEB_PORTAL_USING_PUBLIC_&_PRIVATE_SUBNET_WITH_NAT_SUPPORT

CREATE DATABASE test_db;
CREATE USER 'derek'@'wpserverip' IDENTIFIED BY "Strong34S;#";
GRANT ALL PRIVILEGES ON test_db.* TO 'derek'@'wpserverip';
FLUSH PRIVILEGES;
exit
dnf install php-mysqlnd php-fpm httpd tar curl php-json
systemctl start httpd
systemctl enable httpd
curl https://wordpress.org/latest.tar.gz --output wordpress.tar.gz
tar xf wordpress.tar.gz
cp -r wordpress /var/www/html
chown -R apache:apache /var/www/html/wordpress
chcon -t httpd_sys_rw_content_t /var/www/html/wordpress -R

THANK YOU

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Linting Python in VS Code

If you don’t go along with the program, the program won’t work for you..

Inside the Chef’s Jacket, I’m Software: Multi-Pockets for All The Chains

Ultimate Guide to Becoming a Full Stack Web Developer In 2022

Code Smell 132 — Exception Try Too Broad

LSP Reward Report — February 2022

ST bus will fill diesel at private pumps

[Juho’s AutoHotkey Script Demo #15] Vis2 Subtitles

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Akshat Soni

Akshat Soni

More from Medium

Tasks we solve with Zabbix and Prometheus

A Swing Through TechWallet CEO Eugene Plotkin’s Jazz Record Collection

SW 150: Fictional Superhero Story