ubuntu에 php7.2+nginx+mariadb 설치하기
Ubuntu2018. 12. 14. 15:09
728x90
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | $ sudo apt install php7.2-fpm $ sudo apt install php7.2-curl php7.2-gd php7.2-mbstring php7.2-mysql php7.2-xml php7.2-zip (For Laravel) $ sudo service php7.2-fpm restart $ sudo apt install nginx $ sudo ufw allow 'Nginx HTTP' $ sudo apt-get install software-properties-common $ sudo add-apt-repository 'deb [arch=amd64,arm64,i386,ppc64el] http://ftp.kaist.ac.kr/mariadb/repo/10.3/ubuntu xenial main' $ sudo apt update $ sudo apt install mariadb-server $ sudo mysql_secure_installation $ sudo service mariadb restart | cs |