summaryrefslogtreecommitdiffstats
path: root/doc/Building_FRR_on_Ubuntu1604.md
diff options
context:
space:
mode:
authorPhil Huang <phil_huang@edge-core.com>2017-04-13 15:20:53 +0200
committerPhil Huang <phil_huang@edge-core.com>2017-04-13 15:20:53 +0200
commitbe9665641df19efdfe08b941fef4507956fff97c (patch)
tree3391f8559077ff24a1ab8d14e3479d0be3242e86 /doc/Building_FRR_on_Ubuntu1604.md
parentAdd user `frr` into group `frrvty` (diff)
downloadfrr-be9665641df19efdfe08b941fef4507956fff97c.tar.xz
frr-be9665641df19efdfe08b941fef4507956fff97c.zip
Clean installation guide with Debian/Ubuntu
Signed-off-by: Phil Huang <phil_huang@edge-core.com>
Diffstat (limited to 'doc/Building_FRR_on_Ubuntu1604.md')
-rw-r--r--doc/Building_FRR_on_Ubuntu1604.md28
1 files changed, 12 insertions, 16 deletions
diff --git a/doc/Building_FRR_on_Ubuntu1604.md b/doc/Building_FRR_on_Ubuntu1604.md
index 2a6a30f96..b213a9085 100644
--- a/doc/Building_FRR_on_Ubuntu1604.md
+++ b/doc/Building_FRR_on_Ubuntu1604.md
@@ -65,22 +65,18 @@ an example.)
### Create empty FRR configuration files
- sudo mkdir /var/log/frr
- sudo chown frr:fee /var/log/frr
- sudo mkdir /etc/frr
- sudo touch /etc/frr/etc/zebra.conf
- sudo touch /etc/frr/etc/bgpd.conf
- sudo touch /etc/frr/etc/ospfd.conf
- sudo touch /etc/frr/etc/ospf6d.conf
- sudo touch /etc/frr/etc/isisd.conf
- sudo touch /etc/frr/etc/ripd.conf
- sudo touch /etc/frr/etc/ripngd.conf
- sudo touch /etc/frr/etc/pimd.conf
- sudo touch /etc/frr/etc/ldpd.conf
- sudo chown frr:frr /etc/frr/
- sudo touch /etc/frr/etc/vtysh.conf
- sudo chown frr:frrvty /etc/frr/etc/vtysh.conf
- sudo chmod 640 /etc/frr/*.conf
+ sudo install -m 755 -o frr -g frr -d /var/log/frr
+ sudo install -m 775 -o frr -g frrvty -d /etc/frr
+ sudo install -m 640 -o frr -g frr /dev/null /etc/frr/zebra.conf
+ sudo install -m 640 -o frr -g frr /dev/null /etc/frr/bgpd.conf
+ sudo install -m 640 -o frr -g frr /dev/null /etc/frr/ospfd.conf
+ sudo install -m 640 -o frr -g frr /dev/null /etc/frr/ospf6d.conf
+ sudo install -m 640 -o frr -g frr /dev/null /etc/frr/isisd.conf
+ sudo install -m 640 -o frr -g frr /dev/null /etc/frr/ripd.conf
+ sudo install -m 640 -o frr -g frr /dev/null /etc/frr/ripngd.conf
+ sudo install -m 640 -o frr -g frr /dev/null /etc/frr/pimd.conf
+ sudo install -m 640 -o frr -g frr /dev/null /etc/frr/ldpd.conf
+ sudo install -m 640 -o frr -g frrvty /dev/null /etc/frr/vtysh.conf
### Enable IP & IPv6 forwarding