Setting up WordPress on a nginx server is not an easy task for everyone. I have spent many hours trying to configure wordpress to work with nginx. But after few days of searching i came across easyengine. It made my life a lot easier by making it easy to setup a LEMP server and install wordpress
EasyEngine is a Linux shell script which allows you to install manage WordPress with NGINX , all automatically and easily. It supported on Ubuntu and Debian Linux Distributions.
Check out our latest Digital Ocean Promo Codes to save on Digital Ocean Pricing.
Features of EasyEngine :
- Single and multi-site support and It can manage any number of WordPress websites.
- Supports automatic updates.
- It installs w3-total-cache, wp-super-cache, Nginx’s FastCGI-cache, Zend Opcache, and Memcache.
Steps to install
Run the following command to install EasyEngine from Terminal
curl -sL rt.cx/ee | sudo bash
After running the command output looks like
Executing apt-get update, please wait... Creating EasyEngine (ee) log directory, please wait... Installing required packages, please wait... Reading package lists... Building dependency tree... Reading state information... bc is already the newest version. coreutils is already the newest version. curl is already the newest version. ed is already the newest version. tar is already the newest version. wget is already the newest version. The following extra packages will be installed: fontconfig fontconfig-config fonts-dejavu-core fonts-liberation git git-man libcairo2 libcdt5 libcgraph6 libdatrie1 liberror-perl libfontconfig1 libgd3 libgraphite2-3 libgvc6 libgvpr2 libharfbuzz0b libice6 libjbig0 libjpeg-turbo8 libjpeg8 libltdl7 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpathplan4 libpixman-1-0 libsm6 libthai-data libthai0 libtiff5 libvpx1 libxaw7 libxcb-render0 libxcb-shm0 libxmu6 libxpm4 libxrender1 libxt6 python-pycurl x11-common Suggested packages: git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-bzr git-cvs git-mediawiki git-svn gsfonts graphviz-doc libgd-tools ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp libcurl4-gnutls-dev python-pycurl-dbg The following NEW packages will be installed: fontconfig fontconfig-config fonts-dejavu-core fonts-liberation git git-core git-man graphviz libcairo2 libcdt5 libcgraph6 libdatrie1 liberror-perl libfontconfig1 libgd3 libgraphite2-3 libgvc6 libgvpr2 libharfbuzz0b libice6 libjbig0 libjpeg-turbo8 libjpeg8 libltdl7 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpathplan4 libpixman-1-0 libsm6 libthai-data libthai0 libtiff5 libvpx1 libxaw7 libxcb-render0 libxcb-shm0 libxmu6 libxpm4 libxrender1 libxt6 python-pycurl python-software-properties x11-common 0 upgraded, 44 newly installed, 0 to remove and 47 not upgraded. Need to get 9,716 kB of archives. After this operation, 43.4 MB of additional disk space will be used. Get:1 https://in.archive.ubuntu.com/ubuntu/ trusty/main fonts-dejavu-core all 2.34-1ubuntu1 [1,024 kB] Get:2 https://in.archive.ubuntu.com/ubuntu/ trusty-updates/main fontconfig-config all 2.11.0-0ubuntu4.1 [47.4 kB] Get:3 https://in.archive.ubuntu.com/ubuntu/ trusty-updates/main libfontconfig1 i386 2.11.0-0ubuntu4.1 [124 kB] [...] . . . . [...] EasyEngine (ee) required your name & email address to track changes you made under the Git version control EasyEngine (ee) will be able to send you daily reports & alerts in upcoming version EasyEngine (ee) will NEVER send your information across For EasyEngine (ee) auto completion, run the following command source /etc/bash_completion.d/ee EasyEngine (ee) installed successfully EasyEngine (ee) help: https://rtcamp.com/easyengine/docs/
For EasyEngine auto-completion, run the following command
The following command will install Nginx, PHP, MySQL, and postfix.
sudo ee stack install
Now Nginx, PHP, PHPMyAdmin, admin, PHPMyAdmin have been installed.
You can access the test page by navigating to the URL: https://ip-address or https://localhost.
For example, to create a WordPress site enter the following command.
sudo ee site create unixmen.local --wp
After running the command output looks like
Creating unixmen.local, please wait... Creating symbolic link for unixmen.local Creating htdocs & logs directory Downloading WordPress, please wait... Setting up WordPress, please wait... Updating WordPress permalink, please wait... Installing Nginx Helper plugin, please wait... Changing ownership of /var/www/unixmen.local, please wait... Git commit on /etc/nginx/, please wait... Executing service nginx reload, please wait... WordPress Admin Username: admin WordPress Admin Password: zVMW3gfrXtbI9ii Successfully created new website: https://unixmen.local
Now, WordPress site has been created in less than 5 minutes
To find the MySQL server root user password, use the following command
sudo cat ~/.my.cnf
For WordPress site-specific username and password, check the WordPress site’s wp-config.php file.
List of EasyEngine commands to create WordPress
Standard WordPress Sites:
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
WordPress Multisite with subdirectory:
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
WordPress Multisite with subdomain:
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
Installing and deploying WordPress sites is very convenient with Easy Engine, it makes this complicated work easy. Use Easyengine on your DigitalOcean Servers to save time on server setup and WordPress installation. You don’t need to be an advanced user to install and WordPress and non-WordPress websites.
Do share this post if it helped you 🙂 Let us know your opinion in the comments section below.
DigitalOcean is one of the best cloud hosting providers which was founded in 2011. They are highly flexible and practical hosting plans.This cloud host can easily meet the needs of a small-to-medium website due to great hardware features and amazing prices. This was the second largest cloud hosting company after Amazon EC2.
DigitalOcean is the cheapest cloud server which will include an SSD hard drive for all their hosting plans .This will make your cloud work at extremely high speeds. They give more attention on web developer and the small web business companies.
DigitalOcean contains user-friendly control panels and flexible APIs.They stack’s up well with other cloud hosting services and other web hosting providers.
Why To Choose DigitalOcean Cloud Hosting?
- They provide SSD storage
- Higher bandwidth
- Super Fast VPS Server ( Droplet) deployment in 55 sec.
- It contains flexible API.
- Pricing is based on Hourly or monthly usage, so it is suitable for both small and large business.
Plans / Pricing
Digital Ocean provides only cloud hosting and don’t offer shared or dedicated hosting plans. The starter plan starts at just $5 a month. So it will cost $0.007/hour when you have a droplet running for an hour. You can also get 10$ Hosting Credit on your new digitalocean account by using these digitalocean promo codes when you signup for a new account.
Digital Ocean runs all cloud servers by using SSD’s so provides high read and write speed which in turn provides better speed. They do not provides any money back guarantee and they use an own hourly payment structure.
Digital Ocean is mainly focused on the selling point and then their customer services.They offer 24/7 support for web hosting but they do not provides any telephone or live chat support.They use a ticket system.Ticket support system gives you the better idea.In this process, we have to submit a ticket for testing and they will check and give what we need.If you do not get any proper response for the ticket which was submitted almost five hours then we have to consider the industry and demands.
Digital Ocean has a pretty extensive knowledge base.They handle most issues and questions that may arise. The extensive community-based support helpful for found the most solutions.
Speed / Reliability
Digital Ocean runs their cloud servers built with Hex Core machines and it combines with the Floating IPs so they will provide excellent speeds and also will have good uptime.
Digital Ocean has data centers located in Toronto, New York, San Francisco, Amsterdam, Frankfurt, London, and Singapore.You can choose any of these data centers based on your geographic location when you are creating a droplet.
Digital Ocean focuses on quality and performance.They not only provide SSDs for high performance but also provides the option to migrate data to other data centers they provide.
Digital Ocean takes your data and everything very seriously and provides more security to your data.Data centers take more backup power supplies to protect from downtime.Your data are protected by 24/7 physical security. They also provide various access controls services like two-factor authentication and biometric readers.
For authentication services most recommended, key is SSH keys. .The use of SSL certificates is nearly essential in the present day for e-commerce sites and high-traffic websites alike.
Digital Ocean interface is not only easy but also provides a better User Experience. They can easily create,resize and manage all droplets. After creating your droplet you can manage your cloud servers using its inbuilt terminal itself or you can connect to your server using Mac Terminal Window or Using Command Prompt in Windows.
It gives you user-friendly experience.It provides 1-click installs process including WordPress, Drupal, and Joomla.
Digital Ocean doesn’t offer refunds nor does they have a money back guarantee but they provide the best value for money for a Cloud service provider. They provide 24/7 support for any queries related to the Droplet.
Digital Ocean may be the right choice for your business if you wanted super fast SSD VPS droplet at the best price and a whole community to help you out with issues and tutorials to setup a VPS droplet and run a website or any other online service.
How to Get 10$ Free Credit When you Signup On Digital Ocean :
- You have to create a new account to get the 10$ credit.
- Visit our Digital Ocean Promo Code link and follow the simple steps.
- After that you will be asked to enter your email address and your name.
- Then you have to verify your account and then you can see the 10$ credit on your account.
Let us know if you have any problems on using this promotion. Also check out our post on How to install WordPress On digital Ocean Within Minutes.