반응형
* apache 설치/삭제
sudo apt-get install apache2
sudo apt-get remove apache2
(브라우저로 서버 IP 또는 도메인으로 접속하여 정상 설치 여부 확인)
– apache 홈 디렉토리 변경
vi /etc/apache2/apache2.conf
<Directory /var/www/> <= 원하는 경로로 변경
vi /etc/apache2/sites-available/default-ssl.conf
DocumentRoot /var/www/html <= 원하는 경로로 변경
vi /etc/apache2/sites-available/000-default.conf
DocumentRoot /var/www/html <= 원하는 경로로 변경
sudo service apache2 restart
* PHP 설치/삭제
sudo apt-get install php
sudo apt-get remove php
* MYSQL 설치/삭제 (오픈소스이며 mysql과 100% 호환되는 mariadb 설치)
sudo apt-cache search mysql-server 버젼 확인 (여러 버젼 있음)
sudo apt-get install mariadb-server
sudo apt-get remove mariadb-server
* APM 연동 모듈 설치/삭제
sudo apt-get install libapache2-mod-php php-mysql
sudo apt-get remove libapache2-mod-php php-mysql
반응형
Somebody necessarily lend ɑ hand to maкe significantlyposts I would state. Tһat is the very first time I frequented your website page and ѕofar? I amazed with the research you made to create this particularsubmit extraߋгdinary. Fantastic process!I’m not thɑt much of a internet reader to be honest but your sites really nice, keep it up!I’ll ցo ahead and b᧐okmark your website to come back in the future.Many thanksAw, this was an incredibly good post. Taking the time and actual effort to produce a goodarticle… but what can I say… I hesitatea lot and don’t seem to get nearly anything done.
Reading your article helped me a lot and I agree with you. But I still have some doubts, can you clarify for me? I’ll keep an eye out for your answers.