Total Pageviews

Sunday, June 14, 2015

Migrating Mantis from one server to other in ubuntu

1. tar/zip your mantis folder (in /var/www/)
tar command to compress:
tar -czpf <..tar file name (destination file name with extention:tar.gz)...> <..source directory..>

Extract command:
tar -zxvf <..tar.gz file..>


2. move it to your home folder (/home/ubuntu)

3. Use SCP to copy from remote server to local machine ( can copy directly to another remote server)
4. Use SCP to copy from local server to new remote server

SCP command:
Copy from remote server to local machine:
scp -i <..your .pem file...> user@ip-address:/home/ubuntu/<..tar.gz file..> <..local folder..>

Copy from local machine to remote server:

scp -i <..your .pem file...> <..local folder..> user@ip-address:/home/ubuntu/<..tar.gz file..>

5. Extract mantis tar.gz in remote folder in /var/www folder (Apache, Mysql client and Mysql server and PHP must have installed in new server refer other article to install LAMP)

6. Copy mantis database from old server (can use phpmyadmin to connect to old server)
7. Import mantis database in new server (can use phpmyadmin to connect to NEW server)
8. Can change DB connection setting in config_inc.php inside mantis folder




Tuesday, June 9, 2015

Solution for GWT XULRUnner in GWT designer issue

Solution for GWT XULRUnner in GWT designer issue:

refer: https://packages.debian.org/squeeze/amd64/xulrunner-1.9.1/download


1. You should be able to use any of the listed mirrors by adding a line to your /etc/apt/sources.list like this:
deb http://ftp.de.debian.org/debian squeeze main 
Replacing ftp.de.debian.org/debian with the mirror in question.
For japan mirror:
deb http://ftp.jp.debian.org/debian squeeze main
2. apt-get update

3. apt-get install xulrunner-1.9.1

test:
type: xulrunner-1.9.1

After the xulrunner installation, if eclipse get crashed, when opened the design view, install the folowing from the terminal.

sudo apt-get install libwebkitgtk-1.0-common
sudo apt-get install libwebkitgtk-1.0-0