#centos

Conversion between Epoch / Timestamp / Date

Published 21st Aug 2011 // #centos #debian

Conversion between Epoch / Timestamp / Date Sometimes you have to quickly debug using timestamp and this site can help : http://www.epochconverter.com/

No space left on device et pourtant il reste de la place

Published 8th Aug 2011 // #centos #debian

No space left on device et pourtant il reste de la place Le problème J'avais été confronté à ce problème il y a quelques années et je viens de reperdre du temps ce matin de la même manière. Sur le Dockstar, j'essaye bêtement de créer un nouveau script à mettre dans la…

Install Oracle 10g on Centos 5.6

Published 17th Jun 2011 // #centos #oracle #tips

Install Oracle 10g on Centos 5.6 See : http://ivan.kartik.sk/oracle/install_ora10gR2_redhat.html The only thing you have to change is the startup scripts that does not correctly stop the service. With Centos it seems that the Kill script is not called if there is no file in /var/lock/subsys/. Instead you can use this one :…

Alternative to update-rc.d with Centos

Published 17th Jun 2011 // #centos #tips

Alternative to update-rc.d with Centos Add you file to /etc/init.d Make it executable : chmod +x /etc/init.d/YourFile Magic ... chkconfig --add YourFile --level 0356

How to modify your firewall (iptables) setting with Centos

Published 11th Jun 2011 // #centos #tips

How to modify your firewall (iptables) setting with Centos With GUI Yes it's easy but you can only have very simple rules. File modification You can directly modify the file generated by the GUI but beware never use the gui after or you'll loose everything. So to sum up : Modify the following file :

How to install a SMP aware bzip2 with Centos

Published 10th Jun 2011 // #centos #tips

How to install a SMP aware bzip2 with Centos Two alternatives PBZIP2 lbzip2 My choice Get the rpm : wget http://img.cs.montana.edu/linux/centos/5.6/dag/x86_64/lbzip2-0.23-1.el5.rf.x86_64.rpm Install it : rpm -ivh lbzip2-0.23-1.el5.rf.x86_64.rpm Enjoy (the usage is the same as bzip2)

Install Zabbix agent on Centos 5.6

Published 10th Jun 2011 // #centos #tips

Install Zabbix agent on Centos 5.6 get the rpms from here. In my case (x64 Centos) : wget http://repo.andrewfarley.com/centos/5/x86_64/zabbix-1.8.3-1.x86_64.rpm wget http://repo.andrewfarley.com/centos/5/x86_64/zabbix-agent-1.8.3-1.x86_64.rpm Install the dependencies : yum install openssl-devel Install the rpms : rpm -ivh zabbix-1.8.3-1.x86_64.rpm rpm -ivh zabbix-agent-1.8.3-1.x86_64.rpm Edit your configuration file (at least to change the server IP) : vi /etc/zabbix/zabbix_agentd.conf In my case I also had to change the