netfrag.org > Pad > Joko-2004-09-20Migration-sorceress-quepasa (r1.1 vs. r1.3)
Pad . { Home | Changes | Index | Search }

 <<O>>  Difference Topic Joko-2004-09-20Migration-sorceress-quepasa (r1.3 - 07 Jun 2009 - Main.joko)
Line: 1 31 to 1 31
Changed:
<
<
#> scp sorceress-home.tar.gz bd@quepasa.netfrag.org:/data2/tmp/
>
>
#> scp sorceress-home.tar.gz quepasa.netfrag.org:/data2/tmp/
Line: 44 to 44
Changed:
<
<
#> scp sorceress-htdocs.tar.gz bd@netfrag.org:/data2/backup/
>
>
#> scp sorceress-htdocs.tar.gz netfrag.org:/data2/backup/
Line: 57 to 57
Changed:
<
<
#> scp sorceress-httpd-logs.tar.gz bd@netfrag.org:/data2/backup/
>
>
#> scp sorceress-httpd-logs.tar.gz netfrag.org:/data2/backup/
Line: 95 to 95
Changed:
<
<
#> scp huba.mysqldump bd@netfrag.org:/data2/backup/sorceress-mysql-huba.mysqldump
>
>
#> scp huba.mysqldump netfrag.org:/data2/backup/sorceress-mysql-huba.mysqldump

 <<O>>  Difference Topic Joko-2004-09-20Migration-sorceress-quepasa (r1.2 - 21 Sep 2004 - Main.joko)
Line: 1 8 to 1 9
Added:
>
>
sorceress.netfrag.org:

old ip-address: 213.133.125.248 new ip-address: 213.133.125.247

Line: 68 to 73
Changed:
<
<
[-] copy /home/httpd/icons??? [-] http://sorceress.netfrag.org/webalizer/
>
>
[/] copy /home/httpd/icons??? [+] http://sorceress.netfrag.org/webalizer/ [-] NOTE: http://sorceress.netfrag.org/stats/
Line: 84 to 89
Changed:
<
<
Migrated MySQL?-Account "huba/huba_fx" for "localhost".
>
>
Migrated MySQL?-Account "huba/..." for "localhost".
Line: 110 to 115
Changed:
<
<
x. what about? /etc/security/.htpasswd
>
>
9. Open Questions?
Line: 113 to 116
Deleted:
<
<
z. Open Questions?
Line: 130 to 133
Changed:
<
<

[-] NOTE: Logging data goes to /var/log/ippl.log

>
>
[-] NOTE: Logging data goes to /var/log/ippl/all.log
Line: 134 to 137
Added:
>
>
10. misc / what about?
Line: 141 to 145
Changed:
<
<
[-] grep for "213.133.118.38", replace through "sorceress.netfrag.org"
>
>
[+] grep for "213.133.118.38", replace through "sorceress.netfrag.org"

#> cd /data/www/virtual/deranger #> grep -ri "213.133.118.38" * | more log/* Binary file pub/pliction/film2.swf matches pub/stats/* pub/webalizer/* #> cd log #> replace 213.133.118.38 sorceress.netfrag.org -- * access_log converted error_log converted #> cd ../pub #> rm -rf webalizer

[-] NOTE: #> cd /data/www/virtual/deranger #> grep -ri "213.133.118.38" * | more Binary file pub/pliction/film2.swf matches Die IP-Adresse gibt's nicht mehr. Am besten "sorceress.netfrag.org" verwenden.

Line: 142 to 166
Added:
>
>
[-] /etc/security/.htpasswd #> cd /data/www/virtual/deranger #> grep -ri "/etc/security/.htpasswd" * | more
Line: 144 to 169
Deleted:
<
<

make it live sorceress.netfrag.org: 213.133.125.248 -> 213.133.125.247

 <<O>>  Difference Topic Joko-2004-09-20Migration-sorceress-quepasa (r1.1 - 21 Sep 2004 - Main.joko)
Line: 1 to 1
Added:
>
>
META TOPICPARENT JokosNotepad

========================================================================
  move/merge/migrate sorceress.netfrag.org to quepasa.netfrag.org:
========================================================================

--------------------------------------------------------
1. Accounts:
   copy & paste accounts from /etc/passwd from sorceress to /etc/passwd on quepasa
   run "pwconv" afterwards, this will convert all passwords and writes them into /etc/shadow:
   #> pwconv

   [-] NOTE: "sam" is now "natraj"


2. Home-Directories
  #> cd /home
  #> mkdir sam/backup

  #> CTRL+D
  h1 #> cd /home/vsd/vs/sorceress/home
  #> mv software_bkup/ sam/backup/
  #> tar -czf sorceress-home.tar.gz huba sam yang
  #> scp sorceress-home.tar.gz bd@quepasa.netfrag.org:/data2/tmp/

  quepasa #> cd /data/home
  #> tar -xzf sorceress-home.tar.gz

  set permissions and stuff


4. web-directory (DocumentRoot)

  [+] public html directory: /home/httpd/docs
      root@h1: # cd /home/vsd/vs/sorceress/home/httpd
      #> tar -czf sorceress-htdocs.tar.gz docs/
      #> scp sorceress-htdocs.tar.gz bd@netfrag.org:/data2/backup/
      root@quepasa:/data/www/virtual#
      #> mkdir deranger
      #> cd deranger
      #> tar -xzf /data2/backup/sorceress-htdocs.tar.gz docs
      #> mv docs/* .
      #> rmdir docs
      #> cd ..
      #> chown -R natraj.staff deranger

  [+] log files: /home/web/log
      root@h1: # cd /home/vsd/vs/sorceress/home/web
      #> tar -czf sorceress-httpd-logs.tar.gz log/
      #> scp sorceress-httpd-logs.tar.gz bd@netfrag.org:/data2/backup/
      root@quepasa:/data/www/virtual/deranger#
      #> mkdir log
      #> cd log
      #> tar -xzf /data2/backup/sorceress-httpd-logs.tar.gz

  [+] configure apache on quepasa
      #> cd /data/www/virtual/deranger
      #> mkdir conf
      #> cp ../wac/conf/httpd.conf conf/
      #> nano conf/httpd.conf
      #> nano /data/www/global/conf/httpd.conf
      #> /etc/init.d/apache stop
      #> killall -9 apache
      #> /etc/init.d/apache start

  [-] copy /home/httpd/icons???
  [-] http://sorceress.netfrag.org/webalizer/


5. mysql databases

   quepasa #> mysql --version
   mysql  Ver 11.16 Distrib 3.23.49, for pc-linux-gnu (i686)

   #> h1 # bevs sorceress
   sorceress #> mysql --version
   mysql  Ver 11.15 Distrib 3.23.38, for pc-linux-gnu (i686)
   #> /etc/rc.d/init.d/mysql stop


  [-] NOTE: MySQL-Account "root/huba_fx" will not work any more.
  Migrated MySQL-Account "huba/huba_fx" for "localhost".

  [-] CHECK: http://sorceress.netfrag.org/~huba/movies/

  [huba@deranger /tmp]$ 
  #> mysqldump -uroot -phuba_fx huba > huba.mysqldump
  #> scp huba.mysqldump bd@netfrag.org:/data2/backup/sorceress-mysql-huba.mysqldump

  quepasa# mysql
  mysql> update user set password='28369b7f16b0096d' where user='huba';
  mysql> flush privileges;
  mysql -uhuba -p huba < /data2/backup/sorceress-mysql-huba.mysqldump


6. mail services
   [+] move /var/spool/mail
   [+] is pop3 enabled on quepasa? yes, qpopper via inetd

7. ftp access
   #> nano /etc/vsftpd.user_list
   added huba, natraj and yang

8. convenience:
  #> nano /etc/profile
  alias pico='nano'

x. what about?
   /etc/security/.htpasswd

z. Open Questions?
  [+] ippl
      #> apt-get install ippl
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  ippl
0 packages upgraded, 1 newly installed, 0 to remove and 406  not upgraded.
Need to get 42.3kB of archives. After unpacking 197kB will be used.
Get:1 ftp://ftp.de.debian.org unstable/main ippl 1.4.14-3 [42.3kB]
Fetched 42.3kB in 3s (10.7kB/s)
Selecting previously deselected package ippl.
(Reading database ... 43236 files and directories currently installed.)
Unpacking ippl (from .../ippl_1.4.14-3_i386.deb) ...
Setting up ippl (1.4.14-3) ...
Starting IP Protocols Logger: ippl.


  [-] NOTE: Logging data goes to /var/log/ippl.log
  for configuration see /var/run/ippl.conf
  

  [/] majordomo, not active
  [/] cronjobs

  [+] cancel nikuja

  [+] change config.inc.php in huba's phpMyadmin
  [-] grep for "213.133.118.38", replace through "sorceress.netfrag.org"


--------------------------------------------------------
  make it live
  sorceress.netfrag.org: 213.133.125.248 -> 213.133.125.247


Topic Joko-2004-09-20Migration-sorceress-quepasa . { View | Diffs | r1.3 | > | r1.2 | > | r1.1 | More }    output as: { }
Revision r1.1 - 21 Sep 2004 - 19:50 - Main.joko
Revision r1.3 - 07 Jun 2009 - 22:43 - Main.joko