Easy Install Wordpress with this script!

Questions regarding the Command Line Interface
CLI
jetonr
Posts: 1
Joined: Thu Oct 12, 2017 10:10 pm

Easy Install Wordpress with this script!

Postby jetonr » Mon Oct 23, 2017 11:20 pm

Hello people,
I made this script for myself so I thought I would share it with all. This is what it does:

  • downloads the latest.tar.gz on the public_html of the user and domain you enter.
  • Removes the unnecessary files ( wp-config-sample.php, readme.html, license.txt and latest.tar.gz )
  • Creates a seccure .htacess file & sets correct premssions for file
  • Generates a robots.txt file with correnct ownership
  • Creates a database with user and password you enter for WordPress use
  • Creates a wp-config.php file with generated configuration and SALT included

https://gist.github.com/jetonr/d2fcf06332bfb9257de6d94a5d8bb31e

Return to “CLI”



Who is online

Users browsing this forum: No registered users and 1 guest

cron