本篇內(nèi)容介紹了“Linux服務(wù)器怎么部署apache和php”的有關(guān)知識(shí),在實(shí)際案例的操作過程中,不少人都會(huì)遇到這樣的困境,接下來就讓小編帶領(lǐng)大家學(xué)習(xí)一下如何處理這些情況吧!希望大家仔細(xì)閱讀,能夠?qū)W有所成!
成都創(chuàng)新互聯(lián)公司專業(yè)為企業(yè)提供廣南網(wǎng)站建設(shè)、廣南做網(wǎng)站、廣南網(wǎng)站設(shè)計(jì)、廣南網(wǎng)站制作等企業(yè)網(wǎng)站建設(shè)、網(wǎng)頁設(shè)計(jì)與制作、廣南企業(yè)網(wǎng)站模板建站服務(wù),十余年廣南做網(wǎng)站經(jīng)驗(yàn),不只是建網(wǎng)站,更提供有價(jià)值的思路和整體網(wǎng)絡(luò)服務(wù)。
https://oneinstack.com
wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz //下載安裝包
ls -l //查看下載的文件
tar -xzvf oneinstack-full.tar.gz //解壓壓縮包
cd oneinstack //cd到解壓的文件下
ll //查看該文件下的文件
./install.sh //執(zhí)行安裝命令
Please input SSH port(Default: 22) //詢問接口(回車確定)
Do you want to enable iptables? //是否安裝防火墻 (否)
Do you want to install Web server? [y/n]: y
Please select Nginx server: 1. Install Nginx 2. Install Tengine 3. Install OpenResty 4. Do not install Please input a number:(Default 1 press Enter) 4
Please input a number:(Default 1 press Enter) 4··· Do you want to install Apache? [y/n]: y Please select Apache mode: 1. php-fpm 2. mod_php Please input a number:(Default 1 press Enter) Please select Apache MPM: 1. event 2. prefork 3. worker Please 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 install Please input a number:(Default 5 press Enter) 5Please input a number:(Default 1 press Enter) Please select Apache MPM: 1. event 2. prefork 3. worker Please 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 install Please input a number:(Default 5 press Enter) 5Do you want to install Database? [y/n]: n Do you want to install PHP? [y/n]: y Please 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]: n Please select PHP extensions: 0. Do not install 1. Install zendguardloader(PHP<=5.6) 2. Install ioncube 3. Install sourceguardian(PHP<=7.2) 4. Install imagick 5. Install gmagick 6. Install fileinfo 7. Install imap 8. Install ldap 9. Install phalcon(PHP>=5.5) 10. Install yaf(PHP>=7.0) 11. Install redis 12. Install memcached 13. Install memcache 14. Install MongoDB 15. Install swoole 16. Install xdebug(PHP>=5.5)Please input numbers:(Default '4 11 12' press Enter)
“Linux服務(wù)器怎么部署apache和php”的內(nèi)容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業(yè)相關(guān)的知識(shí)可以關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編將為大家輸出更多高質(zhì)量的實(shí)用文章!