The development language of this system is java, the database is mysql5.0, and the operating environment has been tested under tomcat6.0 and resin2.1.0.
1 After installing the mysql client SQLyog, create a database named webhost and import webhost_db.sql into the database
2 This program uses jdbc to connect to the database. The configuration file is in the db.properties file under webhostWEB-NFclassescomsuneasybasicdbsconnect. Just open and edit it.
3 Configuration file description
driver=[driver name]
connection=jdbc:mysql://localhost:3306/[database name]?useUnicode=true&characterEncoding=GBK
user=[database access user name]
password=[database access password]
4 Copy the program webhost folder to the virtual directory of tomcat or resin, and start the web container service
5 Backend access address http://localhost/admin/ Administrator account root Default password abcd
6 Home page access address http://localhost/ (the default port of this tomcat configuration is 80)
Expand