In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the knowledge of "how to deploy apache and php on Linux server". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Mirror address
Https://oneinstack.com
Download the installation package wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz / / download the installation package view files ls-l / view the downloaded files extract the zip file tar-xzvf oneinstack-full.tar.gz / / extract the package cd to the compressed file cd oneinstack / / cd to view all the files under the unzipped file ll / / view the files under the file to perform the installation life Make. / install.sh / / execute the installation command to inquire about the interface Please input SSH port (Default: 22) / / ask the interface (enter to determine) whether to install the firewall Do you want to enable iptables? / / whether to install the firewall (No) install the service Do you want to install Web server? [Yapache]: y choose more Please select Nginx server: 1. Install Nginx 2. Install Tengine 3. Install OpenResty 4. Do not installPlease input a number: (Default 1 press Enter) 4 Select apache (apache is 4) Please input a number: (Default 1 press Enter) 4. Do you want to install Apache? [event]: yPlease select Apache mode: 1. Php-fpm 2. Mod_phpPlease input a number: (Default 1 press Enter) Please select Apache MPM: 1. Event 2. Prefork 3. WorkerPlease input a number: (Default 1 press Enter) Please select tomcat server: 1. Install Tomcat-10 2. Install Tomcat-9 3. Install Tomcat-8 4. Install Tomcat-7 5. Do not installPlease input a number: (Default 5 press Enter) 5Please input a number: (Default 1) Press Enter) Please select Apache MPM: 1. Event 2. Prefork 3. WorkerPlease input a number: (Default 1 press Enter) Please select tomcat server: 1. Install Tomcat-10 2. Install Tomcat-9 3. Install Tomcat-8 4. Install Tomcat-7 5. Do not installPlease input a number: (Default 5 press Enter) 5Do you want to install Database? [y/n]: nDo you want to install PHP? [Install php-7.2]: yPlease select a version of the PHP: 1. Install php-5.3 2. Install php-5.4 3. Install php-5.5 4. Install php-5.6 5. Install php-7.0 6. Install php-7.1 7. Install php-7.2 8. Install php-7.3 9. Install php-7.4 10. Install php-8.0Please input a number: (Default 7 Press Enter) 8Do you want to install opcode cache of the PHP? [y/n]: nPlease select PHP extensions: 0. Do not install 1. Install zendguardloader (PHP=7.0) 11. Install redis 12. Install memcached 13. Install memcache 14. Install swoole 16. Install xdebug (PHP > = 5. 5) Please input numbers: (Default'4 11 12 'press Enter) "how to deploy apache and php on Linux servers" ends here. Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.