It should be noted that the VPs installation on the ninth host occupies a high memory usage for Apache and is relatively small to switch to nginx. We recommend that you switch to nginx)
Last Update Time: 20090605
0605: fixed the problem that the log file is too large due to the 404 million page. If the log file is not updated, set the 404 error page of all hosts to "/" or an existing page, such as http://www.xxxxx.com/404.html (this file must exist)
Features:
Famp5x is very simple: one-click installation> activating a VM in the background> uploading a webpage;
1. Convenient: it generally takes more than two hours to configure a server. famp is installed with one click and completed in 25 minutes;
2. Ease: webpage-based management, such as binding a domain name, adding a 404 error page, activating FTP, and closing the website... just click the famp background to complete the process. Forget the configuration documents !;
3. Performance: added the PHP cache software eaccelerator, which consumes less resources and enables faster webpage access and stable operation...
3. Upgrade: it is very simple to upgrade the software. The installation script of each software is divided into a small file. For example, to Upgrade Apache, you only need. /Apache. sh, and then execute the command;
4. Security: all passwords adopt one-way encryption (irreversible). The famp background login password even uses three MD5 encryption times, making decryption impossible. All important data in the database is encrypted in one way;
5. Compatibility: It can be installed on freebsd6x and freebsd7x (neither i386 nor amd64-bit), as well as the release versions of Debian and centos for Linux;
6. Freedom: nginx or Apache can be freely switched as the Web Server System (Some people say nginx has 10 times the performance of Apache !);
Famp5.1.0 new features:
1. When a host is added, a database is created for the host;
2. After adding or modifying the host configuration, you can check whether the configuration takes effect in the background;
3. Added host sorting;
4. On the host list page, you can click the domain name to enter the corresponding website;
5. Enhanced security. You can obtain the host list in some ways. The new version fixes this bug;
6. Multiple Sub-websites can be opened for the same FTP User Name (that is, the FTP user name can be repeated );
7. Support for iconv;
8. Solve the problem that nginx cannot automatically add "/" to the website;
9. added the backup and restoration function;
10. When performing important operations in the background, you need to enter the background password again (greatly enhancing security !);
11. Simplify background operations to make it easier to add sub-websites;
There are also some minor adjustments that will not be listed one by one... download it! Very good, very powerful, want to use brute force!
Environment requirements:
Currently, FreeBSD/Debian/centos is supported. Other systems have not been tested. (If you plan to use Linux, we recommend that you use Debian, Which is simpler and more secure than other Linux releases ).
FreeBSD system:
1. Install FreeBSD in minimal mode (Graphic Tutorial: http://www.aidong.org/thread-45-1-1.html)
2. Decompress famp, go to the decompressed directory (CD famp5.1.0), and execute./install. Sh to install famp (for detailed steps, refer to the following content)
Debian system:
1. When installing the Debian system, only install the "Standard System" and then install the package required by famp. The method is as follows:
2. Run apt-Get Update (update the apt source list. Make sure that Debian is connected to the Internet before execution );
3. Run: APT-Get install GCC g ++ SSH make Bzip2 flex Vim bison libncurses5-dev
4. Decompress famp, enter the decompressed directory (CD famp5.1.0), and execute./install. Sh to install famp (for detailed steps, refer to the following content)
--------------------
---------------- Centos is recommended for installation.
Centos or as system:
1. download the latest centos and install it in minimal mode (do not select anything, only install the basic system );
2. Execute Yum update to upgrade the system
3. install the software package required by famp. Run: Yum install GCC gcc-C ++ Bzip2 make vixie-cron flex ncurses-devel wget (ensure that centos is connected to the Internet before execution)
4. Decompress famp, enter the decompressed directory (CD famp5.1.0), and execute./install. Sh to install famp (for detailed steps, refer to the following content)
When installing MySQL on centos, it may take a while (MySQL-test ).
Because iptables is installed on centos by default, you must enable ports 20, 21, 80, 8888, and 20000-30000 (20000-30000 is expressed at 20000:30000)
Software Version:
Apache: httpd-2.2.11.tar.bz2
Nginx: nginx-0.6.36.tar.gz
MySQL: mysql-5.1.34.tar.gz
PHP: php-5.2.9.tar.bz2
Pureftpd: pure-ftpd-1.0.21.tar.bz2
Zendoptimizer: ZendOptimizer-3.3.X
Eaccelerator: eaccelerator-0.9.5.3
GD: gd-2.0.35
Installation steps:
First install FreeBSD in minimal mode (Graphic Tutorial: http://www.aidong.org/thread-45-1-1.html );
Remember: All website content is under/home/ftp. Therefore, please increase the/home size!
1. log on to FreeBSD with the root user and go to a temporary partition with sufficient space, for example, CD/usr (use it temporarily when installing famp );
2. Download wget http://down.aidong.org/famp5.1.0.tar.bz2. decompress the software: Tar xvf famp5.1.0.tar.bz2;
3. Installation: Enter the famp directory (CD famp5.1.0) and execute./install. Sh (the installation process depends on the hardware configuration of the server. Generally, the server takes about 25 minutes );
4. After the installation is complete, add Port 8888 (http: // ip: 8888, for example, http: // 192.168.1.118: 8888) log on to the famp Management System (User name: famp, password: famp_pw) to add a virtual host and activate FTP for the host;
5. Use FTP software to log on to the activated Vm and upload the webpage...
6. After installation, you have startedProgramSo you don't have to log on to FreeBSD. Go to the background to manage your server!
To add a website, follow these steps:
1. Enter the FTP user name, FTP password, website ID, bound domain name, and Database User Password (that is, do not set the extension information) to add the primary website quickly );
2. Add a sub-website quickly. You only need to enter the FTP user name, website ID, and bound domain name;
Security Settings:
1. After famp is installed, log on to phpMyAdmin in the famp background to delete database users other than root (localhost) and famp, and change the password of the root user (the original password of the root user is "famp_pw"), but do not change the password of the famp user in phpMyAdmin (please go to the famp management background to change the password, otherwise, the famp backend cannot be accessed !);
2. Change the password of the famp background database in the famp background (http: // ip: 8888/famp_admin.php? Action = account_setting ). If your server is used by others at the same time, you must change this password. Otherwise, you can use the default famp password (famp_pw) in PHP code to connect to the database.
3. Change the login username and password of the famp management background account (the username is famp, the original password is famp_pw, and change both the username and password! Looks safer ...);
Some friends may feel that there are a lot of things to be changed. Well, I understand, but the functions of the above three passwords are different. For the sake of our server security, please be patient!
The original password is "famp_pw ";
Program support:
Supports the vast majority of domestic programs, such as discuz! Phpwind, dynamic network forum PHP, Empire CMS, phpcms, ecmall, ecshop, shopex...
Upgrade software:
Famp has a very good feature, that is, the software in the package can be freely upgraded (in this case, the package cannot be decompressed and installed), which improves security, for example, the last time php5.2.7 encountered a security vulnerability, it was much more convenient. For example, if you want to add a module for Apache, You can edit the compilation parameters and re-compile and install it... the famp upgrade function meets your needs to the maximum extent!
Take upgrading Apache as an example:
1. decompress: Tar xvf famp5.1.0.tar.bz2;
2. Place the downloaded Apache file in the famp5.1.0/soft/directory, and remember the file name (standard file name, for example, httpd-2.2.13.tar.bz2 ");
3. ModifyCode: Change famp5.1.0/code/samples );
4. Execute the installation: CD famp5.1.0/code, and then execute "./Apache. Sh ";
Management:
Start the Web Service: "/webserver-Restart" (restart if it is already running );
Disable the Web Service: "/nginx-stop;/Apache-stop ";
Start MYSQL: "/MySQL-Start ";
Close MYSQL: "/MySQL-stop ";
Start pureftpd: "/pureftpd-Start ";
Disable pureftpd: "/pureftpd-stop ";
Restart pureftpd: "/pureftpd-Restart ";
Delete famp:
1. decompress: Tar xvf famp5.1.0.tar;
2. Run./uninstall. Sh (Note: Back up your MySQL data. The database location is/usr/local/MySQL/var)
Copyright description:
Author: Love hole: loveworking ### QQ.com. If you have any good suggestions, please go to the official website (http://www.aidong.org), we are very welcome.
Do not change the fampSource codeLater, distribute other versions. Thank you!
Download
FreeBSD environment: Fetch http://down.aidong.org/famp5.1.0.tar.bz2
Linux: wget http://down.aidong.org/famp5.1.0.tar.bz2
MD5 value: 9bee38d5abcc03d54f82c34dab44e142
Suggestion:
If you are creating image sites or download sites (websites with high traffic and frequent disk reading), we recommend that you use Linux. Otherwise, we recommend that you use FreeBSD.
Add a VM (concise ):
Add a VM (complete ):
Virtual Host list:
Backup and Restoration:
VM management log:
Famp system settings:
Account settings: