Advertisement
Guest User

Untitled

a guest
Apr 8th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. root betisdelimA99
  2. access http://203.223.137.102/db/index.php
  3.  
  4. add 6110 and omni
  5. ( earth leo server )
  6. prj/vc4-git
  7. mys2 branch
  8. change tz
  9. ----------------
  10.  
  11. cd projects/vc4-git
  12.  
  13. * Add sites/6110.atnetwork.biz, edit 2 lines, db and memcache_id settings (cp -a 6110.atnetwork.biz c6112opyto.atnetwork.biz)
  14.  
  15. * Edit sites/vc.atnetwork.biz/settings.php, 2 lines, db and memcache_id settings
  16.  
  17. * commit and push mys2 branch
  18. git push origin mys2
  19.  
  20.  
  21. titan branch
  22.  
  23. ---------------
  24.  
  25. * Add sites/6112.voucherclub.biz, edit 2 lines, db and memcache_id settings (cp -a 6110.voucherclub.biz 6112.voucherclub.biz)
  26.  
  27. * Edit sites/default/atn.php, 1 line, distro_hostlist
  28.  
  29. * commit and push titan branch
  30.  
  31.  
  32.  
  33. titan_dev branch
  34.  
  35. ---------------------
  36.  
  37. * Add sites/6112.voucherclub.biz, edit 2 lines, db and memcache_id settings (cp -a 6110.voucherclub.biz 6112.voucherclub.biz)
  38.  
  39. * ln -s 6112.voucherclub.biz omni.voucherclub.biz
  40.  
  41. * commit and push origin titan_dev
  42.  
  43.  
  44.  
  45. MYS2
  46. (1. masuk ke Amadeus
  47. 2. sudo su pass: oprAmaD99
  48. 3. masuk ke MYS2 : ssh -lopr -p22 192.168.2.16
  49. 4. sudo su -> password nya opr123)
  50.  
  51. -------
  52. sudo su
  53. * /home/opr/create.db.sh vc4_6110 vc4_6112
  54.  
  55.  
  56.  
  57. Titan
  58.  
  59. ------
  60. sudo su : oprtitaN
  61.  
  62. * Edit /etc/nginx/sites-available/voucherclub, add omni to the list
  63.  
  64. * Reload nginx /etc/init.d/nginx reload
  65.  
  66.  
  67.  
  68. Browser
  69.  
  70. =======
  71. User: gary pass: 13atn88atn
  72.  
  73. * Edit stock config on http://6110.voucherclub.biz/index.php?q=VoucherClub/Stock/VoucherClub
  74.  
  75. * Confirm 6110.voucherclub.biz and omni.voucherclub.biz has same contents
  76.  
  77.  
  78.  
  79. MYS2
  80. (masuk ke titan trus masuk ke MYS2 : ssh -lopr -p22 192.168.2.16 , pass : opr123 )
  81. =====
  82. sudo su
  83. * Add 6112.atnetwork.biz to /etc/hosts
  84.  
  85. * Create /opt/vc4/etc/vc4/6110.cnf (cp -a 6110.cnf 6112.cnf) -> edit file with 6112 string, dan config file
  86.  
  87. * di /etc/init.d/ -> ln -s /opt/vc4/etc/init.d/vc4.sh vc4.6112.index
  88.  
  89. * di /etc/init.d/ -> update-rc.d vc4.6112.index defaults
  90.  
  91. * /etc/init.d/vc4.6112.index start
  92.  
  93. * di /etc/init.d/ -> ln -s /opt/vc4/etc/init.d/vc4.sh vc4.atn.voucherclub.omni
  94.  
  95. * update-rc.d vc4.atn.voucherclub.omni defaults
  96.  
  97. * /etc/init.d/vc4.atn.voucherclub.omni start
  98.  
  99. * Edit /etc/cron.daily/drupal
  100.  
  101.  
  102.  
  103. Titan
  104.  
  105. ====
  106. sudo su oprtitaN
  107. * Edit /var/www/dbase.vc4user/sites/vc4user/settings.php, add omni mapping
  108.  
  109.  
  110.  
  111. Amadeus
  112.  
  113. ========
  114.  
  115. * Edit /var/www/sfs/share/vc/sites/main/settings.php, 2 lines here
  116.  
  117. cek /var/log/vc4 titan mys2
  118. atn.omni
  119.  
  120.  
  121. lihat error
  122. titan
  123. cd /var/log/nginx/vcnet.error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement