13 lines
338 B
Bash
13 lines
338 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
dnf update -y
|
||
|
dnf install -y httpd wget php-fpm php-mysqli php-json php php-devel mariadb105
|
||
|
|
||
|
wget http://ja.wordpress.org/latest-ja.tar.gz -P /tmp/
|
||
|
tar zxvf /tmp/latest-ja.tar.gz -C /tmp
|
||
|
cp -r /tmp/wordpress/* /var/www/html/
|
||
|
chown apache:apache -R /var/www/html
|
||
|
|
||
|
systemctl enable httpd.service
|
||
|
systemctl start httpd.service
|