Cdist: Difference between revisions
From Leo's Notes
This page was last edited on 21 July 2019, at 23:06.
Created page with "We need python 3 yum -y install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel yum -y install make autoconf g++ gcc-c++ libtermcap-devel libgcc..." |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
cdist is a configuration management system for Linux that depends on Python and SSH. | |||
== Installation == | |||
Content here is old. For updated instructions, see: https://www.cdi.st/cdist-install.html | |||
yum -y install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel | {{highlight|lang=terminal|code= | ||
yum -y install make autoconf g++ gcc-c++ libtermcap-devel libgcc-c++ libtool gcc libpng-devel libjpeg-devel libxml1-devel libxml2-devel curl curl-devel libmcrypt libmcrypt-devel libtool-ltdl-devel libxml2.x86_64 libxml2-devel.x86_64 curl-devel.x86_64 openssl-devel | # yum -y install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel | ||
# yum -y install make autoconf g++ gcc-c++ libtermcap-devel libgcc-c++ libtool gcc libpng-devel libjpeg-devel libxml1-devel libxml2-devel curl curl-devel libmcrypt libmcrypt-devel libtool-ltdl-devel libxml2.x86_64 libxml2-devel.x86_64 curl-devel.x86_64 openssl-devel | |||
wget http://www.python.org/ftp/python/3.3.0/Python-3.3.0.tar.bz2 | |||
tar -xjf Python* | # wget http://www.python.org/ftp/python/3.3.0/Python-3.3.0.tar.bz2 | ||
cd Python* | # tar -xjf Python* | ||
./configure --prefix=/opt/python3 | # cd Python* | ||
make && make install | # ./configure --prefix=/opt/python3 | ||
# make && make install | |||
wget http://leo.home.steamr.com/support/cdist.tar.gz | |||
tar -xzf cdist.tar.gz | # wget http://leo.home.steamr.com/support/cdist.tar.gz | ||
mv cdist /opt | # tar -xzf cdist.tar.gz | ||
cd /opt/cdist | # mv cdist /opt | ||
PATH=$PATH:/opt/cdist/bin | # cd /opt/cdist | ||
# PATH=$PATH:/opt/cdist/bin | |||
# if man pages are needed | |||
## if man pages are needed | |||
# yum install asciidoc | |||
# ./build man | |||
# export MANPATH=$MANPATH:$(pwd -P)/doc/man | |||
}} | |||
Latest revision as of 23:06, 21 July 2019
cdist is a configuration management system for Linux that depends on Python and SSH.
Installation
Content here is old. For updated instructions, see: https://www.cdi.st/cdist-install.html
# yum -y install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel
# yum -y install make autoconf g++ gcc-c++ libtermcap-devel libgcc-c++ libtool gcc libpng-devel libjpeg-devel libxml1-devel libxml2-devel curl curl-devel libmcrypt libmcrypt-devel libtool-ltdl-devel libxml2.x86_64 libxml2-devel.x86_64 curl-devel.x86_64 openssl-devel
# wget http://www.python.org/ftp/python/3.3.0/Python-3.3.0.tar.bz2
# tar -xjf Python*
# cd Python*
# ./configure --prefix=/opt/python3
# make && make install
# wget http://leo.home.steamr.com/support/cdist.tar.gz
# tar -xzf cdist.tar.gz
# mv cdist /opt
# cd /opt/cdist
# PATH=$PATH:/opt/cdist/bin
## if man pages are needed
# yum install asciidoc
# ./build man
# export MANPATH=$MANPATH:$(pwd -P)/doc/man