総数:21 今日:1 昨日:0
~$ sudo apt-get -y install apache2
~$ apache2 -version Server version: Apache/2.4.18 (Ubuntu) Server built: 2018-04-18T14:53:04
~$ sudo bash ~# cat << EOF > /etc/apache2/conf-available/servername.conf ServerName ubdt16044 EOF ~# exit ~$ sudo a2enconf servername Enabling conf servername. To activate the new configuration, you need to run: service apache2 reload ~$ sudo service apache2 reload
~$ sudo apt-get -y install apache2-doc ~$ sudo apt-get -y install apache2-suexec-pristine ~$ sudo apt-get -y install apache2-suexec-custom ~$ sudo apt-get -y install apache2-utils
http://192.168.3.25/
~$ groups <username> <username> : <username> adm cdrom sudo dip plugdev lpadmin sambashare
~$ sudo gpasswd -a <username> www-data ユーザ <username> をグループ www-data に追加
~$ groups <username> <username> : <username> adm cdrom sudo dip www-data plugdev lpadmin sambashare