Skip to content

Crear un sitio básico de wordpress en ubuntu 16.04 de manera automática por línea de comandos

Notifications You must be signed in to change notification settings

jairoFernandez/wordpress-installer-ubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create Wordpress Site automatically

Create dirs

# Define BASE_PATH in config.sh
    mkdir BASE_PATH/Sites
    mkdir BASE_PATH/Projects

Install wp-cli

    curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
    php wp-cli.phar --info
    chmod +x wp-cli.phar
    sudo mv wp-cli.phar /usr/local/bin/wp
    wp --info

Asignate permissions for scripts

    chmod +x ~/../config.sh
    chmod +x ~/../install-wp.sh
    chmod +x ~/../virtualhost/virtualhost.sh

Create site wordpress

    ./install-wp.sh "mi-awesome-site.com"
    ./uninstall-wp.sh "mi-awesome-site.com"

TODO:

Check permissions to files

    sudo chown www-data:www-data * -R
    sudo usermod -a -G www-data linux_user_name

About

Crear un sitio básico de wordpress en ubuntu 16.04 de manera automática por línea de comandos

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages