dumurh at August 19th, 2013 10:36 — #1
Someone has a step by step procedure to move from my Windows 7 tomcat localhost server to my Hostpapa Hosting Provider. Right now, I only have locahost:8080/liferay. Can I just copy all the file in the install dir with my ftp software to my website. And go to mywebsite.com/liferay/index.html?
I'm a reeeaall newbie, put I want to install Liferay on my website.
Thanks a lot,
victor at August 19th, 2013 11:01 — #2
It is a little more complicated. What BitNami stack are you using in your localhost? Are you using BitNami Tomcat stack or BitNami Liferay stack? Can you install the same one on your remote server? If so, you can achieve it by following these general steps after installing the same BitNami stack version on your server:
dumurh at August 19th, 2013 11:27 — #3
I'm using the BitNami Liferay Stack, it is better to install BitNami Tomcat Stack, so after I can install "Java stack" on it?
From the general steps I understand that I need to backup my "stack" database, go inside phpMyadmin and import it... I'm still confuse...
victor at August 19th, 2013 12:05 — #4
BitNami Java stacks cannot be installed on top of BitNami Tomcat stack. So, it is perfect for your purpose to use the BitNami Liferay stack.
First step will be install the stack on your hosting provider. Then, create a backup of the database at your localhost to move it to your production server as described below:
You can also use the same path and user on your host provider. That way, you can copy the entire folder (keeping in mind the permissions an symbolic links) to your production server. To do so, you can follow the same approach described below for a full backup, but restoring it in your production server.
dumurh at September 4th, 2013 13:54 — #5
Need backup again.
Here is my problem :
1. I install Zurmo, liferay or whatever the stack on my computer.
2. I copy paste the folder to my website ftp://example.com/liferay
3. How to install it after that, what is the command line to connect to my web server and launch the startup.sh and to have a stack up and running on my example.com website?
victor at September 5th, 2013 11:15 — #6
The general way is:
- Install (with the same user as in local) on your server the same stack that you have in your local machine.
- Import the database (http://wiki.bitnami.com/Components/MySQL#How_to_create_a_database_backup.3f) from the local to the remote as it was described above.
- If you have modified any file of the application itself (such as themes or plugins), then copy the concrete files by keeping the permissions.
Other option is satisfying the previous conditions plus have chosen the same path in both machines. In this case, you can stop all services (cd installdir && ./ctlscript.sh stop) and synchronize files. It would suggest using a tar file to keep the permissions as it is indicated in this other link:
I hope this clarifies it.
dumurh at September 5th, 2013 12:12 — #7
Thanks, but I think I found an easy way.
- Connect yourself with SSH :
Type : ssh username@hostname
- It will be ask for a password. Enter your hostname password.
- Give the permission to write : chmod a+x nameofthefile or right click on it through filezilla or any ftp transfer apps and enable Write.
- After just launch it : example : /home/username/programme/tomcat/bin/startup.sh
Thats how I did it