{"id":120,"date":"2017-10-08T10:27:00","date_gmt":"2017-10-08T10:27:00","guid":{"rendered":"https:\/\/linuxadmin.melberi.com\/uncategorized\/phpscheduleit-installation-procedure"},"modified":"2017-10-08T14:51:28","modified_gmt":"2017-10-08T14:51:28","slug":"booked-installation","status":"publish","type":"post","link":"https:\/\/www.melberi.com\/linuxadmin\/booked-scheduler\/booked-installation","title":{"rendered":"Booked Scheduler installation Guide"},"content":{"rendered":"<p>Booked Scheduler (formerly phpScheduleIt) Step by Step installation procedure<\/p>\n<p><b>REQUIREMENTS<\/b><\/p>\n<ul>\n<li>\u00a0 Working Mysql Server<\/li>\n<li>\u00a0 Working Apache server<\/li>\n<li>\u00a0 PHP 4.3 or higher<\/li>\n<li>\u00a0 PEAR::DB<\/li>\n<\/ul>\n<h3><b>1) INITIAL SETUP<\/b><\/h3>\n<p>Download the latest phpscheduleit software form <b><a href=\"http:\/\/www.bookedscheduler.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.bookedscheduler.com\/<\/a><\/b>\/<br \/>\nTransfer the file to your Apache server using winscp or some other file transfer method<\/p>\n<p>extract the booked-2.x.x.zip on the web root<\/p>\n<p><b style=\"background-color: #cccccc;\">#mkdir \/var\/www\/html\/booked<br \/>\n#cp booked-2.x.x.zip\u00a0<\/b><b style=\"background-color: #cccccc;\">\/var\/www\/html\/<b>booked<\/b>\/<br \/>\n#cd \/var\/www\/html\/<b>booked<\/b>\/<br \/>\n#unzip <b>booked-2.x.x.zip<\/b><\/b><\/p>\n<p>Change the web directory ownership if required<\/p>\n<p><b style=\"background-color: #cccccc;\">#chown -R apache.apache *<\/b><\/p>\n<p>Rename config\/config.new.php to config\/config.php and edit the file to be sure it is correct for your web server set up<\/p>\n<p><b style=\"background-color: #cccccc;\">#cp config\/config.new.php config\/config.php<\/b><\/p>\n<h4><b>2) APACHE CONFIGURATION:<\/b><\/h4>\n<p>Edit apache httpd.conf and add the following alias<br \/>\n<b style=\"background-color: #cccccc;\">#vim \/etc\/httpd\/conf\/httpd.conf<\/b><br style=\"background-color: #cccccc;\" \/><b style=\"background-color: #cccccc;\">Alias \/booked &#8220;\/var\/www\/html\/booked&#8221;<\/b><br style=\"background-color: #cccccc;\" \/><b style=\"background-color: #cccccc;\">#service httpd restart<\/b><\/p>\n<h4><b>3) CREATE DATABASE :<\/b><\/h4>\n<p>Create a Database. On the mysql server<br \/>\n<b style=\"background-color: #cccccc;\">#mysql -u root -p ( enter the mysql root password)<br \/>\nmysql&gt; create database booked;<br \/>\nmysql&gt; grant all privileges on booked.* to schedule_user@localhost identified by &#8216;mypassword&#8217;;\u00a0 \/ <\/b><\/p>\n<p>If Apache server is different, replace localhost with your apache server ip<\/p>\n<p><b style=\"background-color: #cccccc;\"> mysql&gt; FLUSH PRIVILEGES;<br \/>\nmysql&gt;show databases;<br \/>\nmysql&gt; exit <\/b><\/p>\n<h4><b>4) EDIT CONFIG FILE:<\/b><\/h4>\n<p>Edit the config.php file and modify the required changes.<\/p>\n<p>Most importantly, make sure that the &#8216;weburi&#8217;, &#8216;dbType&#8217;, &#8216;dbUser&#8217;, &#8216;dbPass&#8217; and &#8216;dbName&#8217; settings are correct<\/p>\n<p>If the database not running localy, replace localhost with yourmysql serverip<br \/>\n<b style=\"background-color: #cccccc;\">$conf[&#8216;db&#8217;][&#8216;hostSpec&#8217;] = &#8216;localhost&#8217;;<\/b><br \/>\nAlso you have to mention your database name ,username, password which you have created above ( Otherwise defailt values will be taken and DB Error will occure: insufficient permissions)<\/p>\n<p><b style=\"background-color: #cccccc;\">$conf[&#8216;db&#8217;][&#8216;dbUser&#8217;] = &#8216;schedule_user&#8217;;<br \/>\n$conf[&#8216;db&#8217;][&#8216;dbPass&#8217;] = &#8216;mypassword&#8217;;<br \/>\n$conf[&#8216;db&#8217;][&#8216;dbName&#8217;] = &#8216;<b>booked<\/b>&#8216;;<\/b><\/p>\n<p>Verify that the PEAR DB package, a PEAR supported database and PHP version 4.2.0 or greater are installed and properly configured on the destination server. If not, download and install at least these versions<\/p>\n<h4><b>5.A)AUTOMATIC INSTALLATION<\/b><\/h4>\n<p>a) Simply run the install script by navigating your browser to<b> http:\/\/yourwebsite.com\/booked\/install\/<\/b>.<\/p>\n<p>You will be asked for your database password.<\/p>\n<p>Note that you do not need to log in as root, but the user needs to have permission to create and drop databases.<\/p>\n<p>b) You will receive a confirmation or rejection notice about each command being executed. If everything goes well, you will receive a final notice that the installation was successful.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" title=\"Booked Scheduler \" src=\"https:\/\/www.melberi.com\/linuxadmin\/wp-content\/uploads\/sites\/3\/2010\/08\/phpscheduleit.jpg\" alt=\"Booked Scheduler \" width=\"500\" height=\"200\" border=\"0\" \/><\/div>\n<p>&nbsp;<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" title=\"booked\" src=\"https:\/\/www.melberi.com\/linuxadmin\/wp-content\/uploads\/sites\/3\/2010\/08\/phpscheduleit2.jpg\" alt=\"booked\" width=\"500\" height=\"70\" border=\"0\" \/><\/div>\n<p>&nbsp;<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" title=\"AUTOMATIC INSTALLATION\" src=\"https:\/\/www.melberi.com\/linuxadmin\/wp-content\/uploads\/sites\/3\/2010\/08\/phpscheduleit3.jpg\" alt=\"AUTOMATIC INSTALLATION\" width=\"500\" height=\"200\" border=\"0\" \/><\/div>\n<p>&nbsp;<\/p>\n<h4><b>5.B) MANUAL SETUP:<\/b><\/h4>\n<p>&nbsp;<\/p>\n<p>The initial database must be set up. There is an included setup file for this. To execute the setup file in mysql, navigate to the MySQL executable directory (usually \/usr\/local\/mysql\/bin) and at the shell prompt type the following.<\/p>\n<p><b>#mysql -u root -p &lt; %path to directory%\/install\/setup.sql<br \/>\n#mysql -u root -p &lt; \/var\/www\/html\/booked\/install\/setup.sql<\/b><\/p>\n<h4><b>6) DELETE THE &#8216;INSTALL&#8217; DIRECTORY.\u00a0<\/b><\/h4>\n<p>This is a critical step. If the directory is left, then anyone is open to destroy your newly created database.<br \/>\nNow you can start using the application.<\/p>\n<p><b>http:\/\/yourwebsite.com\/booked<\/b><\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" title=\"AUTOMATIC INSTALLATION\" src=\"https:\/\/www.melberi.com\/linuxadmin\/wp-content\/uploads\/sites\/3\/2010\/08\/phpscheduleit4.jpg\" alt=\"AUTOMATIC INSTALLATION\" width=\"400\" height=\"285\" border=\"0\" \/><\/div>\n<p>&nbsp;<\/p>\n<p>RELATED POST:<br \/>\n<b>LDPA AUTH<\/b><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Booked Scheduler (formerly phpScheduleIt) Step by Step installation procedure REQUIREMENTS \u00a0 Working Mysql Server \u00a0 Working Apache server \u00a0 PHP 4.3 or higher \u00a0 PEAR::DB 1) INITIAL SETUP Download the&#8230; <a href=\"https:\/\/www.melberi.com\/linuxadmin\/booked-scheduler\/booked-installation\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":297,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[106,93],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/120"}],"collection":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/comments?post=120"}],"version-history":[{"count":7,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/120\/revisions"}],"predecessor-version":[{"id":468,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/120\/revisions\/468"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media\/297"}],"wp:attachment":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media?parent=120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/categories?post=120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/tags?post=120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}