Cdist: Difference between revisions

From Leo's Notes
This page was last edited on 15 April 2013, at 04:45.
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
Line 2: Line 2:




yum -y install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-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
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
wget http://www.python.org/ftp/python/3.3.0/Python-3.3.0.tar.bz2
tar -xjf Python*
tar -xjf Python*
cd Python*
cd Python*
./configure --prefix=/opt/python3
./configure --prefix=/opt/python3
make && make install
make && make install
 
wget http://leo.home.steamr.com/support/cdist.tar.gz
wget http://leo.home.steamr.com/support/cdist.tar.gz
tar -xzf cdist.tar.gz
tar -xzf cdist.tar.gz
mv cdist /opt
mv cdist /opt
cd /opt/cdist
cd /opt/cdist
PATH=$PATH:/opt/cdist/bin
PATH=$PATH:/opt/cdist/bin
 
# if man pages are needed
# if man pages are needed
  yum install asciidoc
  yum install asciidoc
  ./build man
  ./build man
  export MANPATH=$MANPATH:$(pwd -P)/doc/man
  export MANPATH=$MANPATH:$(pwd -P)/doc/man
# endif
# endif
 
 
# You're done. just need to edit manifests and that's it.
# You're done. just need to edit manifests and that's it.




if you get "fatal: Not a git repository (or any of the parent directories): .git"
if you get "fatal: Not a git repository (or any of the parent directories): .git"
  - run `git init` on /opt/cdist
  - run `git init` on /opt/cdist

Revision as of 04:45, 15 April 2013

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-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
# endif


# You're done. just need to edit manifests and that's it.


if you get "fatal: Not a git repository (or any of the parent directories): .git"

- run `git init` on /opt/cdist