Create and start new domain service $Date$ $Author$ $Rev$
Create and configure Export domain template from subverion into: /www/TOM cd /www/TOM/ svn export http://svn.cyclone3.org/trunk/templates/business/docroot \!domain.tld svn export http://svn.cyclone3.org/trunk/templates/business/media \!domain.tld/\!media Configure domain vim \!domain.tld/master.conf vim \!domain.tld/local.conf Create database source for domain mysql -h localhost -u TOM -p CREATE DATABASE domain_tld; Fill required tables into database, and check installation tom3-db_install --domain=domain.tld --name=a120,a210,a400,a410,a500,a540,a541 tom3-chtables --domain=domain.tld Fix file permissions cd /www/TOM sudo tom3-chfiles -t cd \!domain.tld sudo tom3-chfiles -r Add domain services into apache virtual hosts vim /www/TOM/_config/httpd.virtual.conf Add these lines: ####################################################################### <VirtualHost 127.0.0.1:80> ServerName www.domain.tld ServerAlias domain.tld DocumentRoot /usr/www/TOM/!domain.tld/!www CustomLog /usr/www/TOM/_logs/httpd/www_domain_tld.acc.log combined <Directory /usr/www/TOM/!domain.tld/!www> AllowOverride All </Directory> </VirtualHost>
Install XULadmin backend cyclone.domain.tld Need you XULadmin backend to manage domain.tld domain service? cd \!domain.tld svn co http://svn.cyclone3.org/trunk/xuladmin/docroot-tmpl \!cyclone cp \!cyclone/local.conf.tmpl \!cyclone/local.conf vim \!cyclone/local.conf Add your account into XULadmin backend ( cyclone.domain.tld ) tom3-cron --domain=domain.tld ---global=1 ---category=300 ---name=new \ --login=username --pass=password --groups=admin,editor Add domain services into apache virtual hosts vim /www/TOM/_config/httpd.virtual.conf Add these lines: ####################################################################### <VirtualHost 127.0.0.1:80> ServerName cyclone.domain.tld DocumentRoot /usr/www/TOM/!domain.tld/!cyclone/!www CustomLog /usr/www/TOM/_logs/httpd/cyclone_domain_tld.server1.log combined <Directory /usr/www/TOM/!domain.tld/!cyclone/!www> Options FollowSymlinks ExecCGI AllowOverride All </Directory> </VirtualHost> Fix file permissions cd /www/TOM/\!domain.tld/ sudo tom3-chfiles -t cd \!cyclone sudo tom3-chfiles -r
Install basic SVG statistics into XULadmin Craeate http://cyclone.domain.tld/stats/ cd \!domain.tld/\!cyclone/\!www svn co http://svn.cyclone3.org/trunk/xuladmin/stats-docroot stats cp stats/custom.html.tmpl stats/custom.html Start SVGraph generation Place into \!domain.tld/cron.1day.cml <ADDTYPE name="stats-1day" global="1" /> Place into \!domain.tld/cron.1hour.cml <ADDTYPE name="stats-1hour" global="1" /> Fix file permissions cd /www/TOM/\!domain.tld/\!cyclone/\!www sudo tom3-chfiles -r
Start Just: /etc/init.d/apache2 restart