deploy postgres and munin with fabric
- install those software before this repository code.
- python
- pip
- fabric
- python
- Target Operating System is
- CentOS 7.0
- can use ~/.ssh/config settings.
- list usable fabric command
$ fab -l
- install and start process with postgres
$ fab -H [host_name] startup_postgres:[pg_version],[package_version],[os],[architecture]
- default
- OS: rhel7(CentOS7)
- PostgreSQL: 9.3.5
- architecture: x86_64
- default
- cleanup PostgreSQL environment
$ fab -H [host_name] postgres.remove_postgres
- install/uninstall orafce
fab -H [hostname] orafce.install
fab -H [hostname] orafce.uninstall
- running testcode in orafce
fab -H [hostname] orafce.test
you must install software “gcc, bison, flex” in test server and setting submodule when running this task.
sudo yum install -y gcc bison flex
git sumodule init
cd pg_tools/orafce
git checkout [TARGET_BRANCH]
- under construction…