/etc/apache2/sites-available
/etc/apache2/sites-available/kerberosis.nemo.lan.conf
<VirtualHost *:80>
#ServerAdmin admin@nemo.lan
ServerName kerberosis.nemo.lan:80
DocumentRoot /srv/www/kerberosis.nemo.lan
ErrorLog /var/log/apache2/kerberosis.nemo.lan-error.log
CustomLog /var/log/apache2/kerberosis.nemo.lan-access.log lanbined
</VirtualHost>
<Directory /srv/www/kerberosis.nemo.lan>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
6.0 보안 서버 접근
touch /etc/apache2/sites-available/kerberosis.nemo.lan.conf
vi /etc/apache2/sites-available/kerberosis.nemo.lan.conf
<VirtualHost *:80>
#ServerAdmin admin@nemo.lan
ServerName kerberosis.nemo.lan:80
DocumentRoot /srv/www/kerberosis.nemo.lan
ErrorLog /var/log/apache2/kerberosis.nemo.lan-error.log
CustomLog /var/log/apache2/kerberosis.nemo.lan-access.log lanbined
</VirtualHost>
<Directory /srv/www/kerberosis.nemo.lan>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
mkdir -p /sr/www/kerberosis.nemo.lan
사이트 활성화.
sudo a2ensite
웹 서버 다시 로드.
sudo service apache2 reload
보안장비 웹 관리자 이동
DNS 생성.
보안설정 80 http 활성화.
댓글 없음:
댓글 쓰기