Install I-doit on CentOS 7
-
Anyone here install I-doit on CentOS 7? Or maybe someone can help me to install I-doit on CentOS 7.
I already download I-doit ver 1.47 open then place it to webserver root like tutorial from I-doit
and then when I access the url http://yourip/i-doit-dir/. The automatic web installation not start.then I try to follow this tutorial too :
" If you missed a module installation in the webinstaller, you need to download
the update package and navigate to the updater:
http://yourip/i-doit-dir/updates to install/reinstall it afterwards"But it's not working too. So anyone can help me ASAP? cause I have to finish this project less than 1 month.
Thanks
-
Hello kaitoukid,
here is the way i have done it:
Base installation
Install CentOS in Infrastructure Mode
yum install -y open-vm-tools mc
yum -y updateInstall MySQL
yum -y install mariadb-server mariadb
systemctl start mariadb.service
systemctl enable mariadb.service
mysql_secure_installationInstalling Apache2
yum -y install httpd
#Now configure your system to start Apache at boot time…
systemctl start httpd.service
systemctl enable httpd.serviceCustomizing Firewall to allow external access to port 80 (http) and 443 (https).
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reloadInstalling PHP5
yum -y install php
We must restart Apache afterwards:
systemctl restart httpd.service
Testing PHP5 / Getting Details About Your PHP5 Installation
#The document root of the default web site is /var/www/html. We will now create a small PHP file (info.php) in that directory and call it in a browser. The file will display lots of useful details about our PHP installation, such as the installed PHP version.
vi /var/www/html/info.phpphpinfo();
?>Now we call that file in a browser (e.g. http://yourserver/info.php
As you see, PHP5 is working, and it's working through the Apache 2.0 Handler, as shown in the Server API line. If you scroll further down, you will see all modules that are already enabled in PHP5. MySQL is not listed there which means we don't have MySQL support in PHP5 yet.
Getting MySQL Support In PHP5
yum -y install php-cli php-xmlrpc php-ldap php-gd php-mysql php-bcmath
systemctl restart httpd.serviceNow reload http://yourserver/info.php in your browser and scroll down to the modules section again. You should now find lots of new modules like curl etc there.
i-doit installation
create a folder in Apache webroot and enter it
mkdir /var/www/html/i-doit
cd /var/www/html/i-doitget the idoit-open-1.4.7.zip and extract it
wget http://sourceforge.net/projects/i-doit/files/i-doit/1.4.7/idoit-open-1.4.7.zip
unzip idoit-open-1.4.7.zipoptional remove the zip file
rm idoit-open-1.4.7.zip
to install or update add execute to the shell script and run it.
chmod +x idoit-rights.sh
./idoit-rights.sh setin the folder “/etc/httpd/conf.d” you need to create a file named “i-doit.conf” open it with vi and add the following content:
vi i-doit.conf
<directory var="" www="" html="" i-doit="">AddHandler php-script .php
Action php-script /cgi-bin/php5
Options ExecCGI Indexes FollowSymLinks MultiViews
AllowOverride AuthConfig
Order allow,deny
allow from all</directory>disable SELinux and
sed -i 's/enforcing/disabled/g' /etc/selinux/config /etc/selinux/config
reboot#or try to make '/var/www/html/i-doit/' writeable
chmod 777 /var/www/html/i-doit/
yum -y install policycoreutils-python
semanage fcontext -a -t httpd_sys_script_exec_t '/var/www/html/i-doit(/.*)?'
restorecon -R /var/www/html/i-doitchange the mysql options
vi /etc/my.cnf
add after [mysqld] the following values and restart service or reboot
max_allowed_packet=32M
query_cache_limit=4Mnow you can start the installation via http://yourserver/i-doit/
to set the operating rights, you have to run
./idoit-rights.sh unset
if you want to update your system to i-doit 1.4.8 open you need the following commands
./idoit-rights.sh set
wget http://sourceforge.net/projects/i-doit/files/i-doit/1.4.8/idoit-open-1.4.8-update.zip
unzip idoit-open-1.4.8-update.zip to the /update folder and start the update via website
when you finished the update don't forget to send the system back into operating mode
./idoit-rights.sh unset
I hope you get the system running that way.
-
Hello daffodil,
thanks for your help. it's works
sorry for late replyThanks,
Kaitoukid