Openqrm installation and deployment on centos64

Source: Internet
Author: User

Platform environment

Centos 5.4 x86_64 in VMware Workstation

UseSVNInstallation and deployment

    1. Install Subversion: sudo Yum install Subversion
    2. Install mysqlserver: sudo Yum install mysql-Server
    3. Check MySQL status: sudo/etc/init. d/mysqld status
    4. Run sudo/etc/init. d/mysqld start if MySQL is not started.
    5. Change MySQL password: mysqladmin-u Root Password "password"
    6. SVN download openqrm: SVN Co https://openqrm.svn.sourceforge.net/svnroot/openqrm openqrm
    7. 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

    1. Switch to the directory: CD openqrm/trunk/src
    2. 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

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.