-
Notifications
You must be signed in to change notification settings - Fork 431
``# EasyEngine (ee)
EasyEngine is a linux shell-script used to manage sites that run WordPress or PHP on the nginx web-server a popular alternative to Apache.
EasyEngine keep its executable in folder /usr/local/sbin/ee
. The executables in this folder are accessible by either root user or using sudo, so you need to execute:
sudo ee stack install
EasyEngine admin tools can be accessed using 22222 port. https://example.com:22222
. Default Username/Password is easyengine/easyengine. It by any chance that is not working or you don't know your username/password you can reset them by doing:
sudo ee secure --auth
... as exaplined at https://rtcamp.com/easyengine/docs/commands/ee-secure/9
phpMyadmin is listed under db section in EasyEngine admin tools. So to access phpMyadmin use https://example.com:22222/db/pma/
To modify the port use command ee secure --port
and modify port there.
form better and faster than Apache, particularly when the number of concurrent site visitors is on the rise.
Suppose you have run ee stack install
. MySQL username and password are stored in .my.cnf
file. The Location of file depends on which user runs ee stack install
. i.e root@vagrant-ubuntu-trusty-32:~# sudo ee stack install
command creates file in home directory of sudo user i.e here in /home/harshad/.my.cnf
and root@vagrant-ubuntu-trusty-32:~# ee stack install
run with root user creates file at /root/.my.cnf
location.
Since EasyEngine v3.3.5, the file .my.cnf
isn't created anymore. Instead, the new location file is /etc/mysql/conf.d/my.cnf
.
No. Shared hosting services do not allow root or sudo access, which is required to install EasyEngine.
Open the following file in your favorite text editor and set apt-get-assume-yes=true
vim /etc/ee/ee.conf
Open the file /etc/ee/ee.conf
in your favorite text editor and set gpg-keys-fix=true
EasyEngine maintains logs in directory /var/log/ee
-
install logs in
install.log
file -
error logs in
error.log
file -
command logs in
ee.log
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.
Run this command to fix this:
source /etc/bash_completion.d/ee
Open the following file in your favorite text editor and set 'mysqlhost=rtcamp.com'
vim /etc/ee/ee.conf
Open the following file in your favorite text editor
vim /etc/ee/ee.conf
and set
db-name = true
in mysql section.
Open the following file in your favorite text editor and set db-user = true
vim /etc/ee/ee.conf
Open the file vim /etc/ee/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.
Open the following file in your favorite text editor and set user = rtcamp
vim /etc/ee/ee.conf
This will be the username for wordpress sites you create in future.
Open the following file in your favorite text editor and set password = mypass
vim /etc/ee/ee.conf
Open the following file in your favorite text and editor set email = [email protected]
vim /etc/ee.conf
Edit default site config
ee site edit default
Add following line after 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
If you are facing this error:
Fatal error: session_start(): Failed to initialize storage module: memcache
Then two resolve this:
vim /var/www/22222/htdocs/vimbadmin/application/configs/application.ini +624
and comment this line:
;resources.session.save_path = APPLICATION_PATH "/../var/session"
Unable to Install mail server, getting error Found installed Dovecot Packages server, exit status= 1
In EasyEngine we have taken precaution that, it will not touch your current mail server setup either, it is installed by EasyEngine or manully installed by you self.
Still if you want to reinstall current mail server setup assuming that it was installed by EasyEngine, then use following commands:
ee stack purge mail
ee stack install mail
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: