WP Install Example

From Anna, 5 Years ago, written in Plain Text, viewed 793 times.
URL https://anna.fyi/view/34ddd950 Embed
Download Paste or View Raw
  1. root@miss [~/support]# ./wpinstall.sh
  2. !!!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!
  3.  This script does not have enough logic to be idiot proof.
  4.  Pay attention to what you're doing and don't be careless.
  5. !!!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!
  6.  
  7. What is the cPanel username for the installation? chan
  8. What is the ticket number (or something unique for the MySQL db & username)? 12345
  9. Hit y to install the WP site in the default public_html; Otherwise hit n to enter a custom dir: y
  10. ****************************
  11. ****Confirm installation****
  12. Target cPanel Account: chan
  13. Target Domain: annachan.org
  14. The MySQL database and username: chan_wp12345
  15. Destination directory: /home/chan/public_html
  16. Current contents of the destination directory (empty if nothing listed):
  17. Would you like to proceed with the WP installation? [y/n] y
  18. Creating MySQL user......................
  19. ---
  20. apiversion: 3
  21. func: create_user
  22. module: Mysql
  23. result:
  24.   data: ~
  25.   errors: ~
  26.   messages: ~
  27.   metadata: {}
  28.  
  29.   status: 1
  30.   warnings: ~
  31. Creating MySQL database......................
  32. ---
  33. apiversion: 3
  34. func: create_database
  35. module: Mysql
  36. result:
  37.   data: ~
  38.   errors: ~
  39.   messages: ~
  40.   metadata: {}
  41.  
  42.   status: 1
  43.   warnings: ~
  44. Setting privileges on database......................
  45. ---
  46. apiversion: 3
  47. func: set_privileges_on_database
  48. module: Mysql
  49. result:
  50.   data: ~
  51.   errors: ~
  52.   messages: ~
  53.   metadata: {}
  54.  
  55.   status: 1
  56.   warnings: ~
  57.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  58.                                  Dload  Upload   Total   Spent    Left  Speed
  59. 100   768    0   768    0     0   2720      0 --:--:-- --:--:-- --:--:--  2713
  60. *********************************
  61. Here's the MySQL info in the wp-config.php file
  62. define('DB_NAME', 'chan_wp12345');
  63. define('DB_USER', 'chan_wp12345');
  64. define('DB_PASSWORD', 'Hut9SKf7mq3k4PI2');
  65. *************************************************************
  66. WP installed, visit annachan.org to complete the installation
  67. *************************************************************
  68.  

Reply to "WP Install Example"

Here you can reply to the paste above