We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Easy Install Wordpress with this script!
Easy Install Wordpress with this script!
Hello people,
I made this script for myself so I thought I would share it with all. This is what it does:
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
-
- Posts: 4
- Joined: Mon Apr 02, 2018 4:53 pm
- Os: CentOS 6x
- Web: apache + nginx
Re: Easy Install Wordpress with this script!
Thanks dude..
Re: Easy Install Wordpress with this script!
Amazing to speed things up! Thanks a lot!
Re: Easy Install Wordpress with this script!
I just wanted to point out, that there is a tiny bit of trouble when using Apache 2.4, since the .htaccess calls are deprecated. You get a internal server error (500) and the logs telling you "Invalid command 'Deny'".
So I changed the creation process of the .htacess file from line 57-68.
old:
new:
Cheers
So I changed the creation process of the .htacess file from line 57-68.
old:
Code: Select all
<Files .htaccess>
Order Allow,Deny
Deny from all
</Files>
<Files wp-config.php>
Order Allow,Deny
Deny from all
</Files>
<Files xmlrpc.php>
Order allow,deny
Deny from all
</files>
Code: Select all
</IfModule>
<Files .htaccess>
Require all denied
</Files>
<Files wp-config.php>
Require all denied
</Files>
<Files xmlrpc.php>
Require all denied
</files>
# Gzip
<ifModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript
</ifModule>
Options +FollowSymLinks -Indexes
EOL
Re: Easy Install Wordpress with this script!
You could probably just make use of Scriptalicious which comes as an option on Vesta now :) (it does all the setting up for you)