debian

Apache2+fastcgi動作テスト

site-enabledの修正 # vi /etc/apache2/sites-enabled/default --- DocumentRoot /var/www/ <Directory /var/www/> Options ExecCGI AllowOverride None Order allow,deny allow from all RedirectMatch ^/$ /index.fcgi </Directory> ---index.fcgiの作成 # vi /var/www/index.fcgi --- #!/us…

Apache2にfastcgiを入れる

# apt-get install libapache2-mod-fcgid libfcgi-perl/etc/apache2/mods-available/fcgid.conf を編集 # vi /etc/apache2/mods-available/fcgid.conf --- <IfModule mod_fcgid.c> AddHandler fcgid-script .fcgi SocketPath /var/lib/apache2/fcgid/sock IPCCommTimeout 300 # <- </ifmodule>…

ドメイン名変更メモ

resolvconfインストール # apt-get install resolvconfドメイン名の変更 # vi /etc/hosts --- 127.0.0.1 hocalhost 127.0.0.1 myhostname.mydomainname myhostname ---/etc/network/interfaces編集 # vi /etc/network/interfaces --- iface eth0 inet static…

root以外のユーザにrootグループを追加する

$ su # usermod -G root username