Thursday 01 September 2005 2:28:03 am
Mini howto Linux/Unix
On your old server
- Backup files
Access your old server with SSH(putty).
Cd ezpublishdir tar -cpzf yourdomain.tar.gz *
- Backup database mysqldump --opt -u your_user -p yourezpublsihdatabase > yourdomain.bak.dump
ON your new server
-Files
mkdir ezpublish
chmod 755 ezpublish tar zxvf yourdomain.tar.gz
-Database mysql -u yournew_user -p yournewezpublsihdatabase < yourdomain.bak.dump
-Fix missing permissions.... Compare your new ez dir with your old, using ls -l within ez publish dir.
Use this command to grant new permissions
chmod -R(for folders+files and subfolders) 777/666/xxx dir/file
.....
chmod -R 777 var/ .....
-.-.-.-
If noting works try this (not very secure) chmod -R 777 design/ var/ settings/
|