MRatWork Forum by Mustafa Ramadhan

General Discussions => Non Technical Discussions => Topic started by: zidit on 2016-08-01, 09:32:49

Title: download.lxcenter.org dead?
Post by: zidit on 2016-08-01, 09:32:49
Hello,

I notice that lxcenter.org totally down make all update or some maintenance impossible since download.lxcenter.org is domain parked already.

Could you pls advise me how to deal with it? Is there any backup/clone repositories of download.lxcenter.org which I can use for updating/yum things in the future

Looking forward to your reply

Thank you
zidit
Title: Re: download.lxcenter.org dead?
Post by: MRatWork on 2016-08-01, 10:01:02
Sadly no advice. Just read https://github.com/mustafaramadhan/kloxo/blob/dev/how-to-install.txt to upgrade to Kloxo-MR.
Title: Re: download.lxcenter.org dead?
Post by: zidit on 2016-08-01, 17:29:12
If I install kloxo-mr on new server. Can you give me an instruction for migrating all file from old kloxo server?

Also, I need to use kloxo api as I have some php script to do some automated task. Is api in kloxo-mr have the same method of kloxo?

Thank you
Title: Re: download.lxcenter.org dead?
Post by: MRatWork on 2016-08-02, 02:49:32
1. Better use CentOS 6
2. Data in Kloxo isn't destroy if you upgrade to Kloxo-MR
3. API in Kloxo-MR as the same as in Kloxo
Title: Re: download.lxcenter.org dead?
Post by: zidit on 2016-08-02, 03:44:38
I usually use this instruction to migrate kloxo -> kloxo

====================
backup & restore kloxo
--------------------------
This is not the be all end all of restoring Kloxo control panel and clients but this worked for me so I guess it will work for you in time of desperate need.

So the problem is that my hosting provider got hax0red which I was utterly upset over because they said I would lose all my data including this blog site. I don't think my VPS itself was compromised though but that's a whole different story. I forgive them for the last time.

So basically I had to transfer my files from the old VPS to a new VPS which was a clean install of CentOS 5.5, this was my procedure:

1. New VPS: Do a proper 'yum update' to bring up the OS to the latest version.

2. New VPS: Install Kloxo using command line. Ensuring that there is no /var/lib/mysql directory or else you will have some problems (back it up if necessary).

3. New VPS: Transfer back /var/lib/mysql from the old VPS to the New. I used rsync to do this over SSH.

chown -R mysql:mysql /var/lib/mysql

4. New VPS: Transfer back /home/* from the old VPS to the New VPS. I used rsync over SSH to accomplish this as well.

5. Reboot - here is where I thought everything would be fine BUT IT WASN'T. Could create FTP users etc.

THE SECRETS TO GET IT TO LOOK FINE:
IMPORTANT:
Copy the following from old server to new server. I only copied part of the old files into the new. Just the part that has the names of all your "clients" in Kloxo.

1. Restore the /etc/passwd file
2. Restore the /etc/group file
3. Restore the /etc/shadow file
4. Restore the /etc/pure-ftpd/pureftpd.passwd file
5. Go to /script in the new server. Run ./fixftpuser
5. Reboot - FTP USERS should now work.

/script/fixweb + rebuild all domain dns kloxo
========================

Could you pls review that can I use the same instruction for migration kloxo -> kloxo mr

Thanks
Title: Re: download.lxcenter.org dead?
Post by: MRatWork on 2016-08-02, 05:57:52
Upgrade Kloxo to Kloxo-MR just:

1. Backup Kloxo data with 'backup home' features under 'admin' and send backup file to other server
2. Install new OS (better CentOS 6) with Kloxo-MR 7.0
3. Copy backup file from other server to /home/kloxo/client/admin/__backup
4. Restore your data

That it.