aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Kirø <magnuskiro@gmail.com>2016-03-20 18:03:36 +0100
committerMagnus Kirø <magnuskiro@gmail.com>2016-03-20 18:06:09 +0100
commitfe68ba984f7f1c1e586fc02219b80adedb64c555 (patch)
tree0241ff72c9ddae51716d5e71bd0eff0dd494def1
parent699d843a141f3bc8a835c38cce039737f3dfd5ee (diff)
bash rc stuffs for dev docker container.
-rw-r--r--nms/.bashrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/nms/.bashrc b/nms/.bashrc
index c1fd16f..06072e3 100644
--- a/nms/.bashrc
+++ b/nms/.bashrc
@@ -1,5 +1,13 @@
NAME='NMS Docker'
+
+ln -s /srv/tgmanage/web/etc/apache2/nms.tg16.gathering.org.conf /etc/apache2/sites-enabled/
+ln -s /srv/tgmanage/nms/config.pm /srv/tgmanage/include/
+echo 'demo:$apr1$IKrQYF6x$0zmRciLR7Clc2tEEosyHV.' > /srv/tgmanage/web/.htpasswd
+
+/etc/init.d/apache2 restart
+echo "go here to look at nms: http://172.17.0.2:8080/"
+
# Aliases
alias h="history"
alias l="ls -lAhoF --color --show-control-chars"