In this document, we will show how to install Output Books in hosting server.
Page Contents
1. Download Web App Installer
Download Output Books by clicking Web-app link in downloads page.
Copy the downloaded zip folder Output Books to your local system
2. Hosting server Changes
2.1. Create Sub domain for Output Books
- Log into your cPanel.
- Go to Domains section and click on Subdomains.
- Provide a name for the Subdomain and select a Domain from the dropdown.
- Click Create
2.2. Upload File to the server
- Click File Manager from Files section.
- Select public_html from the left panel.
- Click Upload on the top menu.
- Upload the zip file stored in our local system.
- Extract the file and delete the zip folder.
2.3. Setup Database
- Select MySql Databases under the section Databases
- Create a new database with the name outputbooks and click Create Database.
- Click Go back
- We need to create new user with username and password for our database.
- Scroll Down to Add New User.
- Provide Username, Password and Confirm Password.
- Click Create User and Go back.
- Store the password somewhere safe for future reference.
- Scroll down and Add User to the database.
- Click Add.
- Select All Privileges and click Make Changes.
You can auto back up database in your hosting server using Cron Job.
3. Output Books Installation
Open Output Books in your browser by providing the subdomain URL.
1. Read and Agree to the Terms of Service.
2. Check whether all the pre-requirements are installed and enabled.
3. Configure database by providing Host Name, Username, Password and Database Name.(Provide the names used in cPanel MySQL Databases) Click Next.
4. Provide the login details and click Next.
5. Verify the details and Click Install.
6. After completion of installation, you will redirect to the success page. Provide your company details and click Finish.
After finishing, a Login screen will appear. Logged in and start enjoying Output Books.
4. Cron job for auto backup database in Hosting server
It is best practice to back up databases to a secondary location for preservation in case of equipment failure or catastrophe. You can back up the database in your hosting server cPanel by following the below steps.
4.1 Add Cron Job
- Log into your hosting server- cPanel.
- Go to Advanced section and click on Cron Jobs.
- Select the interval.
- Add Cron job command
- Click Add New Cron Job.
Add command as
/usr/bin/mysqldump -h localhost -u "root" -p"XXXXXXX" "outputbooks" | gzip -c > "/home/backup/OutputBooks-`date +\%Y-\%a-\%H`-BK.sql.gz"
The resulting file will be saved in the database backup folder using today’s date/time.
CRON Job lists