This guide will help you setup WikiMedia on http://<IP or hostname>/wiki .
1] Setup CentOS 6 64-bit as in guide (http://blog.malaya-digital.org/setup-a-minimal-centos-6-0-64-bit-setup-with-networking/).
2] "yum update"
3] "vi /etc/sysconfig/selinux" and set "SELINUX=disabled".
4] "setenforce 0"
› Continue reading...

1] Do everything below as root. If you need help to setup networking in a minimal CentOS 6.2 installation, please visit http://blog.malaya-digital.org/setup-a-minimal-centos-6-0-64-bit-setup-with-networking/.
2] Make sure selinux is disabled.
3] "yum install httpd php pcre php-mysql php-pear php-pecl-apc mysql-server ImageMagick sendmail php-intl wget system-config-firewall-tui"
4] "service mysqld start"
5] "/usr/bin/mysql_secure_installation"
› Continue reading...

1] rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
2] yum install ssmtp
3] cd /etc/ssmtp
4] mv ssmtp.conf ssmtp.conf.orig
5] vi /etc/ssmtp.conf

AuthUser=<your Google username>@gmail.com
AuthPass=<your password>
FromLineOverride=YES
mailhub=smtp.gmail.com:587
UseSTARTTLS=YES

6]To test: echo "Testing" | mail -s "Test Email" (your e-mail address)

NOTE: I tried this on my Nagios setup as described here: http://blog.malaya-digital.org/setup-a-minimal-centos-6-64-bit-nagios-server-configure-a-centos-6-64-bit-nagios-nrpe-client/ .

1] Login as root.
2] "yum install perl-Net-XMPP"
3] Download notify_via_jabber , and save it to /usr/lib64/nagios/plugins .
4] "vi /usr/lib64/nagios/plugins/notify_via_jabber", look for the following 2 lines, and adjust properly.

my $username = "your.google.username";
my $password = "your.google.password";

› Continue reading...

1] Setup a minimal CentOS 6.2 64-bit.

2] Setup networking. I used the "192.168.1.0/24" network. Here's my guide for setting up networking: http://blog.malaya-digital.org/setup-a-minimal-centos-6-0-64-bit-setup-with-networking/

3] Login as root.

4] Turn off selinux by issuing in a shell as root:
# setenforce 0
... and then editing /etc/sysconfig/selinux to set:
SELINUX=disabled

› Continue reading...

To setup a minimal CentOS 6 64-bit Nagios server:
1] Setup CentOS 6 64-bit as in guide (http://blog.malaya-digital.org/setup-a-minimal-centos-6-0-64-bit-setup-with-networking/).
2] "yum update"
3] "vi /etc/sysconfig/selinux" and set "SELINUX=disabled".
4] "setenforce 0"
5] "shutdown -r now"
6] "rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm"
7] "yum install nagios nagios-plugins nagios-plugins-all nagios-plugins-nrpe php php-pear mod_ssl net-snmp net-snmp-utils sendmail"
› Continue reading...

To setup the server:
1] Setup CentOS 6 64-bit as in guide (http://blog.malaya-digital.org/setup-a-minimal-centos-6-0-64-bit-setup-with-networking/).
2] "yum update"
3] "shutdown -r now"
4] "yum install nfs-utils rpcbind system-config-firewall-tui"
5] "vi /etc/sysconfig/selinux" and set "SELINUX=disabled".
6] "setenforce 0"
› Continue reading...

Older posts » Back to top