Set up CodeStrikerServer in Linux-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Perform the following steps:
1. Check and install the Perl parser.
Generally, the Lnux system comes with a perl parser. Run rpm? Qa | grep perl, which can be installed. In this installation, check that the target machine has a perl parser whose version is 5.8.8-10. If the program is not installed in the system, you can download it at http://www.perl.org.
2. Install the database and create a database for codestriker. Here, the MySQL installation is used as an example.
Check whether MySQL is installed in the system. If not, download and install MySQL at http://www.mysql.com. If the mysql service is installed and started, enter mysql at the Linux Command Prompt. If the mysql service is installed, the "mysql>" prompt appears.
Enter and execute the following four commands at the mysql prompt to create a database for codestriker:
1) create database codestrikerdb character set utf8;
2.) grant select, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, DROP, references on codestrikerdb. * TO codestriker @ localhost identified by 'cspasswd ';
3.) flush privileges;
4.) QUIT
You can enter the following command at the mysql prompt to view the database you created:
Mysql> show databases;
Note that the preceding command creates a database named coderstrikerdb and the access password 'cspasswd'. If you do not need to change the value, you need to modify the configuration file codestriker. conf in the coderstriker directory. If the database is successfully created, you can see the database named codestrikerdb. The table for viewing the database should be empty at this time.
3. First, run the codestrikercompressed package codestriker-1.9.5.tar.gz (this installation uses the codestriker version 1.9.5, similar to other versions. The program can be downloaded at http://codestriker.sourceforge.net/) to a specific path, such as/var/www/codestriker. Then run the following installation command.
> Cd/var/www/codestriker/codestriker-1.9.5/bin
> Install. pl
This perl installation script will tell you what pm module is missing in the system. It will help you download and install all the missing modules. If the missing pm has been installed, run install. pl, "Done" is displayed, and the installation is successful. You can check that many tables have been added to the database coderstrkerdb created for coderstrker in mysql.
4. Configure Apache Service.
The Apache version used for this installation is 2.2.3. Add the following directory alias and directory attributes to the apache configuration file.