Permalink
Browse files

Update configuration

  • Loading branch information...
abtris committed Aug 3, 2012
1 parent 41437ae commit 3a27f62a3e754deb2d6c4f20421d93c4e126a299
Showing with 143 additions and 84 deletions.
  1. +3 −3 bash/aliases
  2. +3 −3 bin/lmcdict
  3. +137 −78 hosts/hosts
View
@@ -12,9 +12,9 @@ alias ee="v ~/bin/dotfiles/bash/env"
alias eh="sudo vim /etc/hosts"
alias csub='cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User'
# LMC
-alias md="sudo sshfs prskavecl@vap01.devel.lmc.cz:/srv/dynamic/ /srv/dynamic/ -o uid=0,gid=33,allow_other"
-alias mdd="sudo sshfs prskavecl@vap03.deploy.lmc.cz:/srv/dynamic/ /srv/dynamic/ -o uid=0,gid=33,allow_other"
-alias mdp="sudo sshfs prskavecl@ap0208.preprod.lmc.cz:/srv/dynamic/ /srv/dynamic/ -o uid=0,gid=33,allow_other"
+alias md="sshfs -o allow_other,uid=70,gid=70 prskavecl@ap01.devel.lmc.cz:/srv/dynamic/courses/ /srv/dynamic/courses/"
+alias mdd="sshfs -o allow_other,uid=70,gid=70 prskavecl@ap01.dev3.lmc.cz:/srv/dynamic/courses/ /srv/dynamic/courses/"
+alias mdp="sudo sshfs prskavecl@ap0208.preprod.lmc.cz:/srv/dynamic/ /srv/dynamic/ -o allow_other"
alias mnb="sudo sshfs abtris@10.1.2.14:/ /media/netbook/ -o uid=0,gid=33,allow_other"
alias rpmrepo="cadaver http://yumrepo.prod.lmc.cz/lmc/apps-deploy/"
alias sqlrepo="cadaver http://sqlrepo.prod.lmc.cz/webdav-sql/"
View
@@ -17,9 +17,9 @@ if ($res !== TRUE) {
$zip->extractTo($basePath);
$extractedPath = $basePath . '/aedit';
-copy($extractedPath . '/public/www.jobs.cz/vocab_cz.js', '/srv/www/beta.jobs.cz/current/www/js/vocab_cz.js');
-copy($extractedPath . '/internal/www.jobs.cz/Dictionary2Cz.class.php', '/srv/www/beta.jobs.cz/current/lib/Dictionary2Cz.class.php');
-copy($extractedPath . '/internal/www.jobs.cz/Dictionary2Cz.xml', '/srv/www/beta.jobs.cz/current/lib/Dictionary2Cz.xml');
+copy($extractedPath . '/public/www.jobs.cz/vocab_cz.js', '/srv/www/www.jobs.cz/current/www/js/vocab_cz.js');
+copy($extractedPath . '/internal/www.jobs.cz/Dictionary2Cz.class.php', '/srv/www/www.jobs.cz/current/lib/Dictionary2Cz.class.php');
+copy($extractedPath . '/internal/www.jobs.cz/Dictionary2Cz.xml', '/srv/www/www.jobs.cz/current/lib/Dictionary2Cz.xml');
rrmdir($extractedPath);
unlink($archivePath);
View
@@ -1,79 +1,138 @@
+#
+##
+# Host Database
+#
+# localhost is used to configure the loopback interface
+# when the system is booting. Do not change this entry.
+##
127.0.0.1 localhost
-127.0.1.1 prskavecl.ad.lmc.cz prskavecl
-
-# The following lines are desirable for IPv6 capable hosts
-::1 localhost ip6-localhost ip6-loopback
-fe00::0 ip6-localnet
-ff00::0 ip6-mcastprefix
-ff02::1 ip6-allnodes
-ff02::2 ip6-allrouters
-
-# 10.0.3.189 preprod
-# 10.0.3.181 devel
-# 10.0.3.183, 133 deploy
-10.0.36.12 dbregistred_user dbadmin-lmc dbanketa_live dbsupport dbibanners dbaccess dboperational dbphp_pattern db01.deploy.lmc.cz dbjobs_sessions dbjobs dbpd dbprace_sessions dbvpv dbprace dbvlp dbadminy dbjd dbg2counter dbbrigady dbmaoo dbssoserver dbzendadmin
-10.0.36.12 dbosobnosti
-
-# 10.0.3.131 deploy
-# 10.0.3.133 devel
-10.0.36.12 dbozona
-127.0.0.1 jobs.cz www.jobs.cz absolvent.jobs.cz financie.topjobs.sk www.topjobs.sk topjobs.sk absolvent.topjobs.sk www.hotjobs.cz www.topjob.sk fmcg.topjobs.sk
-127.0.0.1 w.jobs.cz onrea.com www.onrea.com www.praca.sk praca.sk prace.cz www.prace.cz ozona.topjobs.sk g2-ankety.jobs.cz brigady.jobs.cz
-127.0.0.1 brigady.prace.cz brigady.topjobs.sk absolvent09.jobs.cz absolvent09.topjobs.sk financie.topjobs.sk spolu.prace.cz
-127.0.0.1 live.topjobs.sk nas.jobs.cz nas.topjobs.sk ozp.prace.cz dictionary.lmc.cz w.prace.cz ww.prace.cz ozp.prace.cz zps.prace.cz www.ozp.prace.cz
-127.0.0.1 www.zps.prace.cz spolu.prace.cz burzaprace.sk it.jobs.cz it.topjobs.sk telco.topjobs.sk job.cz ads.lmc.cz burzaprace.azet.sk www.medical.jobs.cz
-127.0.0.1 medical.jobs.cz international.jobs.cz internationaljobs.cz www.international.jobs.cz www.internationaljobs.cz
-127.0.0.1 pda.jobs.cz wap.jobs.cz mobil.jobs.cz media.jobs.cz www.media.jobs.cz
-127.0.0.1 preview.lmc.cz abl.jobs.cz www.abl.jobs.cz
-127.0.0.1 sciencejobs.cz www.dobrovolnictvi.jobs.cz dobrovolnictvi.jobs.cz
-10.0.0.21 ozona.jobs.cz
-#10.0.0.33 vpv.lmc.cz
-#10.0.0.33 ads.lmc.cz
-#10.0.2.132 - preprod
-#10.0.2.135 - devel
-#10.0.2.142 - deploy
-
-# deploy
-10.0.0.28 tcsearch tcdsearch tcg2vpv_muj tcpdsearch tcg2vpvmuj tclang tcsso
-
-# 10.0.2.208 - deploy
-# 172.16.0.11 - devel
-# 10.0.2.203 - preprod
-10.0.32.10 tcrouter
-
-#devel 10.0.0.13
-#deploy 10.0.0.23
-#preprod 10.0.0.13
-#10.0.0.23 access.lmc.cz
-
-#devel 10.0.0.35
-#deploy 10.0.0.25
-#preprod 10.0.0.15
-#10.0.0.35 asmt.jobs.cz asmt.topjobs.sk asmt.prace.cz
-#10.0.0.24 poradna.topjobs.sk
-# vap06
-#10.0.0.21 unicreditbank.jobs.cz poradna-prace.jobs.cz poradna.jobs.cz poradna.topjobs.sk
-
-# devel
-#10.0.32.1 memc
-# deploy
-10.0.36.1 memc
-
-#devel 10.0.0.33
-#deploy 10.0.0.23
-#10.0.0.23 g2.lmc.cz
-
-#devel 10.0.0.31
-10.0.0.31 muj.jobs.cz
-
-
-# deploy 10.0.0.22
-# devel 10.0.0.32
-10.0.0.22 moje.prace.cz poradna.prace.cz
-
-#10.0.0.23 sso.lmc.cz
-
-10.0.0.23 presentation.lmc.cz
-
-10.0.32.14 wsmuj
-10.0.0.26 fast fesrch
+255.255.255.255 broadcasthost
+::1 localhost
+fe80::1%lo0 localhost
+
+#### LMC ####
+
+# VHX START
+127.0.0.1 admin.lmc.cz
+127.0.0.1 a
+127.0.0.1 angular.dev
+127.0.0.1 dzogchen.dev
+#127.0.0.1 jobs.cz
+#127.0.0.1 www.jobs.cz
+127.0.0.1 job.cz
+#127.0.0.1 ijobs.cz
+#127.0.0.1 logistika.jobs.cz
+#127.0.0.1 science.jobs.cz
+#127.0.0.1 farmacie.jobs.cz
+#127.0.0.1 www.logistika.jobs.cz
+#127.0.0.1 www.science.jobs.cz
+#127.0.0.1 www.farmacie.jobs.cz
+#127.0.0.1 brigady.jobs.cz
+#127.0.0.1 logistikajobs.cz
+#127.0.0.1 www.logistikajobs.cz
+#127.0.0.1 dobrovolnictvi.jobs.cz
+#127.0.0.1 absolvent.jobs.cz
+#127.0.0.1 absolventijobs.cz
+#127.0.0.1 www.absolventijobs.cz
+127.0.0.1 nette.dev
+#127.0.0.1 prace.cz
+#127.0.0.1 www.prace.cz
+#127.0.0.1 w.prace.cz
+#127.0.0.1 ozp.prace.cz
+#127.0.0.1 brigady.prace.cz
+#127.0.0.1 spolu.prace.cz
+127.0.0.1 stream3.dev
+127.0.0.1 dictionary.lmc.cz
+127.0.0.1 d3.dev
+127.0.0.1 beta.vysokeskoly.cz
+# VHX STOP
+
+
+#10.0.36.12 dbregistred_user dbadmin-lmc dbanketa_live dbsupport dbibanners dbaccess dboperational dbphp_pattern dbjobs_sessions dbjobs dbpd dbprace_sessions dbvpv dbprace dbvlp dbadminy dbjd dbg2counter dbbrigady dbmaoo dbssoserver
+#10.0.49.7 dbzendadmin
+#10.0.36.12 dbosobnosti
+#10.0.0.28 tcsearch tcdsearch tcg2vpv_muj tcpdsearch tcg2vpvmuj tclang tcsso
+#10.0.32.10 tcrouter
+# 10.0.36.1 memc
+
+## DEV2
+#10.0.49.11 memc
+#10.0.32.14 wsmuj
+#10.0.0.56 fesrch
+#10.0.49.9 feidx01 fesrch01
+#10.0.0.53 presentation.lmc.cz
+#10.0.49.11 couchdb01 dbacademy
+## DEV3
+#10.0.50.11 couchdb01
+#10.0.50.7 dbzendadmin dbjd
+#10.0.50.20 dbcourses
+#10.0.0.69 fesrchjd
+#10.0.50.16 searchjd01
+#10.0.50.11 memc
+
+## DEVEL
+#10.0.32.12 couchdb01
+#10.0.32.4 couchdb02
+#10.0.0.38 fesrchjd
+#10.0.32.16 searchjd01
+#10.0.32.12 dbzendadmin dbhcm dbcourses
+#10.0.32.4 memc
+#10.0.32.19 wsmuj
+#10.0.32.7 mq1 mq2
+#10.0.0.33 presentation.lmc.cz
+
+## DEPLOY
+#10.0.36.12 couchdb01
+#10.0.36.12 dbzendadmin
+
+## PREPROD
+#10.0.40.8 couchdb01
+#10.0.0.19 fesrchjd
+#10.0.42.16 searchjd01
+#10.0.40.6 dbzendadmin
+
+## PROD
+#10.0.44.20 couchdb01
+#10.0.0.205 fesrchjd
+#10.0.46.31 searchjd01
+#10.0.44.15 dbzendadmin
+
+
+#### /LMC ####
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

0 comments on commit 3a27f62

Please sign in to comment.