반응형
private
#apt install apache2 -y
#vi /etc/apache2/sites-enabled/000-default.conf
#a2enmod authnz_ldap
#a2ensite 000-default.conf
#systemctl restart apache2
public
#apt install apache2 -y
#cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/www.conf
#cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/public.conf
#vi /etc/apache2/sites-available/www.conf
#vi /etc/apache2/sites-available/public.conf
#a2ensite www.conf
#a2ensite public.conf
#a2dissite 000-default.conf
#systemctl restart apache2
반응형
'OS > Linux' 카테고리의 다른 글
[기능대회] 1과 FTP Service 구성 (0) | 2021.11.09 |
---|---|
[기능대회] 1과제 Reverse Proxy 구성 (0) | 2021.11.09 |
[기능대회] 1과제 Certificate Authority 구성 (0) | 2021.11.09 |
[기능대회] 1과제 RSYNC Backup 구성 (0) | 2021.11.09 |
[기능대회] 1과제 SSH 구성 (0) | 2021.11.09 |