Nagios is software monitoring. It can monitor server uptime, service, and so on. For more details, you can go here.
To install nagios, follow step below:
Wednesday, December 31, 2014
Install Nagios from Sources in CentOS 6.X
Wednesday, December 24, 2014
Set and Remove Proxy for Git
To set Proxy into git, do this step
- Open git console
- Type this
git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080Where:
git config --global https.proxy https://proxyuser:proxypwd@proxy.server.com:8080
- proxyuser is username for proxy
- proxypwd is proxy password for the username
- proxy.server.com is address of the proxy. It can be IP address.
- 8080 is proxy port. You can change it based on your proxy configuration
git config --global http.proxy http://proxy.server.com:8080If you want to unset proxy, just do this:
git config --global https.proxy https://proxy.server.com:8080
git config --global --unset http.proxy
git config --global --unset https.proxy
Saturday, December 13, 2014
Import Mysql Dump into PostgreSQL Ubuntu
First, you must dump mysql with command below
After that, you need to convert sql into psql. You can go github repository here.
After you get psql format, than you can import with
mysqldump --compatible=postgresql --default-character-set=utf8 -r nama_file.sql -u root -p db_nameIf you don't need mysql password, please remove "-p"
After that, you need to convert sql into psql. You can go github repository here.
After you get psql format, than you can import with
psql -U postgres -h localhost -d database_name -f nama_file.psql
Subscribe to:
Posts (Atom)