Update install.sh
updates for centos
This commit is contained in:
parent
fb5f1a771c
commit
ace15636ac
1 changed files with 4 additions and 4 deletions
|
@ -21,7 +21,7 @@ function install_ospf_mdr() {
|
||||||
|
|
||||||
function install_core() {
|
function install_core() {
|
||||||
./bootstrap.sh
|
./bootstrap.sh
|
||||||
./configure
|
./configure $1
|
||||||
make -j8
|
make -j8
|
||||||
sudo make install
|
sudo make install
|
||||||
}
|
}
|
||||||
|
@ -43,11 +43,11 @@ case ${os} in
|
||||||
install_core
|
install_core
|
||||||
;;
|
;;
|
||||||
"CentOS Linux")
|
"CentOS Linux")
|
||||||
sudo yum install -y automake pkgconf-pkg-config gcc libev-devel bridge-utils iptables-ebtables gawk \
|
sudo yum install -y automake pkgconf-pkg-config gcc gcc-c++ libev-devel bridge-utils iptables-ebtables gawk \
|
||||||
python36 python36-devel python3-pip python3-tk tk ethtool libtool readline-devel autoconf
|
python36 python36-devel python3-pip python3-tkinter tk ethtool libtool readline-devel autoconf
|
||||||
install_python_depencencies
|
install_python_depencencies
|
||||||
install_ospf_mdr
|
install_ospf_mdr
|
||||||
install_core
|
install_core --prefix=/usr
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "unknown os ${os} cannot install"
|
echo "unknown os ${os} cannot install"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue