diff options
Diffstat (limited to 'admin/www.gentoo.org/README')
-rw-r--r-- | admin/www.gentoo.org/README | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/admin/www.gentoo.org/README b/admin/www.gentoo.org/README deleted file mode 100644 index dc555c654e..0000000000 --- a/admin/www.gentoo.org/README +++ /dev/null @@ -1,44 +0,0 @@ -$Header: /var/cvsroot/gentoo/admin/www.gentoo.org/README,v 1.8 2003/07/09 23:53:56 klieber Exp $ - -Hi There! - -Here are some simple instructions on how to configure and update this site, written by -Daniel Robbins on 09 Nov 2002. Updated by Rajiv Manglani. - -Here is how you would typically go about setting up a gentoo.org Web site from scratch assuming the machine will handle only www.gentoo.org: - -1) install apache, AxKit, mod_gzip, keychain, enscript and viewcvs -2) add a 'gweb' user with home dir /home/httpd, in secondary groups cron and portage -3) setup gweb ssh pub/priv keys -4) setup gweb .bash_profile to call keychain -5) as root do this: -$ cd /etc/apache/conf -$ mkdir gentoo -$ chgrp wheel gentoo -$ chmod g+w gentoo -6) as yourself (or another user in the wheel group on the webserver, and in the cvsadmin group on cvs.gentoo.org): -$ cd /etc/apache/conf -$ cvs -d:ext:cvs.gentoo.org:/home/cvsroot co gentoo/admin -7) back as root -$ cd /etc/apache/conf -$ rm apache.conf -$ ln -s gentoo/admin/www.gentoo.org/conf/apache.conf -$ rm -rf /etc/viewcvs -$ ln -s gentoo/admin/www.gentoo.org/viewcvs /etc/viewcvs -$ mkdir /home/httpd/cgi-bin -$ mv /home/httpd/viewcvs/cgi/*.cgi /home/httpd/cgi-bin -$ vim /home/httpd/viewcvs/lib/viewcvs.py - search for "enscript_extensions" and in the list of extensions below it, add the following line: - '.ebuild' : 'sh', #custom extension for gentoo -8) login as gweb, and do this: -$ cd /home/httpd -$ export CVS_RSH=ssh -$ cvs -d:ext:cvs.gentoo.org:/home/cvsroot co gentoo/xml -$ cvs -d:ext:cvs.gentoo.org:/home/cvsroot co gentoo-x86 -$ export WEBROOT=/home/httpd/gentoo/xml/htdocs -$ export WEBSCRIPTS=/etc/apache/conf/gentoo/admin/www.gentoo.org/scripts -$ cd $WEBSCRIPTS -$ ./nightly.sh (to generate dynamic content and copy the cvs repository. This will take a longgg time the first time around) -9) edit /etc/conf.d/apache to include: APACHE_OPTS="-D PERL -D GZIP" -10) start apache. The site is up and running. -11) add /etc/apache/conf/gentoo/admin/www.gentoo.org/scripts/nightly.sh to gweb's crontab to keep the site continually up-to-date. |