Moon_LServer (Moon) is a Linux software that can be used to build an Apache + PHP + MySQL + Zend + PHPMyAdmin + GD library with one click. The installation method is very simple, suitable for frequent server construction, cainiao, and lazy users.
The software in Moon_LServer is the source code developed by the original developer. it is manually installed after on-site compilation and simulation.
Moon_LServer V1.2 contains the following programs and versions:
Apache 2.2.3
PHP 5.1.6
MySQL 5.0.27
Zend
PHPMyAdmin
Image function libraries such as Jpeg and PNG
Update history:
V1.0RC2: change Apache to on-site compilation and make so that it can run on more Linux platforms (currently the test platforms include CentOS4.4/Redhat AS4)
V1.0RC3: All original uncompiled code is used for on-site compilation. In this way, the volume is reduced a lot, and the compatibility is increased a lot.
Official version V1.0: fixed the zlib directory error and concentrated the MySQL installation code.
V1.1: PHP is updated from 5.1.4 to 5.1.6. Two PHPMyAdmin styles are added. Adding Chinese annotations to the installation script is more conducive to DIY.
V1.2: added GD to ensure better compatibility with CentOS4 and added Apache's Rewrite function.
V1.3: recompile the default VM configuration file larkmoon. conf to solve the garbled problem. Add the uninstall script, update MySQL to 5.0.27 (Standard Edition), and add ProFtpd.
:
Netcom FTP: // moon: lserver@cnc.larkmoon.com/moon_lserver_1.3.tar.gz
Telecommunications HTTP http://vnet.larkmoon.com/download/moon_lserver_1.3.tar.gz
Installation Method:
If you have not installed Linux, we strongly recommend that you install CentOS4.4 (on the second floor of this post)
If you have installed Apache or MySQL on your server, uninstall and restart the server before installing it!
Here is the online installation method. You can also download it and upload it to the server for installation.
1. Use root to use the system and enter the root directory (Be sure to enter the root directory for execution !)
# Cd/root
2. Then download
# Wget ()
3. Extract
# Tar zxvf moon_lserver_1.2.tar.gz
4. Add execution permission for Installation
# Cd/root/serverd
# Chmod 744 setup. sh
#./Setup. sh
5. Always press Enter when installing Zend. When prompted to enter the php. ini path, enter "/usr/local/php/lib" (excluding quotation marks ).
6. finally, Proftpd will be installed. After installation, you will be asked to enter the FTP user "larkmoon" password, enter it, and then, you can use this user and the password you entered to log on to the system. If you do not want to use this user, delete it from the System user and create your own system account, then modify the proftpd configuration file (/usr/local/ftpd/etc/proftpd. conf ). [If you do not want to install proftpd, open setup. sh in vi or another editor to delete the section # FTP # At the bottom]
7. Finally, restart the computer (MySQL and FTP may be abnormal without restarting ). After the restart, open the browser, enter the Server IP address, and enter http: // localhost on the local machine. If the page is normal, it will be OK.
The default MySQL user name is root, and the default password is larkmoon.com.
Recommended environment: CentOS4.3 (or CentOS4.4) is recommended for customized installation)
FAQ
Q: How to Create a VM?
A:/usr/local/apache2/conf/vhosts is the virtual host directory. There is already a configuration file in it. You can open and modify it. If you create another virtual host, you can also add content after the file and create a configuration file. Any configuration file in/usr/local/apache2/conf/vhosts, no matter what the file name is, are valid.
Tip: if you are using a file editor in Linux graphics mode, we recommend that you remove automatic backup. Otherwise, errors may occur.
Q: Where is the default wwwroot directory? How can I modify the default directory?
A:/usr/local/apache2/htdocs. If you want to change it, open the configuration file in/usr/local/apache2/conf/vhosts, change the two/usr/local/apache2/htdocs files to the directory you want.
Q: Can I use FreeBSD system?
A: We have tested it only in Linux, but FreeBSD has not tested it. It is still unknown whether it can be used.
Q: In what environments does Moon_LServer Run best?
A: If you have not installed Linux, we recommend that you install CentOS4.4. you must install the development tool before installation! Remember, otherwise, the program may not run.
Q: Is it possible that an error occurs during installation but can be used properly? Will it affect future use?
A: If the system has installed the jpeg/png Image Library before, re-installation will certainly fail. If it can be used properly, it means everything is installed. When PHP is installed, all the previously installed programs will be mounted. If PHP is installed normally, all the above programs will be installed and you can use them with peace of mind.
Q: How to uninstall the SDK?
A: Run uninstall. sh in the installation package.
Attach centos4.4: (the first 3cd is enough)
CD 1: http://mirror.tini4u.net/centos/4.4/isos/i386/CentOS-4.4-i386-bin1of4.iso
CD 2: http://mirror.tini4u.net/centos/4.4/isos/i386/CentOS-4.4-i386-bin2of4.iso
CD 3: http://mirror.tini4u.net/centos/4.4/isos/i386/CentOS-4.4-i386-bin3of4.iso
Http://mirror.tini4u.net/centos/4.4/isos/i386/CentOS-4.4-i386-bin4of4.iso CD 4
Md5 verification code: http://mirror.tini4u.net/centos/4.4/isos/i386/md5s...
Detailed installation steps: http://centospub.com/make/install.html