Migration of Demo Tetra Web Server (rackspace )(174.143.148.214) to Godaddy (118.139.178.78)
Appearance
migration of 174 Server to 118.139.178.78[edit]
Rsync of Files[edit]
Screen on 118.139.178.78
mkdir files_from_174_server cd files_from_174_server
rsync -aP root@174.143.148.214:/home . rsync -aP root@174.143.148.214:/var .
- Get the dump of all databases from 174 and restore it on mysql
- Get the httpd.conf file , modify the IP and paste
Creation of Old users[edit]
The differential users are created in /etc/passwd , /etc/group and /etc/shadow
The File /etc/passwd
humidin:x:501:501::/home/humidin:/bin/bash bhartirealty:x:502:502::/home/bhartirealty:/bin/bash tetrapms:x:503:503::/home/tetrapms:/bin/bash otrs:x:504:504::/opt/otrs:/bin/bash zeo:x:506:506::/home/zeo:/bin/false tetrakm:x:507:507::/home/tetrakm:/bin/bash tetrahrm:x:508:508::/home/tetrahrm:/bin/bash tetrawebsite:x:509:509::/home/tetrawebsite:/bin/bash tetraclients:x:510:510::/home/tetraclients:/bin/bash tetrademos:x:511:511::/home/tetrademos:/bin/bash tetraotrs:x:512:512::/home/tetraotrs:/bin/bash mytetra:x:513:513::/home/mytetra:/bin/bash plone:x:514:514::/home/plone:/bin/false carnation:x:515:515::/home/carnation:/bin/bash tetraprojop:x:516:516::/home/tetraprojop:/bin/bash postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash newtetrakm:x:517:517::/home/newtetrakm:/bin/false osconnect:x:518:518::/home/osconnect:/bin/bash rjcorp:x:519:519::/home/rjcorp:/bin/bash tetracyn:x:520:520::/home/tetracyn:/bin/false mayankcyn:x:521:521::/home/mayankcyn:/bin/bash cms12bjp:x:522:522::/home/tetrademos/cms/cms12:/bin/bash anuj:x:523:523::/home/anuj:/bin/bash himanshu:x:524:524::/home/himanshu:/bin/bash tetraotrs2:x:100:101:OTRS2 User:/home/tetraotrs2/:/bin/bash
The file /etc/group
apache:x:48:otrs,tetraotrs,tetraotrs2 tetracrm:x:500: humidin:x:501: bhartirealty:x:502: tetrapms:x:503: otrs:x:504: zeo:x:506: tetrakm:x:507: tetrahrm:x:508: tetrawebsite:x:509: tetraclients:x:510: tetrademos:x:511: tetraotrs:x:512: mytetra:x:513: plone:x:514: carnation:x:515: tetraprojop:x:516: newtetrakm:x:517: osconnect:x:518: rjcorp:x:519: tetracyn:x:520: mayankcyn:x:521: cms12bjp:x:522: anuj:x:523: himanshu:x:524: tetraotrs2:x:101:
The File /etc/shadow
humidin:!!:14575:0:99999:7::: bhartirealty:!!:14575:0:99999:7::: tetrapms:!!:14575:0:99999:7::: otrs:!!:14585:0:99999:7::: zeo:!!:14587:0:99999:7::: tetrakm:!!:14587:0:99999:7::: tetrahrm:!!:14593:0:99999:7::: tetrawebsite:1.SSO42Ean7yg:14748:0:99999:7::: tetraclients:NnOXvf36d8LTA:14656:0:99999:7::: tetrademos:8OvqY0MNLXgtg:14673:0:99999:7::: tetraotrs:!!:14642:0:99999:7::: mytetra:gc4NZylk9ANM2:14670:0:99999:7::: plone:!!:14721:0:99999:7::: carnation:!!:14747:0:99999:7::: tetraprojop:!!:14750:0:99999:7::: newtetrakm:!!:14804:0:99999:7::: osconnect:!!:14823:0:99999:7::: rjcorp:!!:14827:0:99999:7::: tetracyn:!!:14914:0:99999:7::: mayankcyn:!!:14914:0:99999:7::: cms12bjp:!!:14962:0:99999:7::: anuj:qrQYVGSkhSK2M:15003:0:99999:7::: himanshu:7SVxdYg8Q4ktc:15003:0:99999:7::: tetraotrs2:!!:15229::::::
Additional PHP Modules[edit]
The Additional PHP modules were installed
yum install php-pear-MDB2 php-pear-Net-URL php-pear-Date php-pear-Log php-tidy php-mssql php-readline php-pecl-Fileinfo php-pear-Net-Socket php-pear php-pear-Net-SMTP php-pear-Net-Sieve php-pear-Mail php-pear-Mail-Mime php-pear-HTTP-Request php-pgsql php-soap php-dba php-mcrypt php-mhash php-pecl-memcache php-pear-Auth-SASL php-pear-MDB2-Driver-mysql php-pear-File php-bcmath