My joomla server configuration post is shared and written for the general purpose. So if you don't understand anything about command line,server set up or server administration, you don't have to worry. I provide you the set up process how to choose the right platform for your joomla server to get it work better. I suggest your server set up like all of stuffs in this post, enjoy!
</br>
1. OS: Linux/Unix, Windows or Mac?
As you see we have many options here for the first idea about OS because all of them are working well with Joomla Server. But still only Linux OS work best for PHP because PHP was born in Linux and all of update are up to date for linux first. Other than that, not all of modules and extensions of PHP will work in other type of OS platform so that we have no doubt to choose Linux as the best OS for Joomla because it make PHP work best.
Even though we already got Linux as OS Platform we still need to choose from a hundred of linux distributions. Base on our experience, let's choose the most popular linux server is CentOS or Ubuntu. With CentOS, it have many development versions and not update too usually, I recommend you choose CentOS 7.1 X64. For the popular linux OS, you will get a lot of tools with high compatible, stable and a lot of help tutorials. That's the point.
</br>
2. Webserver: nginx or apache?
For the fastest server, lower cost then I suggest you choose Nginx since it is designed to save server resource, fast and secure but still keep all of features you need for joomla. But if you want to work with the new rules of nginx.conf instead of .htaccess then apache should be perfect.
Please input SSH port(Default: 22): 22
Do you want to install Web server? [y/n]: y
Please select Nginx server:
1. Install Nginx
2. Install Tengine
3. Do not install
Please input a number:(Default 1 press Enter) 1
Please select Apache server:
1. Install Apache-2.4
2. Install Apache-2.2
3. Do not install
Please input a number:(Default 3 press Enter) 3
Please select tomcat server:
1. Install Tomcat-8
2. Install Tomcat-7
3. Do not install
Please input a number:(Default 3 press Enter) 3
Do you want to install Database? [y/n]: y
Please select a version of the Database:
1. Install MySQL-5.7
2. Install MySQL-5.6
3. Install MySQL-5.5
4. Install MariaDB-10.1
5. Install MariaDB-10.0
6. Install MariaDB-5.5
7. Install Percona-5.6
8. Install Percona-5.5
Please input a number:(Default 2 press Enter) 4
Please input the root password of database: ***
Do you want to install PHP? [y/n]: y
Please select a version of the PHP:
1. Install php-5.3
2. Install php-5.4
3. Install php-5.5
4. Install php-5.6
5. Install php-7
Please input a number:(Default 3 press Enter) 4
Do you want to install opcode cache of the PHP? [y/n]: y
Please select a opcode cache of the PHP:
1. Install Zend OPcache
2. Install XCache
Please input a number:(Default 1 press Enter) 1
Do you want to install ionCube? [y/n]: n
Do you want to install ImageMagick or GraphicsMagick? [y/n]: y
Please select ImageMagick or GraphicsMagick:
1. Install ImageMagick
2. Install GraphicsMagick
Please input a number:(Default 1 press Enter) 1
Do you want to install Pure-FTPd? [y/n]: y
Do you want to install phpMyAdmin? [y/n]: y
Do you want to install redis? [y/n]: n
Do you want to install memcached? [y/n]: y
Do you want to use jemalloc or tcmalloc optimize Database and Web server? [y/n]: y
Please select jemalloc or tcmalloc:
1. jemalloc
2. tcmalloc
Please input a number:(Default 1 press Enter) 1
Do you want to install HHVM? [y/n]: n
网友评论