Detailed configuration of lampjt's most suitable php development system

Source: Internet
Author: User

Introduction: This is a detailed page for detailed configuration of lampjt's most suitable php development system. It introduces PHP, related knowledge, skills, experience, and some PHP source code.

Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 324007 'rolling = 'no'>
Linux fed Core 4 installation instructions

Generally, you only need to perform operations according to the CD installation sequence. For more information about personalized configuration and installation, see other related documents on this site.

MySQL installation instructions

This document uses mysql4.0.14


     
      
Shell> groupadd MySQL shell> useradd-G MySQL shell> tar xvf xxxxmysql.tar.gz shell> Cd/usr/MySQL shell> ln-S/path-to-mysql MySQL shell> Cd MySQL Shell> scripts/mysql_install_db -- user = MySQL shell> chown-r root. shell> chown-r Mysql Data shell> chgrp-r MySQL. shell> bin/mysqld_safe -- user = MySQL &

     


Apache installation instructions

Http2.0.54


     
      
Shell> Cd/usr/shell> tar xvfz httpd-2.0.54.tar.gz shell> Cd httpd-2.0.54 shell>. /configure -- prefix =/usr/Apache -- enable-module = so shell> make install shell>/usr/Apache/conf shell> VI. /httpd. conf: change Listen 80 to listen: 80 and servername to servername: 80. Add the index to directoryindex. JSP shell> Cd/usr/Apache/bin/shell>. /apachectl configtest if syntax OK is displayed, the installation is successful. Shell>. /apachectl start Apache service, access port 80 of the local machine, and check whether the port is normal shell>. /apachectl stop

     


PHP installation instructions

Php4.4.0 is used for this installation.


     
      
Shell> tar zxvf php4.4.0.tar.gz shell> Cd php4.4.0 shell>. /configure -- prefix =/usr/PHP -- with-apxs2 =/usr/Apache/bin/apxs -- With-XML -- With-mysql =/usr/MySQL shell> make install shell> VI/usr/Apache/CONF/httpd. add addtype application/X-httpd-PHP in Conf. PHP addtype application/X-httpd-PHP-source. PHPs shell> CP-RF/PAHT-to-php4.4.0/PHP. ini. dist/usr/PHP/lib/PHP. INI shell> vi php. INI modify register_gl Obals = on restart Apache server write a PHP test document under/usr/Apache/htdocs <? PHP phpinfo ();?> If yes, the installation is correct.

     


PhpMyAdmin database tool Installation

Phpmyadmin2.6.4 is used for this installation.


     
      
Shell> Cd/usr/Apache/htdocs shell> tar zxvf phpmyadmin2.6.4.tar.gz shell> MV phpmyadmin2.6.4 phpadmin shell> VI config. inc. PHP user name and password change $ cfg ['servers'] [$ I] ['Port'] = '80'; (port) $ cfg ['servers'] [$ I] ['user'] = 'root'; (user name) $ cfg ['servers'] [$ I] ['Password'] = ''; (password) controls user access permissions. Shell> VI/usr/Apache/CONF/httpd. conf modify AllowOverride all shell> Cd/usr/Apache/bin shell> htpasswd-C/usr/Apache/htdocs/phpadmin /. htpasswd luodexing (Note: luodexing is the username used to log on to phpMyAdmin) Shell> Cd/usr/Apache/htdocs/phpadmin shell> VI. add authname "User Login" authtype basic authuserfile/usr/Apache/htdocs/phpadmin/to htaccess /. htpasswd require user luodexing restarts Apache

     

Java installation

Jdk1.5.0 is used for this installation.


     
      
Shell> Cd/usr shell> tar zxvf jdk1.5.0.tar.gz shell> VI/etc/profile add java_home =/usr/jdk1.5.0 classpath =/usr/jdk1.5.0/DT. jar:/usr/jdk1.5.0/tools. jar export java_home classpath test shell> javac if command not found exists, it indicates that the Java installation of oktomcat adopts the tomcat5.5.9 shell> Cd/usr shell> tar zxvf tomcat5.5.9.tar.gz shell> ln-S/usr. /tomcat5.5.9 tomcat5 shell> VI/usr/tomcat5/bin/Catalina. sh add java_home =/usr/jdk1.5.0 shell>/usr/tomcat5/bin/start. sh startup Service

     


JK Installation

This installation uses version 1.2.14src.


     
      
Shell> tar xvf xxxxxx1.2.14.src.tar.gz shell> Cd xxxxx1.2.14 shell> chmod 755 buildconf. sh shell>. /buildconf. sh shell>. /configure -- With-apxs =/usr/Apache/bin/apxs shell> make install shell> VI/usr/Apache/CONF/httpd. add loadmodule jk_module modules/mod_jk.so jkworkersfile CONF/workers after the conf file. properties jklogfile logs/mod_jk.log jkloglevel debug jkmount /*. compile workers in JSP worker1. properties document (CONF) PS =/worker. list = worker1 worker. worker1.port = 8009 worker. worker1.host = localhost worker. worker1.type = ajp13 worker. worker1.lbfactor = 1

     


So far, the entire configuration process is complete, and a set of lampjt systems will come out.

Note: in Linux fed Core 4, if you want to avoid modifying the java_opts variable in Tomcat STARTUP script Catalina. Sh, use jdk1.5.

More articles about "detailed configuration of lampjt's most suitable php development system"

Love J2EE follow Java Michael Jackson video station JSON online tools

Http://biancheng.dnbcw.info/php/324007.html pageno: 15.

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.