dreamyear66
05-02-2003, 06:41 AM
Hi
I need someone who can install the script from me¡¦.
It¡¯s free hosting script ¡¦can u please help me?
Dreamyear22@hotmail.com MSN
Here¡¯s the installation instruction
Welcome to DVHS 1.0.9!
TABLE OF CONTENTS
1. Welcome
1.1 About the Script
1.2 System Requirements
2. Installation
3. Support
4. File attributes
1. Welcome
=========================================================================
1.1 About the Script
-------------------------------------------------------------------------
DVHS is a community product that allows webmasters to provide individual
websites (name.yourdomain.com) for their users in a secure, administered
environment. It allows you to automatically accept user signups or approve
each user from admin area.
For the full list of features, and details, please visit:
http://www.dvhs.com.md/features.html
1.2 System Requirements
-------------------------------------------------------------------------
DVHS is 100% perl, and will run on Linux platforms.
System requirements are:
- Dedicated or co-located server
- Linux platform or FreeBSD
- Perl higher then 5.005
- MySQL 3.23.XX Database
- DBD::mysql 2.XXXX -MySQL driver for the Perl5 Database Interface
http://search.cpan.org/search?dist=DBD-mysql
- DBI 1.XX -Database independent interface for Perl
http://search.cpan.org/search?dist=DBI
- Apache 1.3.XX with 'mod_vhost_alias' and 'mod_rewrite' enabled
- ProFTPD 1.2.X
- Quota support enabled for '/home' filesystem or for '/usr/' on FreeBSD system
- For installation: access to the server via SSH or Telnet as root user (su) and Midnight Commander.
2. Installation
=========================================================================
To install, please follow the following steps:
1. Upload to server dvhs_109.tar (e.g. /tmp/scripts/)
2. Unarchive the dvhs_109.tar, by typing from shell:
tar xvf dvhs_109.tar
3. Copy dvhs directory from /tmp/scripts/dvhs_109/ to /usr/local/dvhs
use:
cd /tmp/scripts/dvhs_109/
cp -R dvhs /usr/local/
4. Copy cgi-bin directory from /tmp/scripts/dvhs_109/ to your cgi-bin
e.g.
cp -R cgi-bin /var/www/
cp -R images /var/www/html/images
5. In '/etc/shells' add one line /bin/ftponly.sh
copy file 'ftponly.sh' from archive to /bin/ftponly.sh, set attributes
Chmod and Chown. You can use your own shell.
6. Create a MySQL database using DVHS.sql file by typing from shell:
mysql -p <DVHS.sql
mysql -p <DVHSBandwidth.sql
7. Edit file '/usr/local/dvhs/config.pl' in ASCII mode!!! set files
and directories atributes
8. Edit /etc/crontab file
You can set these up by typing from shell:
crontab -e
and adding the following lines:
# run dvhs.sh minutely
*/1 * * * * /usr/local/dvhs/dvhs.sh 1> /dev/null 2> /dev/null
# remove unconfirmed users accounts once in a day 06:00 am
0 6 * * * /usr/local/dvhs/unconfirm.sh 1> /dev/null 2> /dev/null
# check expired accounts once in a day 05:00 am
0 5 * * * /usr/local/dvhs/expiry.sh 1> /dev/null 2> /dev/null
# run two minutes after midnight, every day
2 0 * * * /usr/local/dvhs/bandwidth_delete.sh 1> /dev/null 2> /dev/null
and save it.
9. Edit Apache httpd.conf file
module mod_rewrite and mod_vhost_alias must be enabled.
!!! The first VirtualHost section is used for requests without a known server name.
#----------> Apache Configuration for DVHS <---------------------------------#
NameVirtualHost 111.222.333.444
<VirtualHost 111.222.333.444>
UseCanonicalName Off
VirtualDocumentRoot /home/vhost/%-3
CustomLog "|mysql -hlocalhost -uroot -pPut_Your_MySQL_PassWord_Here DVHSBandwidth" mysql
LogFormat "INSERT INTO access_log (date,bytes,host) VALUES (%{%Y%m%d}t,'%B','%{******i');" mysql
</VirtualHost>
ScriptAlias /cgi-dvhs/ "/usr/local/dvhs/insert/"
<Directory "/home/vhost/">
AllowOverride FileInfo
</Directory>
<Directory "/var/www/cgi-bin/secure">
AllowOverride All
</Directory>
#----------> End Apache Configuration for DVHS <-----------------------------#
10. Edit ProFTPD conf file
#----------> ProFTPD Configuration for DVHS <--------------------------------#
DefaultRoot ~ users
PathAllowFilter ^[A-Za-z0-9._-]+$
PathDenyFilter "((^|/)[-.])|(\\.(js|vbs|shs|scr|exe|mov|avi|mpg|sql|pl|cgi|shtml)$)"
#for download restrictions
MaxRetrieveFileSize 1 Mb
#for upload restrictions
MaxStoreFileSize 1 Mb
#----------> End ProFTPD Configuration for DVHS <----------------------------#
11. Edit your DNS record, add wildcard
yourdomain.com. IN A 111.222.333.444
*.yourdomain.com. IN CNAME yourdomain.com.
http://www.zoneedit.com offers both primary and secondary DNS free of
charge to anyone who asks.
3. Support
=========================================================================
If you run into any problems, please visit our online support forum at:
http://www.dvhs.com.md/forum
Cheers,
Lilian
4. File attributes
=========================================================================
Initial username and password for dvhs_admin are:
username: admin
password: PassWord
To change password use /dvhs_admin.cgi?passwd
You should find the following files in the archive and they
should have the following permissions:
- In '/usr/local/dvhs/'----------------------
afterconfirm (777) drwxrwxrwx
auth (777) drwxrwxrwx
beforeconfirm (777) drwxrwxrwx
exec (777) drwxrwxrwx
insert (777) drwxrwxrwx
.htaccess (644) -rw-r--r--
footer.tmpl (644) -rw-r--r--
header.tmpl (644) -rw-r--r--
insert.cgi (755) -rwxr--r--
pop-up.html (644) -rw-r--r--
lang (777) drwxrwxrwx
en (644) -rw-r--r--
recycle (777) drwxrwxrwx
template (777) drwxrwxrwx
approved_en.tmpl (644) -rw-r--r--
... (644) -rw-r--r--
.htpasswd (666) -rw-rw-rw-
bandwidth.pl (644) -rw-r--r--
bandwidth_delete.pl (744) -rwxr--r--
bandwidth_delete.sh (744) -rwxr--r--
config.pl (755) -rw-r--r--
cookie.lib (644) -rw-r--r--
dvhs.log (644) -rw-r--r--
dvhs.pl (744) -rwxr--r--
dvhs.sh (744) -rwxr--r--
expiry.log (644) -rw-r--r--
expire.pl (744) -rwxr--r--
expire.sh (744) -rwxr--r--
unconfirm.sh (744) -rwxr--r--
user.pl (644) -rw-r--r--
- In your '/cgi-bin/' ----------------------
register.cgi (755) -rwxr--r--
confirm.cgi (755) -rwxr--r--
dvhs_manager.cgi (755) -rwxr--r--
whois.cgi (755) -rwxr--r--
- In your '/cgi-bin/secure_directory' ------
dvhs_admin.cgi (755) -rwxr--r--(only if you buy full version)
.htaccess (644) -rw-r--r--
- In '/bin/' -------------------------------
ftponly.sh (755) -rwxr--r--
- In your WebSite / ------------------------
agreement.html
dvhs.css
- In your WebSite /images/ -----------------
/calendar/
____________________________________________
var.cgi
dvhsUsers.sql
README
All .pl .cgi .sh files must be uploaded in ASCII mode.
I need someone who can install the script from me¡¦.
It¡¯s free hosting script ¡¦can u please help me?
Dreamyear22@hotmail.com MSN
Here¡¯s the installation instruction
Welcome to DVHS 1.0.9!
TABLE OF CONTENTS
1. Welcome
1.1 About the Script
1.2 System Requirements
2. Installation
3. Support
4. File attributes
1. Welcome
=========================================================================
1.1 About the Script
-------------------------------------------------------------------------
DVHS is a community product that allows webmasters to provide individual
websites (name.yourdomain.com) for their users in a secure, administered
environment. It allows you to automatically accept user signups or approve
each user from admin area.
For the full list of features, and details, please visit:
http://www.dvhs.com.md/features.html
1.2 System Requirements
-------------------------------------------------------------------------
DVHS is 100% perl, and will run on Linux platforms.
System requirements are:
- Dedicated or co-located server
- Linux platform or FreeBSD
- Perl higher then 5.005
- MySQL 3.23.XX Database
- DBD::mysql 2.XXXX -MySQL driver for the Perl5 Database Interface
http://search.cpan.org/search?dist=DBD-mysql
- DBI 1.XX -Database independent interface for Perl
http://search.cpan.org/search?dist=DBI
- Apache 1.3.XX with 'mod_vhost_alias' and 'mod_rewrite' enabled
- ProFTPD 1.2.X
- Quota support enabled for '/home' filesystem or for '/usr/' on FreeBSD system
- For installation: access to the server via SSH or Telnet as root user (su) and Midnight Commander.
2. Installation
=========================================================================
To install, please follow the following steps:
1. Upload to server dvhs_109.tar (e.g. /tmp/scripts/)
2. Unarchive the dvhs_109.tar, by typing from shell:
tar xvf dvhs_109.tar
3. Copy dvhs directory from /tmp/scripts/dvhs_109/ to /usr/local/dvhs
use:
cd /tmp/scripts/dvhs_109/
cp -R dvhs /usr/local/
4. Copy cgi-bin directory from /tmp/scripts/dvhs_109/ to your cgi-bin
e.g.
cp -R cgi-bin /var/www/
cp -R images /var/www/html/images
5. In '/etc/shells' add one line /bin/ftponly.sh
copy file 'ftponly.sh' from archive to /bin/ftponly.sh, set attributes
Chmod and Chown. You can use your own shell.
6. Create a MySQL database using DVHS.sql file by typing from shell:
mysql -p <DVHS.sql
mysql -p <DVHSBandwidth.sql
7. Edit file '/usr/local/dvhs/config.pl' in ASCII mode!!! set files
and directories atributes
8. Edit /etc/crontab file
You can set these up by typing from shell:
crontab -e
and adding the following lines:
# run dvhs.sh minutely
*/1 * * * * /usr/local/dvhs/dvhs.sh 1> /dev/null 2> /dev/null
# remove unconfirmed users accounts once in a day 06:00 am
0 6 * * * /usr/local/dvhs/unconfirm.sh 1> /dev/null 2> /dev/null
# check expired accounts once in a day 05:00 am
0 5 * * * /usr/local/dvhs/expiry.sh 1> /dev/null 2> /dev/null
# run two minutes after midnight, every day
2 0 * * * /usr/local/dvhs/bandwidth_delete.sh 1> /dev/null 2> /dev/null
and save it.
9. Edit Apache httpd.conf file
module mod_rewrite and mod_vhost_alias must be enabled.
!!! The first VirtualHost section is used for requests without a known server name.
#----------> Apache Configuration for DVHS <---------------------------------#
NameVirtualHost 111.222.333.444
<VirtualHost 111.222.333.444>
UseCanonicalName Off
VirtualDocumentRoot /home/vhost/%-3
CustomLog "|mysql -hlocalhost -uroot -pPut_Your_MySQL_PassWord_Here DVHSBandwidth" mysql
LogFormat "INSERT INTO access_log (date,bytes,host) VALUES (%{%Y%m%d}t,'%B','%{******i');" mysql
</VirtualHost>
ScriptAlias /cgi-dvhs/ "/usr/local/dvhs/insert/"
<Directory "/home/vhost/">
AllowOverride FileInfo
</Directory>
<Directory "/var/www/cgi-bin/secure">
AllowOverride All
</Directory>
#----------> End Apache Configuration for DVHS <-----------------------------#
10. Edit ProFTPD conf file
#----------> ProFTPD Configuration for DVHS <--------------------------------#
DefaultRoot ~ users
PathAllowFilter ^[A-Za-z0-9._-]+$
PathDenyFilter "((^|/)[-.])|(\\.(js|vbs|shs|scr|exe|mov|avi|mpg|sql|pl|cgi|shtml)$)"
#for download restrictions
MaxRetrieveFileSize 1 Mb
#for upload restrictions
MaxStoreFileSize 1 Mb
#----------> End ProFTPD Configuration for DVHS <----------------------------#
11. Edit your DNS record, add wildcard
yourdomain.com. IN A 111.222.333.444
*.yourdomain.com. IN CNAME yourdomain.com.
http://www.zoneedit.com offers both primary and secondary DNS free of
charge to anyone who asks.
3. Support
=========================================================================
If you run into any problems, please visit our online support forum at:
http://www.dvhs.com.md/forum
Cheers,
Lilian
4. File attributes
=========================================================================
Initial username and password for dvhs_admin are:
username: admin
password: PassWord
To change password use /dvhs_admin.cgi?passwd
You should find the following files in the archive and they
should have the following permissions:
- In '/usr/local/dvhs/'----------------------
afterconfirm (777) drwxrwxrwx
auth (777) drwxrwxrwx
beforeconfirm (777) drwxrwxrwx
exec (777) drwxrwxrwx
insert (777) drwxrwxrwx
.htaccess (644) -rw-r--r--
footer.tmpl (644) -rw-r--r--
header.tmpl (644) -rw-r--r--
insert.cgi (755) -rwxr--r--
pop-up.html (644) -rw-r--r--
lang (777) drwxrwxrwx
en (644) -rw-r--r--
recycle (777) drwxrwxrwx
template (777) drwxrwxrwx
approved_en.tmpl (644) -rw-r--r--
... (644) -rw-r--r--
.htpasswd (666) -rw-rw-rw-
bandwidth.pl (644) -rw-r--r--
bandwidth_delete.pl (744) -rwxr--r--
bandwidth_delete.sh (744) -rwxr--r--
config.pl (755) -rw-r--r--
cookie.lib (644) -rw-r--r--
dvhs.log (644) -rw-r--r--
dvhs.pl (744) -rwxr--r--
dvhs.sh (744) -rwxr--r--
expiry.log (644) -rw-r--r--
expire.pl (744) -rwxr--r--
expire.sh (744) -rwxr--r--
unconfirm.sh (744) -rwxr--r--
user.pl (644) -rw-r--r--
- In your '/cgi-bin/' ----------------------
register.cgi (755) -rwxr--r--
confirm.cgi (755) -rwxr--r--
dvhs_manager.cgi (755) -rwxr--r--
whois.cgi (755) -rwxr--r--
- In your '/cgi-bin/secure_directory' ------
dvhs_admin.cgi (755) -rwxr--r--(only if you buy full version)
.htaccess (644) -rw-r--r--
- In '/bin/' -------------------------------
ftponly.sh (755) -rwxr--r--
- In your WebSite / ------------------------
agreement.html
dvhs.css
- In your WebSite /images/ -----------------
/calendar/
____________________________________________
var.cgi
dvhsUsers.sql
README
All .pl .cgi .sh files must be uploaded in ASCII mode.
