![]() |
Operating System: Windows 7 Ubuntu 13.10 PHP Version 5.5.3 (module) Web Server Apache 2.4.6 MySql Version 5.5.37 Browser FireFox 28+ Chrome 30+ IE10+ BlackBerry 10+ OpenBiblio 0.4.x Install Instructions:
- Install a web server such as Apache that is compatible with PHP. If you install Apache, get familiar with starting and stopping your Apache Web Server. If you are running Linux your Apache server should be packaged with your Linux installation and will start when you start Linux.
- Add PHP to your web server as a CGI or a module. If you are using Apache 2.0, I would highly recommend that you install PHP as a module instead of a cgi application.
OpenBiblio uses session data. Therefore, you will need to make sure PHP sessions is turned on. Be sure to create a directory for your session data on your server and specify the session.save_path in your php.ini file. The default php.ini sets session.save_path to "/tmp". Therefore, you have to create a directory called c:/tmp (for Windows) users. However, I usually create a more descriptive name inside my PHP directory and then change my php.ini file to match it.
Example php.ini directive:
session.save_path = d:\PHP\sessiondata- Install the MySQL database from http://www.mysql.com/. Get familiar with starting and stopping your MySQL Server. See If you are running Linux, MySQL should be packaged with your Linux installation and will start when you start Linux.
- Install and become familiar with phpMyAdmin as a means to maintain the MySql databases
- Create an OpenBiblio database using whatever tool you prefer - I recommend phpMyAdmin. Avoid '-' in the database name.
- Create an OpenBiblio database user. Use phpMyAdmin for this, using a userid and password of your choice. Be sure to select a proper collation. I suggest 'utf8-general-ci'.
grant all privileges on OpenBiblio.* to obiblio_user@localhost -> identified by 'obiblio_password' with grant option;- Copy the openbiblio directory and all of its contents into your web server's htdocs root or any subdirectory within the htdocs root.
- Edit the database_constants.php file (located in the main openbiblio directory) with the text editor of your choice. Change the username and password to match the new MySQL user and password that you created in the previous steps.
- Create the OpenBiblio database tables. To do this run the install php script located at http://localhost/openbiblio/install/index.php, assuming you placed the openbiblio directory in the root htdocs directory.
- Access your new library automation system at http://localhost/openbiblio/index.html assuming you placed the openbiblio directory in the root htdocs directory. Enter "admin" for both the userid and password whenever you are prompted to signon. You can change the admin password from the "Admin" tab -> staff list, where you can also add more library staff members.