Anonymous

Changes

WSO web development

107 bytes added, 15:41, November 13, 2005
Must cd into ~/web for these to work. Also, apachectl script includes a few references to emiller. Added a command to change these to $USER.
cp -R /var/web .
Now we just change the configuration files to work for your personal account. Type Change directory into your new "web" directory:  cd web Next, type these instructions EXACTLY. Note the back-ticks in the third command. ( ` ). The back-tick is on the key right above tab on the keyboard.
sed -i .bak "s/USER/$USER/g" apache/*.conf apache/apache_test
sed -i .bak "s/emiller/$USER/g" apachectl
sed -i .bak "s/UID/`expr 50000 + $UID`/g" apache/*.conf
rm apache/*.bak
15
edits