- root@miss [~/support]# ./wpinstall.sh
- !!!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!
- This script does not have enough logic to be idiot proof.
- Pay attention to what you're doing and don't be careless.
- !!!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!
- What is the cPanel username for the installation? chan
- What is the ticket number (or something unique for the MySQL db & username)? 12345
- Hit y to install the WP site in the default public_html; Otherwise hit n to enter a custom dir: y
- ****************************
- ****Confirm installation****
- Target cPanel Account: chan
- Target Domain: annachan.org
- The MySQL database and username: chan_wp12345
- Destination directory: /home/chan/public_html
- Current contents of the destination directory (empty if nothing listed):
- Would you like to proceed with the WP installation? [y/n] y
- Creating MySQL user......................
- ---
- apiversion: 3
- func: create_user
- module: Mysql
- result:
- data: ~
- errors: ~
- messages: ~
- metadata: {}
- status: 1
- warnings: ~
- Creating MySQL database......................
- ---
- apiversion: 3
- func: create_database
- module: Mysql
- result:
- data: ~
- errors: ~
- messages: ~
- metadata: {}
- status: 1
- warnings: ~
- Setting privileges on database......................
- ---
- apiversion: 3
- func: set_privileges_on_database
- module: Mysql
- result:
- data: ~
- errors: ~
- messages: ~
- metadata: {}
- status: 1
- warnings: ~
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 768 0 768 0 0 2720 0 --:--:-- --:--:-- --:--:-- 2713
- *********************************
- Here's the MySQL info in the wp-config.php file
- define('DB_NAME', 'chan_wp12345');
- define('DB_USER', 'chan_wp12345');
- define('DB_PASSWORD', 'Hut9SKf7mq3k4PI2');
- *************************************************************
- WP installed, visit annachan.org to complete the installation
- *************************************************************