Skip to content
Harshad Yeola edited this page Jul 24, 2014 · 32 revisions

EasyEngine (ee)

FAQ

What is EasyEngine (ee)?

EasyEngine is a linux shell-script used to manage sites that run WordPress on the web-server software nginx, a popular alternative to Apache.

How to access EasyEngine admin tools?

EasyEngine admin tools can be accessed using 2222 port. https://example.com:22222.

What is 22222 ?

EasyEngine (ee) admin port to manage admin utilities.

How to use other port than 22222?

To modify the port use command ee site edit 22222 and modify port there.

How is EasyEngine different from Apache?

EasyEngine, with its array of commands, is much simpler to use than Apache, for your web-server needs.

As an interface for nginx, it is known to perform better and faster than Apache, particularly when the number of concurrent site visitors is on the rise.

Does EasyEngine work with shared hosting?

No. Shared hosting services do not allow root or sudo access, which is required to install EasyEngine.

How should I fix GPG Key issue?

Open the file /etc/easyengine/ee.conf in your favorite text editor and set 'gpg-keys-fix=true'

Is the entire install process run by EasyEngine logged? If yes, what is the location of the log file?

Yes. The install log file for sites installed using EasyEngine can be found at this location.

/var/log/easyengine/install.log

Where is EasyEngine's error log located?

EasyEngine's error log can be found at this location:

/var/log/easyengine/error.log

Which version of PHP does EasyEngine install?

EasyEngine always installs the latest version of PHP.

Which operating systems are supported by EasyEngine?

EasyEngine v2.0.0 supports all Ubuntu Distro ( till its end of Life) and Debian 6/7.

Centros or any other Linux Distro is not currently supported. They are also not on the product roadmap in the near future.

Can I get to know the various subcommands for every command in EasyEngine?

Yes. Simply press the tab key on your keyboard after typing the command. For example, if you want to know the subcommands related to 'site', type this:

ee site

and then press the tab key on your keyboard.

What should be done if the tab key does not suggest available subcommands?

Run this command to fix this:

source /etc/bash_completion.d/ee

How to force EasyEngine to ask for permission before installing any package?

Open the following file in your favorite text editor and set 'apt-get-assume-yes=true'

vim /etc/easyengine/ee.conf

How should I fix GPG Key issue?

Open the following file in your favorite text editor and set 'gpg-keys-fix=true'

vim /etc/easyengine/ee.conf

How to change mysql host from localhost to another host?

Open the following file in your favorite text editor and set 'mysqlhost=rtcamp.com'

vim /etc/easyengine/ee.conf

How to set a custom database name for website?

Open the following file in your favorite text editor

vim /etc/easyengine/ee.conf

and set

db-name = true

in mysql section.

How to create a custom database user for website?

Open the following file in your favorite text editor and set 'db-user = true'

vim /etc/easyengine/ee.conf

How to change the wordpress database table prefix?

Open the file vim /etc/easyengine/ee.conf in your favorite text editor and set 'prefix = true' in wordpress section. Now after this, when you create any wordpress site it is going to ask you database table prefix.

Q 17. How to change wordpress admin username?

Open the following file in your favorite text editor and set 'user = rtcamp'

vim /etc/easyengine/ee.conf

This will be the username for wordpress sites you create in future.

How to set custom WordPress admin password rather than random?

Open the following file in your favorite text editor and set 'password = mypass'

vim /etc/easyengine/ee.conf

How to change wordpress email?

Open the following file in your favorite text and editor set 'email = [email protected]'

vim /etc/easyengine/ee.conf

How to set default page or site when any site on server is disabled?

Edit default site config

ee site edit default

Add following line after bash server { line:

listen 80 default_server;

Then enable default site ee site enable default

This will make sure nginx’s default site (the one you see when you type site’s IP address in browser) shows up for any non existent domain.

If you see “Welcome to nginx!” page after this, you can edit that default page content by editing html file – /usr/share/nginx/www/index.html

Clone this wiki locally