wordpress_install/updated_install2.sh

9 lines
233 B
Bash

#!/bin/bash
# ====== CONFIGURATION ======
DB_PASSWORD="changeme123" # <- Set your database password here
rsync -avP /tmp/wordpress/ /var/www/html/
chown -R www-data:www-data /var/www/html/
chmod -R 755 /var/www/html/
rm index.html