aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"