Can you upgrade your current install to upgrade the database then move it? Don’t forget to backup the database first.
Latest posts made by Mark Playford
-
RE: Moving from ubuntu to centos 6.3
-
RE: Moving from ubuntu to centos 6.3
install fog first then import the database, this should overwrite the database.
-
RE: Moving from ubuntu to centos 6.3
Install Centos 6.3, whichever style you like.
When I installed CentOS, I removed the default partitions and used 1 large partition so I could have the image files on the same disk as wellI’ve taken some bits from here, many thanks to Kirk, but there are a couple of errors that I have changed below:
[url]http://kmil.us/blog/2012/04/10/install-fog-v0-dot-32-on-centos-6-dot-2-jeos/[/url]Once installed run the updates by using:
[FONT=Courier New]yum -y update && reboot[/FONT]If you are using the minimal you will need to get wget by typing:
yum -y install wgetNot sure if you need it but I installed yum-priorities
[FONT=Courier New]$ yum install yum-priorities[/FONT]You now need RPM Forge depending on you version:
[FONT=Courier New]$ wget [url]http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm[/url][/FONT]
Or
[FONT=Courier New]$ wget [url]http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm[/url][/FONT]Then import the Dag Key:
rpm --import [url]http://apt.sw.be/RPM-GPG-KEY.dag.txt[/url][FONT=Calibri]Then install the repo:[/FONT]
rpm -i rpmforge-release-0.5.2-2.el6.rf.*.rpmThen to install the EPEL repo:
$ su -c 'rpm -ivh [url]http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm[/url] ’
$ rpm --import [url]https://fedoraproject.org/static/217521F6.txt[/url]We now have access to the required packages for FOG via the RPMforge and EPEL repositories. We will now want to disable SELinux and the firewall. If you are running this server in production I would highly recommend that after having tested your FOG deployment you take the proper measures to secure the box before running it in a production environment.
$ vi /etc/sysconfig/selinux
change the line that reads SELINUX=enforcing or SELINUX=enforcing permissive to SELINUX=disabled and reboot one final time.
$ reboot nowWhen restarted disable the firewall. I can disable the firewall as I have a hardware firewall in place.
$ service iptables save
$ service iptables stop
$ chkconfig iptables offNearly ready to install fog:
$ wget [url]http://downloads.sourceforge.net/project/freeghost/FOG/fog_0.32/fog_0.32.tar.gz[/url]
$ tar -xzf fog_.tar.gz
$ cd fog_
$ vi lib/redhat/config.shEdit line 22 and remove ‘php-gettext’ then change ‘clamav-update’ to ‘clamav’
Edit line 63 to read: “freshDB=/var/clamav/”;
Edit line 66 to read: “freshcron=/usr/bin/freshclam”
Then install Fog
$ cd bin
$ ./installfog.shFollow steps on screen to complete install then browse to URL displayed in terminal to run database schema install and click on ‘Install/Upgrade Now’
Next change the password for the fog CentOS user by typing in Terminal:
$ passwd fog
And set your password, I left it as standard. Then edit:
/var/www/html/fog/commons/config.php
Change “TFTP_FTP_PASSWORD” and “TFTP_FTP_PASSWORD” to be the same as the fog user, then log on to the website and click the i icon and then fog settings and go down to the TFTP Server section and change the password to the same as before. Then click on Storage Management, All Storage Nodes then the default member and change the password there.
I think that is all I did but try and if not reply to this thread and I can help you through it.
There is talk of needing PHP53 for the install but I already had it installed.
Hope this helps
Mark -
RE: Moving from ubuntu to centos 6.3
Hi All,
I’ve finally got fog working on CentOS 6.3 and Fog 0.32.
I got it working using about 5 websites, so I’m going collate all the information together and repost it hopefully tomorrow.
Thanks
Mark -
RE: Moving from ubuntu to centos 6.3
Thanks for that. That is a great help. I’ll update on the results
-
Moving from ubuntu to centos 6.3
Hi,
I’m currently using Ubuntu and having issues when it tries to update to 12 so am looking to move to centos as I prefer it. It there a walkthrough about moving a the databases and such like.
Thanks
Mark -
RE: Application to open Fog images
Thanks for the replies. You are right, I use it to back up important machines and would have liked to be able to open an images to retrieve users data, like the nickname file that no-one remembers to back up.
-
Application to open Fog images
Hi All,
Been using fog now for about 4 months and I love it. It has made such a difference to deploying PC’s.
My one question is, is there any application to open up an image like ghost explorer to retrieve data out of images.
Thanks
Mark