added some info

This commit is contained in:
allan 2025-06-02 13:17:21 +02:00
parent 52a073040b
commit 729484d5d1

View File

@ -13,7 +13,7 @@ git clone https://git.x-files.dk/ubuntu-web-application/wordpress-install.git
### Usage
cd wordpress-install
sudo ./wordpressinstall [-n] <domain name> [-d] <wp database name> [-u] <wp database user> [-p] <wp database pwd>
sudo ./wordpressinstall [-n] <domain name> [-d] <wp database name> [-u] <wp database user> [-p] <wp database pwd> [-r] <database root password>
### Example
sudo ./wordpressinstall -n wp.something.xyz -d wpdbname -u wpdbuser -p wpdbpassword
@ -39,6 +39,10 @@ and also the default "sites-enabled" Nginx configurarion I use
[\[Here\]](https://git.x-files.dk/ubuntu-web-server/nginx-install/src/branch/main/cfg/default)
when you start troubleshooting.
### Q and A
Q: Why does the script needs the root password for MariaDB ?
A: The script need this password in order to be able to create the wordpress database and det the correct permisions.
### More guides
More guides can be found on [\[wiki.x-files.dk\]](https://wiki.x-files.dk)