OS/Linux

[기능대회] 1과제 Web Service 구성

_눙이_ 2021. 11. 9. 16:46
반응형

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

반응형