nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Exact 'how to' for installing phpMyBackupPro

This is a discussion on Exact 'how to' for installing phpMyBackupPro within the Databases servers forums, part of the Mastering Servers category; Hi Admin, I am submitting this short 'how to' article about installing phpMyBackupPro in centos 5.3. If this is posted ...


Go Back   nixCraft Linux Forum > Mastering Servers > Databases servers

Linux answers from nixCraft.


Databases servers Discussions of databases of all types - especially MySQL.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-06-2009, 04:56 PM
Junior Member
User
 
Join Date: Dec 2008
OS: Centos
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
senthilvael is on a distinguished road
Smile Exact 'how to' for installing phpMyBackupPro

Hi Admin,

I am submitting this short 'how to' article about installing phpMyBackupPro in centos 5.3. If this is posted in a wrong location, please correct me.

Backing up and restoring mysql database from command line is easy. But in certain instants, eg shared server envirnment it will be nice if we have a web based interface to this. phpMyBackupPro is a web based utility to manage mysql backup.

1. Go to /tmp dir
Code:
cd /tmp/
2. download latest version of phpMyBackupPro

3. Unzip the downloaded zip file
Code:
 unzip phpMyBackupPro.v.2.1.zip
4. Move the content to some place. I wish to have this to /usr/share/phpmybackup

Code:
mv phpMyBackupPro /usr/share/phpmybackup
5. Go to /etc/httpd/conf/
Code:
  cd /etc/httpd/conf/
6. Create a file as phpmybackup.conf with following contents.

Code:
vi  phpmybackup.conf
Append the following


Code:
<IfModule mod_alias.c>
Alias /mybackup /usr/share/phpmybackup
</IfModule>
<Directory /usr/share/phpmybackup>
   Options None
   Order allow,deny
   allow from all
</Directory>
If you are going to restrict the access using ip, you can use the mod access above file.

Save and exit from this file

7. In clude this file in your mail http.conf file

Code:
vi /etc/httpd/conf/httpd.conf
Add the following line in the last.

Code:
 Include /etc/httpd/conf/phpmybackup.conf
Save and exit

8. Restart httpd service.

Code:
/etc/init.d/httpd restart
9. Certain files need write permission for the proper functioning.

Code:
cd /usr/share/
chown -R root:apache phpmybackup
cd /usr/share/phpmybackup/
chmod g+w global_conf.php
chmod -R g+w export
10 . In your browser, type

Code:
http://your.domain.com/mybackup
OR
Code:
http://server.ip.addd.ress/mybackup
In the configuration tab enter the exact mysql username and password.

Hope the next steps are very easy to handle.


Any corrections are welcome.

Last edited by nixcraft; 06-06-2009 at 07:14 PM. Reason: [code] tags added.
Reply With Quote
  #2 (permalink)  
Old 06-06-2009, 07:15 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 246 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Thanks for posting this. I've edited a bit to add [code] tag so it is more readable.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply

Tags
backup , linux , mysql , mysql backup , phpmybackuppro


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Installing RPM's Manually udhay CentOS / RHEL / Fedora 3 28-05-2009 04:10 AM
Command to find out exact hardware in the server vaibhav.kanchan Linux hardware 3 15-05-2009 04:10 PM
Installing PHP scripts mrallan Getting started tutorials 3 19-06-2008 11:53 PM
Installing LanCard SwiftSoft Linux hardware 0 06-04-2007 09:57 PM
Installing on RAID cttw Linux software 3 26-10-2006 03:55 AM


All times are GMT +5.5. The time now is 08:55 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38