![]() "installed the packages through WHM because my host provider insisted for security reasons" If I could get a very easy to follow centos script would be of great help. Sudo sh -c "echo 'extension=solr.so' > /etc/php5/cli/conf.d/solr.ini" Sudo sh -c "echo 'extension=solr.so' > /etc/php5/apache2/conf.d/solr.ini" Sudo apt-get install libpcre3-dev libxml2-dev libcurl4-openssl-dev File structure where to install the files is a big question.Ĥ) Under moodle, I never got the option to setup the hostname and port number and this indicates I might have installed solr in the wrong directory and possibly under root user rather than the moodle user. However, I installed the packages through WHM because my host provider insisted for security reasons.ģ) I don't know if I should install solr under the /root/solr dir for moodle. Some of the issues I have encountered with the script below are:ġ) It assumes one is logged in a a user other than root, and because my environment needs to be setup correctly, I cannot run any of the commands below.Ģ) One needs apt-get, but actually I got yum to download the products. ![]() ![]() Also, the file structure is different since I cannot see this "/etc/php5/cli/conf.d" dir.Īlso, I installed Apache solr under the /opt/solr dir.,(but it seems to be running Ok) I don't know if this is causing the PHP startup error in Moodle, but I suspect it's a PATH issue. I am at this point below, but I have centos and I am trying to setup the sudoers since my environment is not set up correctly.
0 Comments
Leave a Reply. |