-
Notifications
You must be signed in to change notification settings - Fork 435
Site Module
EasyEngine site commands serves following purposes
ee site create example.com
# Another way
ee site create example.com --html
above commands serves the same purpose i.e. creates simple html site example.com.
ee site create example.com --php
above command creates php only site.
ee site create example.com --mysql
above command creates site example.com with mysql database.
EasyEngine can create wordpress sites with or without cache configuration. EasyEngine also can create WordPress multisites. This section covers ee site creation with wordpress.
Lets create example.com in various ways.
ee site create example.com --wp # install wordpress without any page caching
ee site create example.com --w3tc # install wordpress with w3-total-cache plugin
ee site create example.com --wpsc # install wordpress with wp-super-cache plugin
ee site create example.com --wpfc # install wordpress + nginx fastcgi_cache
ee site create example.com --wpsubdir # install wpmu-subdirectory without any page caching
ee site create example.com --wpsubdir --w3tc # install wpmu-subdirectory with w3-total-cache plugin
ee site create example.com --wpsubdir --wpsc # install wpmu-subdirectory with wp-super-cache plugin
ee site create example.com --wpsubdir --wpfc # install wpmu-subdirectory + nginx fastcgi_cache
ee site create example.com --wpsubdom # install wpmu-subdomain without any page caching
ee site create example.com --wpsubdom --w3tc # install wpmu-subdomain with w3-total-cache plugin
ee site create example.com --wpsubdom --wpsc # install wpmu-subdomain with wp-super-cache plugin
ee site create example.com --wpsubdom --wpfc # install wpmu-subdomain + nginx fastcgi_cache
Single Site | Multisite w/ Subdir | Multisite w/ Subdom | |
---|---|---|---|
NO Cache | --wp | --wpsubdir | --wpsubdom |
WP Super Cache | --wpsc | --wpsubdir --wpsc | --wpsubdom --wpsc |
W3 Total Cache | --w3tc | --wpsubdir --w3tc | --wpsubdom --w3tc |
Nginx cache | --wpfc | --wpsubdir --wpfc | --wpsubdom --wpfc |
Disabled site can be enabled with
ee site enable example.com
above command create the symbolic link form /etc/nginx/sites-available/example.com to /etc/nginx/sites-enabled/example.com so that site can accessible in browser.
Nginx configuration for the site can be viewed with
ee site show example.com
above command will show the output of /etc/nginx/sites-available/example.com file.
Information about site such as webroot, database name, log file path can be displayed with
ee site info example.com
Information about example.com:
Nginx configuration WPSINGLE BASIC (Enable)
access_log /var/log/nginx/example.com.access.log
error_log /var/log/nginx/example.com.error.log
Webroot /var/www/example.com/htdocs
DB_NAME example_com
DB_USER example_com
DB_PASS S9EYeZsTKiiKO7v
table_prefix wp_
All available sites are listed with Note : Below command shows sites in /etc/nginx/sites-available/ some of which may be disabled or not.
ee site list available
To disable site from the server use
Note : Replace example.com with your domain name
ee site disable example.com
above command will remove symbolic link example.com in /etc/nginx/sites-enabled/example.com to /etc/nginx/sites-available/example.com
To delete site created with EasyEngine (ee) use
ee site delete example.com
# Other Options
ee site delete example.com --no-prompt # Doesn't display prompt for confirmation
ee site delete example.com --db # Delete Database only
ee site delete example.com --files # Delete Webroot files
To Edit nginx configuration of your site use this command.
Below command opens /etc/nginx/sites-available/sitename
in vim editor.
To Edit nginx configuration of example.com use
ee site edit example.com
EasyEngine (ee):
- Installation
- Stack Module
- Site Module
- Debug Module
- Secure Module
- Other commands
- Configurartion File
- EasyEngine Logs
Tutorials:
- SFTP Setup
- Remote MySQL
- Setup OpenDKIM
- HHVM with EE 2.x.x
- Prevent MySQL crashing
- Change WordPress Cache
- Migrate Website With EasyEngine
- EasyEngine with Hosting Providers
Misc:
- FAQ
- Roadmap
- [Support Forum] (http://community.rtcamp.com/c/easyengine/)
- EasyEngine Update
- EasyEngine Admin Tools
- EasyEngine Beta Testing
Chat:
- [EasyEngine Developer Chat] (https://gitter.im/rtCamp/easyengine)
Testing:
- [Travis-CI] (https://travis-ci.org/rtCamp/easyengine/)
Donations:
Recently Modified: