Moon_lserver Linux Next key to build APACHE+PHP+MYSQL+ZEND+PHPMYADMIN+GD library software _ Common Tools

Source: Internet
Author: User
Tags mysql update phpmyadmin zend
Moon_lserver (moon) is a Linux next key to build APACHE+PHP+MYSQL+ZEND+PHPMYADMIN+GD library software, installation method is very simple, suitable for often build servers and rookie and lazy people to use.
Moon_lserver Software is the original developer of the source code, after the on-site compilation, simulation manual installation.
Moon_lserver V1.2 included in the program and version:
Apache 2.2.3
PHP 5.1.6
MySQL 5.0.27
Zend
phpMyAdmin
Jpeg/png and other image function library

Update history:
V1.0RC2: Change Apache to live compilation and make so that it can run on more Linux platforms (the current test platform is: Centos4.4/redhat AS4)
V1.0RC3: All with the original precompiled code, on-site compilation. In this way, the volume shrinks a lot, and the compatibility increases a lot.
V1.0 official version: fixed the zlib directory error, condensed MySQL installation code.
V1.1:php from the original 5.1.4 update to the latest 5.1.6; Add two styles of phpmyadmin; Adding a Chinese annotation to the installation script is more beneficial to DIY.
V1.2: Add gd, better compatible with CentOS4, add Apache rewrite function.
V1.3: Re-adapt the default virtual host configuration file larkmoon.conf, solve garbled problem, add uninstall script, MySQL update to 5.0.27 (Standard Edition), add PROFTPD.


Download Address:
CNC FTP ftp://moon:lserver@cnc.larkmoon.com/moon_lserver_1.3.tar.gz
Telecom 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 the CentOS4.4 system (the second floor of this post has a download address)
How to install Apache or MySQL server, please uninstall and reboot and then install, remember!
This is the online installation method. It can also be downloaded and uploaded to the server for installation.

1. Use root to use the system, and access to the root directory (must enter the root directory execution!) )
# Cd/root
2. Then download
# wget (Download address)
3. Decompression
# tar ZXVF moon_lserver_1.2.tar.gz
4. Add Execute permission to install
# Cd/root/serverd
# chmod 744 setup.sh
#./setup.sh

5. When you install Zend, always press ENTER, and when prompted to enter the php.ini path, enter "/usr/local/php/lib" (excluding quotes).
6. In the end, the PROFTPD will be installed, after installation, will let you enter the FTP user "Larkmoon" password, input can, and then, you can use this user and you enter the password login system, if you do not want to use this user, please delete it in the system users, and then set up their own system account, Then modify the PROFTPD configuration file (/usr/local/ftpd/etc/proftpd.conf). "If you do not want to install PROFTPD, please use VI or other editor to open setup.sh delete the bottom #ftp#"
7. Finally, restart the computer (MySQL and FTP may be abnormal if you do not reboot). After the reboot, open the browser, enter the server IP, local input http://localhost, if the page is normal, OK
MySQL Default user name is root, default password is larkmoon.com
  
Recommended Environment: recommended Custom Installation CentOS4. 3 (or CentOS4.4)


  
FAQ

Q: How to build a virtual host?
A:/usr/local/apache2/conf/vhosts for the virtual host directory, there is already a configuration file, you can open the changes, if you set up a virtual host, add content after the file also line, and then create a configuration file, all in the/usr/local/ The configuration file in the apache2/conf/vhosts, regardless of the filename, is valid.
Tips: If you are using the Linux graphics mode editor of the file editor, it is recommended to take off the automatic backup, otherwise, may be wrong.
  
Q: Where is the default wwwroot directory? How do I change the default directory?
A:/usr/local/apache2/htdocs, if you want to change, open the/usr/local/apache2/conf/vhosts under the configuration file, the two/usr/local/apache2/htdocs to the directory you want.

Q: Can I use the FreeBSD system?
A: We only tested in Linux, FreeBSD did not test, the specific use, is still unknown.

Q: In what environment does Moon_lserver run best?
A: How do you not have Linux installed, we recommend that you install CentOS4.4. Be sure to install the development tools! Remember, otherwise, this program may not run.

Q: An error occurred during installation, but can be used normally, will affect the future use?
A: If the system has previously installed the Jpeg/png Image Library, installation is sure to go wrong, if you can normally use, that all installed, installed PHP, will mount all the previous installation of the program, if the PHP installation is normal, the front of all installed, rest assured that it can be used.

Q: How do I uninstall?
A: It's OK to carry out the uninstall.sh in the installation package.

Attached centos4.4 Download Address: (3CD on the first can be)

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
CD 4:http://mirror.tini4u.net/centos/4.4/isos/i386/centos-4.4-i386-bin4of4.iso
MD5 check code: http://mirror.tini4u.net/centos/4.4/isos/i386/md5s ...

Detailed installation steps: http://centospub.com/make/install.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.