Skip to content

Installer tweaks #78

@rahul286

Description

@rahul286

Step - 1 - easyengine install

Suppress system generated output (redirect it to install.log)

  • Remove spaces from our messages...

source /etc/bash_completion.d/ee

Should be

source /etc/bash_completion.d/ee

  • Highlight source /etc/bash_completion.d/ee
  • Search and replace name "Easy Engine" with "EasyEngine (ee)"
  • Ask name and email to set up for git and logs

Show a message like:

EasyEngine needs your name and email-address so that it can track changes you made to system with your name and email under git.
EasyEngine will be able to send you daily reports and alerts in upcoming version.
You can also provide same with following git commands. EasyEngine will never send your information across.

git config --global user.name "Your Name"
git config --global user.email you@example.com

Enter your name[whoami]:
Enter your email address[whoami@hostname -f]:

Step - 2 - system install

  • ee system install should check if this is a fresh system. (dpkg -l php, apache, nginx, mysql)

If not found, set "Y" for all choices implicitly.

Again redirect system generated output to (redirect i.e. append it to install.log)

Also add a line separator with date time, etc in install.log

  • mysql root password prompt should not show up. Setup secure and random password in ~/.my.cnf. I hope if we setup that file mysql will pick it from there.
  • postfix config - choose Internet SIte and setup hostname to FQDN of machine
  • Change error WP Command Not Found ! to WP-CLI Not Found!
  • Change Installing PMA... to Installing phpMyAdmin
  • Change Nginx PHP5 PMA MySQL Postfix Successfully Installed to Nginx PHP5 phpMyAdmin MySQL Postfix WP-CLI Successfully Installed
  • Add new message

You can now create your first WordPress site powered by Nginx using:
ee site create wp basic "hostname -f"

Step - 3 WordPress site creation

  • Remove MySQL Host [localhost]:
  • Remove Enter The MySQL Username [root]:
  • Remove Enter The MySQL Password: (use ~/.my.cnf)
  • Remove Enter The MySQL Database Name [test.rtcamp.com]: (also replace dot (.) with underscore (_)
  • Remove Enter The MySQL Database Table Prefix [wp_]:
  • Remove Site Title [test.rtcamp.com]:
  • Remove Username [admin]:
  • Remove Password (set a random password and display it). If easyengine default has a default password, use it.
  • Remove Email as it is collected in Step 1
  • Change color Successfully Created New wp basic Website: http://test2.rtcamp.com to green

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions