Platform environment
Centos 5.4 x86_64 in VMware Workstation
UseSVNInstallation and deployment
- Install Subversion: sudo Yum install Subversion
- Install mysqlserver: sudo Yum install mysql-Server
- Check MySQL status: sudo/etc/init. d/mysqld status
- Run sudo/etc/init. d/mysqld start if MySQL is not started.
- Change MySQL password: mysqladmin-u Root Password "password"
- SVN download openqrm: SVN Co https://openqrm.svn.sourceforge.net/svnroot/openqrm openqrm
- Because the rpmforge installation source and epel installation source are required during compilation and installation, We need to install and set these installation sources:
A) Installation: sudo Yum install Yum-Priorities
B) install rpmforge: sudo rpm-IVH http://packages.sw.be/rpmforge-release/ rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
C) install epml: sudo rpm-IVH http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
- Switch to the directory: CD openqrm/trunk/src
- Run the following commands in sequence:
A) sudo make
B) sudo make install
C) sudo make start
After successful installation, a Web access address is displayed, for example, http: // 192.168.33.106/openqrm.
10. Enter the address in the browser. The system will prompt you to select the NIC and set the MySQL settings for connection when the IP address is started for the first time. After the IP address is set, you can log on to the system.
Problems found after installation and deployment
The installation and testing of openqrm was because I saw it introduce that he integrated too many excellent third-party open-source software. As a developer, he was most concerned about how it was integrated. Although it was a bit disappointing in the end, but I also learned a lot. The following describes the problems encountered when using these plug-ins. when testing the Nagios plug-in, the general prompt is: the page "/Nagios3/cgi-bin/TRAC. cgi" cannot be found ". For a beginner in Linux, I still cannot solve problems found on openqrm through Google. Later, I thought about whether the address really does not exist. The Apache server used to check the information. The relevant settings are in the/etc/httpd/CONF. d directory. Use: sudo VI Nagios. conf open the file as follows. Now you know the problem is there, "/Nagios3/cgi-bin/TRAC. cgi "contains 3, test in the browser to delete 3, OK access is normal. This problem is found now, and other issues will be added for subsequent tests.
ScriptAlias/Nagios/cgi-bin "/usr/lib64/Nagios/cgi"<Directory"/Usr/lib64/Nagios/cgi"> # Sslrequiressl options execcgi AllowOverride none order allow,Deny allow from all # order deny,Allow # deny from all # Allow from127.0.0.1Authname"Nagios access"Authtype basic authuserfile/etc/Nagios/htpasswd. Users