正在加载图片...
12.Run.Stop.Test And Restart Apache 13.Using Apache 14.Status 15.Securing Apache 16.Password-Protect a Directory 1.Password-Protect a Directory With htaccess 17.thumbnails 18.Known problems 1.Skype incompatibility 19.Other Apache Options 20.Further Information This is to help people set up and install a LAMP(Linux-Apache-MySQL-PHP)server in Ubuntu. including Apache PHP 5 and MySQL4.1 or 5.0. To install the default LAMP stack in Ubuntu 10.04 and above First refresh your package index sudo apt-get update and then install the LAMP stack sudo apt-get install lamp-server^ Mind the caret(at the end. Starting over:How to remove the LAMP stack To remove the LAMP stack remove the following packages: Note:This assumes you have noother programs that require any of these packages You might wish to simulate this removal first,and only remove the packages that don't cause removal of something desired. apache2 apache2-mpa-p refork apache2-utils apache2.2-com libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-peri libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 php5-common php5-mysql To also remove the debconf data,use the purge option when removing To get rid of any configurations you may have made to apache.manually remove the /etc/apache2 directory once the packages have been removed. You may also want to purge these packages: mysql-client-core-5.5 mysql-server-core-5.512. Run, Stop, Test, And Restart Apache 13. Using Apache 14. Status 15. Securing Apache 16. Password-Protect a Directory 1. Password-Protect a Directory With .htaccess 17. thumbnails 18. Known problems 1. Skype incompatibility 19. Other Apache Options 20. Further Information This is to help people set up and install a LAMP (Linux-Apache-MySQL-PHP) server in Ubuntu, including Apache 2, PHP 5 and MySQL 4.1 or 5.0. To install the default LAMP stack in Ubuntu 10.04 and above First refresh your package index... $ sudo apt-get update ... and then install the LAMP stack: $ sudo apt-get install lamp-server^ Mind the caret (^) at the end. Starting over: How to remove the LAMP stack To remove the LAMP stack remove the following packages: 1. Note: This assumes you have no other programs that require any of these packages. You might wish to simulate this removal first, and only remove the packages that don't cause removal of something desired. apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 php5-common php5-mysql To also remove the debconf data, use the purge option when removing. To get rid of any configurations you may have made to apache, manually remove the /etc/apache2 directory once the packages have been removed. You may also want to purge these packages: mysql-client-core-5.5 mysql-server-core-5.5
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有