From 06c9106b396d02d45ce5dd954507d010063ded59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Kir=C3=B8?= Date: Sun, 20 Mar 2016 13:59:46 +0100 Subject: Added basic .bashrc file for simplifed development in container. --- nms/.bashrc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 nms/.bashrc (limited to 'nms/.bashrc') diff --git a/nms/.bashrc b/nms/.bashrc new file mode 100644 index 0000000..c1fd16f --- /dev/null +++ b/nms/.bashrc @@ -0,0 +1,8 @@ +NAME='NMS Docker' + +# Aliases +alias h="history" +alias l="ls -lAhoF --color --show-control-chars" +alias ll="ls -lash --color --show-control-chars" +alias cd..="cd .." + -- cgit v1.2.3 From fe68ba984f7f1c1e586fc02219b80adedb64c555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Kir=C3=B8?= Date: Sun, 20 Mar 2016 18:03:36 +0100 Subject: bash rc stuffs for dev docker container. --- nms/.bashrc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nms/.bashrc') 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" -- cgit v1.2.3