您好,登錄后才能下訂單哦!
本篇內(nèi)容介紹了“Linux服務(wù)器怎么部署apache和php”的有關(guān)知識(shí),在實(shí)際案例的操作過(guò)程中,不少人都會(huì)遇到這樣的困境,接下來(lái)就讓小編帶領(lǐng)大家學(xué)習(xí)一下如何處理這些情況吧!希望大家仔細(xì)閱讀,能夠?qū)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) //詢問(wèn)接口(回車確定)
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)注億速云網(wǎng)站,小編將為大家輸出更多高質(zhì)量的實(shí)用文章!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。