LEMP on Ubuntu 14.04 64bits powered by IGS
Jun 28, 2024
/phpMyAdmin
2.6 Program Description
Apache
Directory: /usr/local/apache
Configuration File: /usr/local/apache/conf/httpd.conf
Error log File:
Mysql
Directory: /usr/local/apache
Configuration File: /etc/my.cnf
Data File: /data/mysql
PHP
Directory: /usr/local/php
Configuration File: /usr/local/php/etc/php.ini
php additional file: /usr/local/php/etc/php.d
For password, refer to following file in Ubuntu after installation.
/root/password.pwd
2.7 Software Operation Command
Apache
sudo service httpd start/restart/stop
Mysql
sudo service mysqld start/restart/stop
Proprietary&Confidential.NotforRedistribution 9 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
3 Ubuntu 14.04 64bits WordPress +LAMP
This image is built with Ubuntu 14.04 and bundled with following popular software for web
service solution.Optimized to addressyour security concern.
WordPress - a free and open-source content management system (CMS). It was used by more
than 26.4% of the top 10 million websites as of April 2016. WordPress is the most popular
blogging system in use on the Web, at more than 60 million websites.
Feature Highlight
Full Theme System: Change the look and feel of your site with a few clicks by using
existing free or commercial Wordpress themes
Standards-compliant: Wordpress is in full compliance with the standards of the ECS.
Thousands of plugins and widgets available
3.1 Software Components
Operation System
Ubuntu 14.04 64bits
Apache
- the world''s most used web server software
Version 2.4.23
MySQL
- relational database management system
Version 5.6.31
PHP
Version 5.5.37
phpMyAdmin
-Web GUI for the administration of MySQL
Version 4.4.15.7
openssh-server
- Secure remote console for server management
Version 6.6
openssh-sftp-server
- Secure FTP for file uploading
Version 6.6
WordPress
Version 4.5.3
3.2 Setup WordPress
Refer to WordPress section.
3.3 Program Description
Apache
Directory: /usr/local/apache
Configuration File: /usr/local/apache/conf/httpd.conf
Error log File:
Mysql
Proprietary&Confidential.NotforRedistribution 10 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
Directory: /usr/local/apache
Configuration File: /etc/my.cnf
Data File: /data/mysql
PHP
Directory: /usr/local/php
Configuration File: /usr/local/php/etc/php.ini
php additional file: /usr/local/php/etc/php.d
Workpress
Directory: /data/wwwroot/default/
For password, refer to following file after installation.
/root/password.pwd
3.4 Software Operation Components
Apache
sudo service httpd start/restart/stop
Mysql
sudo service mysqld start/restart/stop
Proprietary&Confidential.NotforRedistribution 11 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
4 Ubuntu 14.04 64bits LEMP
This image is built with Ubuntu 14.04 and bundled with following popular software for web
service solution. Instead of Apache, this uses another high-performance HTTP server -
Nginx web server.Optimized to addressyour security concern.
4.1 Nginx Configuration Contexts
Nginx is a high performance web server that is responsible for handling the load of some of the
largest sites on the internet. It is especially good at handling many concurrent connections and
excels at serving static content.
The Configuration file will be located at /usr/local/nginx/conf/nginx.conf or
/usr/local/etc/nginx/nginx.conf. If it does not exist there, it may also be at /etc/nginx/nginx.conf.
The Main Context: The main context represents the broadest environment for Nginx
configuration. It is used to configure details that affect the entire application on a basic level.
While the directives in this section affect the lower contexts, many of these aren''t inherited
because they cannot be overridden in lower levels.
The Events Context: The "events" context is contained within the "main" context. It is used to
set global options that affect how Nginx handles connections at a general level. There can only
be a single events context defined within the Nginx configuration.
The Http Context: When configuration Nginx as a web server or reverse proxy, the "http"
context will hold the majority of the configuration. This context will contain all of the directives
and other contexts necessary to define how the program will handle HTTP or HTTPS
connections.
The Server Context: The "server" context is declared within the "http" context. It is allowed for
multiple declarations. The reason for allowing multiple declarations of the server context is that
each instance defines a specific virtual server to handle client requests.
The Location Context: Location contexts share many relational qualities with server contexts.
For example, multiple location contexts can be defined, each location is used to handle a certain
type of client request, and each location is selected by virtue of matching the location definition
against the client request through a selection algorithm.
Reference: https://www.digitalocean.com/community/tutorials/understanding-the-nginx-
configuration-file-structure-and-configuration-contexts#conclusion
4.2 Software Components
Operation System
Ubuntu 14.04 64bits
Nginx
- high-performanceweb server software
Version 1.10.1
MySQL
- relational database management system
Version 5.7.13
PHP
Version 5.5.38
Proprietary&Confidential.NotforRedistribution 12 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
PhpMyAdmin
-Web GUI for the administration of MySQL
Version 4.4.15.7
openssh-server
- Secure remote console for server management
Version 6.6
openssh-sftp-server
- Secure FTP for file uploading
Version 6.6
4.3 Default Website
To access, using following URL
http://
4.4 Upload web page files
Place your files into a directory called the "document root" of the server. The document root is at
/data/wwwroot/defaultby default. Place your files there.
When you are finished (provided that your domain name has been updated around the world),
you should be able to access your site in your web browser.
4.5 phpMyAdmin
Use following URL to open phpMyAdmin page
http:///phpMyAdmin
4.6 Program Description
Nginx
Directory: /usr/local/nginx
Configuration File: /usr/local/nginx/conf/nginx.conf
Mysql
Directory: /usr/local/apache
Configuration File: /etc/my.cnf
Data File: /data/mysql
PHP
Directory: /usr/local/php
Configuration File: /usr/local/php/etc/php.ini
php additional file: /usr/local/php/etc/php.d
For password, refer to following file in Ubuntu after installation.
/root/password.pwd
4.7 Software Operation Command
Nginx
Proprietary&Confidential.NotforRedistribution 13 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
servicenginx {start|stop|status|restart|reload|configtest}
Mysql
servicemysqld {start|stop|restart|reload|status}
Apache
servicehttpd {start|restart|stop}
Proprietary&Confidential.NotforRedistribution 14 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
5 Ubuntu 14.04 64bits WordPress + LEMP
This image is built with Ubuntu 14.04 and bundled with following popular software for web
service solution. Instead of Apache, this uses another high-performance HTTP server -
Nginx web server.Optimized to addressyour security concern.
WordPress - a free and open-source content management system (CMS). It was used by more
than 26.4% of the top 10 million websites as of April 2016. WordPress is the most popular
blogging system in use on the Web, at more than 60 million websites.
5.1 Software Components
Operation System
Ubuntu 14.04 64bits
Nginx
Version 1.10.1
- high-performanceweb server software
MySQL
Version 5.7.13
- relational database management system
PHP
Version 5.5.38
PhpMyAdmin
Version 4.4.15.7
- Web GUI for the administration of MySQL
openssh-server
Version 6.6
-Secure remote console for server management
openssh-sftp-server
Version 6.6
-Secure FTP for file uploading
WordPress
Version 4.5.3
5.2 Setup WordPress
Refer to WordPress section.
5.3 Program Description
Nginx
Proprietary&Confidential.NotforRedistribution 15 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
Directory: /usr/local/nginx
Configuration File: /usr/local/nginx/conf/nginx.conf
Mysql
Directory: /usr/local/apache
Configuration File: /etc/my.cnf
Data File: /data/mysql
PHP
Directory: /usr/local/php
Configuration File: /usr/local/php/etc/php.ini
php additional file: /usr/local/php/etc/php.d
For password, refer to following file after installation.
/root/password.pwd
5.4 Software Operation Command
Nginx
servicenginx {start|stop|status|restart|reload|configtest}
Mysql
servicemysqld {start|stop|restart|reload|status}
Apache
servicehttpd {start|restart|stop}
Proprietary&Confidential.NotforRedistribution 16 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
6 CentOS7.264bits LAMP
This image is built with CentOS 7.2 and bundled with following popular software for web service
solution.Optimized to addressyour security concern.
6.1 Software Components
Operation System
CentOS 7.2 64bits
MySQL/MariaDB
-relational database management system
Version 5.7.13
PHP
Version 3.4.45
phpMyAdmin
- Web GUI for the administration of MySQL
Version 4.4.15.7
openssh-server
- Secure remote console for server management
Version 6.6
openssh-sftp-server 6.6
- Secure FTP for file uploading
Version 6.6
6.2 Default Website
To access, using following URL
http://
6.3 Upload web page files
Place your files into a directory called the "document root" of the server. The document root is at
/data/wwwroot/default/ by default. Place your files there.
When you are finished (provided that your domain name has been updated around the world),
you should be able to access your site in your web browser.
6.4 phpMyAdmin
Use following URL to open phpMyAdminpage
http:///phpMyAdmin
6.5 Program Description
Apache
Directory: /usr/local/apache
Configuration File: /usr/local/apache/conf/httpd.conf
Proprietary&Confidential.NotforRedistribution 17 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
Error log File:
Mysql
Directory: /usr/local/apache
Configuration File: /etc/my.cnf
Data File: /data/mysql
PHP
Directory: /usr/local/php
Configuration File: /usr/local/php/etc/php.ini
php additional file: /usr/local/php/etc/php.d
For password, refer to following file after installation.
/root/password.pwd
6.6 Software Operation Components
Apache
sudo service httpd start/restart/stop
Mysql
sudo service mysqld start/restart/stop
Proprietary&Confidential.NotforRedistribution 18 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
7 CentOS 7.2 64bits WordPress + LAMP
This image is built with latest CentOS 7.2 and bundled with following popular software for web
service solution.Optimized to addressyour security concern.
WordPress - a free and open-source content management system (CMS). It was used by more
than 26.4% of the top 10 million websites as of April 2016. WordPress is the most popular
blogging system in use on the Web, at more than 60 million websites.
7.1 Software Components
Operation System
Ubuntu 14.04 64bits
Apache
- the world''s most used web server software
Version 2.4.23
MySQL/MariaDB
- relational database management system
Version 5.5.50
PHP
Version 5.4.45
phpMyAdmin
-Web GUI for the administration of MySQL
Version 4.4.15.7
openssh-server
- Secure remote console for server management
Version 6.6
openssh-sftp-server
- Secure FTP for file uploading
Version 6.6
WordPress
Version 4.5.3
7.2 Setup WordPress
Refer to WordPress section.
7.3 Default Website
After you have already created a instance with WordPress on 14.04 image, you visit your
instance IP address in a browser.
To access, using following URL
http://
7.4 phpMyAdmin
Use following URL to open phpMyAdmin page
http:///phpMyAdmin
Proprietary&Confidential.NotforRedistribution 19 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
7.5 Program Description
Apache
Directory: /usr/local/apache
Configuration File: /usr/local/apache/conf/httpd.conf
Error log File:
Mysql
Directory: /usr/local/apache
Configuration File: /etc/my.cnf
Data File: /data/mysql
For password, refer to following file after installation.
/root/password.pwd
7.6 Software Operation Components
Apache
sudo service httpd start/restart/stop
Mysql
sudo service mysqld start/restart/stop
Proprietary&Confidential.NotforRedistribution 20 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
8 CentOS 7.2 64bits LEMP
This image is built with CentOS 7.2 and bundled with following popular software for web service
solution. In order to display web pages to our site visitors, we employ Nginx, a modern, efficient
web server.Optimized to address your security concern.
8.1 Software Components
Operation System
CentOS 7.0 64bits
Nginx
Version 1.10.1
- high-performance web server software
MySQL
version 5.7.13
- relational database management system
PHP
Version 5.4.45
- Web GUI for the administration of MySQL
openssh-server
Version 6.6
- Secure remote cnsole for server management
openssh-sftp-server
Version 6.6
- Secure FTP for file uploading
8.2 Default Website
To access, using following URL
http://
8.3 Upload web page files
Place your files into a directory called the "document root" of the server. The document root is at
/data/wwwroot/default/by default. Place your files there.
When you are finished (provided that your domain name has been updated around the world),
you should be able to access your site in your web browser.
Proprietary&Confidential.NotforRedistribution 21 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
8.4 phpMyAdmin
Use following URL to open phpMyAdmin page
http:///phpMyAdmin
8.5 Program Description
Nginx
Directory: /usr/local/nginx
Configuration File: /usr/local/nginx/conf/nginx.conf
Mysql
Directory: /usr/local/apache
Configuration File: /etc/my.cnf
Data File: /data/mysql
PHP
Directory: /usr/local/php
Configuration File: /usr/local/php/etc/php.ini
php additional file: /usr/local/php/etc/php.d
For password, refer to following file in Ubuntu after installation.
/root/password.pwd
8.6 Software Operation Command
Nginx
servicenginx {start|stop|status|restart|reload|configtest}
Mysql
servicemysqld {start|stop|restart|reload|status}
Apache
servicehttpd {start|restart|stop}
Proprietary&Confidential.NotforRedistribution 22 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
9 CentOS 7.0 64bits WordPress + LEMP
This image is built with CentOS 7.2 and bundled with following popular software for web service
solution. In order to display web pages to our site visitors, we employ Nginx, a modern, efficient
web server.Optimized to addressyour security concern.
WordPress - a free and open-source content management system (CMS). It was used by more
than 26.4% of the top 10 million websites as of April 2016. WordPress is the most popular
blogging system in use on the Web, at more than 60 million websites.
9.1 Software Components
Operation System
CentOS 7.0 64bits
Nginx
Version 1.10.1
- high-performance web server software
MySQL
version 5.7.13
- relational database management system
PHP
Version 5.4.45
- Web GUI for the administration of MySQL
openssh-server
Version 6.6
- Secure remote cnsole for server management
openssh-sftp-server
Version 6.6
- Secure FTP for file uploading
WordPress
Version 4.5.3
9.2 Setup WordPress
Refer to WordPress section.
Proprietary&Confidential.NotforRedistribution 23 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
9.3 phpMyAdmin
Use following URL to open phpMyAdmin page
http:///phpMyAdmin
9.4 Program Description
Nginx
Directory: /usr/local/nginx
Configuration File: /usr/local/nginx/conf/nginx.conf
Mysql
Directory: /usr/local/apache
Configuration File: /etc/my.cnf
Data File: /data/mysql
PHP
Directory: /usr/local/php
Configuration File: /usr/local/php/etc/php.ini
php additional file: /usr/local/php/etc/php.d
Workpress
Directory: /data/wwwroot/default/
For password, refer to following file after installation.
/root/password.pwd
9.5 Software Operation Command
Nginx
servicenginx {start|stop|status|restart|reload|configtest}
Mysql
servicemysqld {start|stop|restart|reload|status}
Apache
servicehttpd {start|restart|stop}
Proprietary&Confidential.NotforRedistribution 24 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
10 CentOS 7.2 64bits LAMP + Magento
This image is built with CentOS 7.2 and bundled with following popular software for web service
solution. Optimized to address your security concern.
Magento Community Edition is an open-source eCommerce platform. Developers can implement the
core files and extend its functionality by adding new plug-in modules provided by other developers.
Since the first public beta version was released in 2007, Community Edition has been developed
and customized in order to provide a basic eCommerce platform.
10.1 Software Components
Operation System
CentOS 7.2 64bits
Apache
Version 2.4.23
-the world''s most used server software
MariaDB
Version 10.1.16
-relational database management system
PHP
Version 7.0.9
phpMyAdmin
Version 4.4.15.7
-Web GUI for the administration of MySQL
openssh-server
Version 6.6
-Secure remote console for server management
openssh-sftp-server
Version 6.6
-Secure FTP for file uploading
Magento
Version CE-2.1.0
Proprietary&Confidential.NotforRedistribution 25 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
10.2 phpMyAdmin
After you have already created a instance with Magento on 14.04 image, you visit your instance
IP address in a browser.
Use following URL to open phpMyAdmin page, create a database for Magento before proceed
to install it.
http:///phpMyAdmin
Or you can use the preconfigured database, but remember to change the default password
before using it.
Dabase name: magento
Password: wSWTyP3xbs
For database root password, refer to following file after installation.
/root/password.pwd
10.3 Default Website
To accessMagento, using following URL
http:///
You should see following page and install WordPress. Follow the installation wizard to install
Magento community version.
Proprietary&Confidential.NotforRedistribution 26 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
10.4 Access to Server Instance
You can access it by connecting to your instance as root via SSH or PuTTY.
Open a terminal on your computer
sshroot@ip.address
When Using PuTTY, fill server IP address in Host Name and log in to your sever instance.
10.5 Set Up Your Domain
In order to use your own domain with the site, you will need to update the configuration in the
administration panel. Sign into the site''s administration panel and navigate to Store ->
Configuration Here you will replace the references to your IP address with your domain name.
There are two place where you need to make the change: General -> Web -> Base URLs and
Generla -> Web -> Base URLs(secure).
10.6 Program Description
Apache
Directory: /usr/local/apache
Configuration File: /usr/local/apache/conf/httpd.conf
Error log File:
Mysql
Directory: /usr/local/apache
Configuration File: /etc/my.cnf
Data File: /data/mysql
Proprietary&Confidential.NotforRedistribution 27 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
PHP
Directory: /usr/local/php
Configuration File: /usr/local/php/etc/php.ini
php additional file: /usr/local/php/etc/php.d
Magento
Directory: /data/wwwroot/default
10.7 Software Operation Command
Apache
sudo service httpd start/restart/stop
Mysql
sudo service mysqld start/restart/stop
Proprietary&Confidential.NotforRedistribution 28 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
11 CentOS 7.2 64bits LAMP + Joomla!
This image is built with CentOS 7.2 and bundled with following popular software for web service
solution. Optimized to address your security concern.
Apache 2.4.23 - the world''s most used web server software
MariaDB 10.1.16 - relational database management system
PHP7.0.9
phpMyAdmin 4.4.15.7 - Web GUI for the administration of MySQL
openssh-server 6.6 - Secure remote console for server management
openssh-sftp-server 6.6 - Secure FTP for file uploading
Joomla3.4.0
Joomla is like the compromise between WordPress and Drupal.It’s powerful enough to run most
websites without any problems, and it doesn’t require the same level of technical experience to
run as Drupal either.
11.1 phpMyAdmin
Use following URL to open phpMyAdmin page, create a database for Joomla before proceed to
install it.
http:///phpMyAdmin
Or you can use the pre-configured database, but remember to change the default password
before using it.
Database name: joomla
Password: AT3YEZLq9yQMhfVw
For database root password, refer to following file after installation.
/root/password.pwd
11.2 Default Website
To access, using following URL
http:///
Follow the installation wizard to install Joomla!.
Proprietary&Confidential.NotforRedistribution 29 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
12 Software Directory and Configuration
List
Below is a list of directories and their contents.
Nginx install dir: /usr/local/nginx
Apache install dir: /usr/local/apache
Database installdir: /usr/local/mysql
Database data dir: /data/mysql
Database user: root
Database password: refer to /root/password.pwd
PHP install dir: /usr/local/php
Opcache Control Panel url: http:///ocp.php
phpMyAdmindir: /data/wwwroot/default/phpMyAdmin
phpMyAdmin Control Panel url: http:///phpMyAdmin
memcached install dir: /usr/local/memcached
index url: http:///
Proprietary&Confidential.NotforRedistribution 30 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
13 Setup DNS
Once you have your LAMP/LEMP stack installed, your server is ready to start serving web
content. However, right now, you can only access it using the server''s public IP address.
You can set up a domain name (like example.com) so that visitors can access your site easier.
You''ll need to purchase your desired domain name from a domain name registrar.
Proprietary&Confidential.NotforRedistribution 31 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
14 Connect to Server Instance
Download following utilities
PuTTY - a free SSH and telnet client for Windows
www.putty.org/
WinSCP - free SFTP and FTP client for Windows
https://winscp.net/
Follow respect use guide from the tool official website and connect with your root account
configured during your ECS installation.
Proprietary&Confidential.NotforRedistribution 32 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
15 Apache v.s. Nginx
Both Apache and Nginx are powerful, flexible, and capable. Deciding which server is
best for you is largely a function of evaluating your specific requirements and testing
with the patterns that you expect to see.
There are differences between these projects that have a very real impact on the raw
performance, capabilities, and the implementation time necessary to get each solution
up and running. However, these usually are the result of a series of trade-offs that
should not be casually dismissed. In the end, there is no one-size-fits-all web server, so
use the solution that best aligns with your objectives.
Reference:
https://www.digitalocean.com/community/tutorials/apache-vs-nginx-practical-
considerations
Proprietary&Confidential.NotforRedistribution 33 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
16 Change Default Password
To change (or update) mysql root password, you need to use the following command:
$ mysqladmin -u root -p''oldpassword'' password newpass
For example, if the old password is abc, you can set the new password to 123456, enter:
$ mysqladmin -u root -p''abc'' password ''123456''
Note:123456 password is used for demonstration purpose only. You must select a
strong password. It is an important protection to help you have safer MySQL database
transactions.
Proprietary&Confidential.NotforRedistribution 34 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
17 WordPress
After you have already created an ECS instance with WordPress on IGS image, visit your
instance IP address in a browser.
17.1 Setup a database for WordPress
Go To http:///phpMyadmin
And enter username and password that is written in password.pwd file. To open password.pwd
using puTTy or SSH to connect server.
For Database Creation
Click ''Database'' tag > fill database name under ''Create database'' and then click ''Create''
button.
For User Creation
Click ''Users'' tag > Click ''Add user''
Proprietary&Confidential.NotforRedistribution 35 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
And then, fill require data for username,password, give privileges and etc in the following
screen.
17.2 Install WordPress
To access, using following URL
http://
You should see following WordPress Installation Page.
Proprietary&Confidential.NotforRedistribution 36 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
Key in the username and database created in 17.1 to continue.
17.3 Configure Your Domain
Log in to your WordPress admin panel at http://Global IP address/wp-admin using the
account you created. Click Setting in the navigation bar on left-hand side of the page. Update
the WordPress Address(URL) and site Address(URL) fields to reflect your new domain name
and click Save Changes.
Proprietary&Confidential.NotforRedistribution 37 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
17.4 Install WordPress
Follow the Famous 5-Minute Install from WordPress website to complete the installation.
More detailed instructions follow.
http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install
17.5 Access to Server Instance
You can access it by connecting to your instance as root via SSH or PuTTY.
Open a terminal on your computer
sshroot@ip.address
When Using PuTTY, fill server IP address in Host Name and log in to your sever instance.
Proprietary&Confidential.NotforRedistribution 38 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
Proprietary&Confidential.NotforRedistribution 39 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
18 Drupal
After you have already created an ECS instance with LEMP / LAMP images, visit your instance
IP address in a browser.
18.1 Setup a database and user
Go To http:///phpMyadmin
And enter username and password that is written in password.pwd file. To open password.pwd
using puTTy or SSH to connect server.
Add new user and create database
After login to phpMyAdmin, click “Users” tag > Click “Add User”
And then, fill in required data for username, password, give privileges and etc in the following
screen.
Check “Create database with same name and grand all privileges.”
Proprietary&Confidential.NotforRedistribution 40 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
18.2 Install Drupal
1. SSH to your new ECS.
You can access it by connecting to your instance as root via SSH or PuTTY.
When Using PuTTY, fill server IP address in Host Name and log in to your sever
instance.
Proprietary&Confidential.NotforRedistribution 41 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
2. Change to following the default directory for your web pages.
cd /data/wwwroot/default/
3. Download a Drupal package
wget https://ftp.drupal.org/files/projects/drupal-7.52.zip
4. Unzip the package
unzip drupal-7.52.zip
5. Move all content to the default www directory and change the ownership to www:www
mv drupal-7.52/* ./
chown -R www:www ./default/
6. Brower to following URL and install Drupal
http:///
You should see following Installation Page.
Proprietary&Confidential.NotforRedistribution 42 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
Key in the username and database created in previous steps to continue.
Proprietary&Confidential.NotforRedistribution 43 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.INFINITY GLOBAL SOLUTIONS PTE.LTD.
19 Customer Support
We provide free fix for existing bugs in the image. We offer competitive price forbelow services,
example
Website template design
Password reconfiguration for SFT, MySQL, etc
Data migration from existing website
System global configuration optimization
Bundle DNS server
Installation of more software and optimization
Security scan
Firewall installation and configuration
etc
Contact us through following email for quotation.
support@infnityglobals.com
Website:
www.infinityglobals.com
www.infinitygohosting.com
www.alicloudhosting.net
Proprietary&Confidential.NotforRedistribution 44 | P a g e
orUsewithoutApproval.Copyright© 2015 Infinity Global
SolutionsPte.Ltd.AllRightsReserved.">