Posts Tagged ‘CentOS’

Install CentOS, Kloxo, WebMin from the command line

I’ve had this blog post sitting for too long and don’t have plans for finishing it, it still may help someone so I figured I’d release it.

CentOS isn’t installed from the command line but it’s an OS… the rest are installed from the command line using help I found online.

This install was done using CentOS 5.5 I386

Boot the CentOS cd and follow the prompts, they did a good job on what they are asking so just read carefully. The important thing is not to install anything kloxo will install what it needs.

Network section

  • Change your host name to something related to your domain and is easy to remember for your customers, server1.domain.com should work well.
  • Edit your IP address and click the radio button next to manual and enter your static IP address and netmask (subnet, commonly 255.255.255.0 for networks behind a firewall)

The rest is straight forward just uncheck everything and click next.

How to install vmware tools

  • mkdir /mnt/cdrom
  • mount /dev/cdrom /mnt/cdrom
  • cd /mnt/cdrom
  • tar -C /tmp -zxvf VMwareTools-5.5.3-34685.tar.gz
  • cd /tmp/vmware-tools-distrib
  • umount /dev/cdrom
  • ./vmware-install.pl
  • enter for each question

 howto-linux-bsd-unix-set-dns-nameserver

how to install kloxo 

  • su – root
  • vi/etc/sysconfig/selinux
    • change selinux to selinux=disabled
  • setenforce 0
  • /usr/sbin/sestatus – should return disable, go to lxcenter.org for help if it doesn’t
  • try rebooting before asking for help – shutdown -r now

how to setup slave dns go to admin->Administration->revers dns->dns config

shutdown the firewall then update your license, the license is free but you need to register

How to setup InstallApp

  • mkdir /home/kloxo/httpd/installsoft
  • /script/installapp-update

yum install wget – yes to all

http://wiki.lxcenter.org/How+to+secure+your+Kloxo+with+IPTABLES

install slave then run /script/resetpassword slave newpass then add server

Configure bind to point to itself

http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch18_:_Configuring_DNS

  • nano /etc/resolv.conf
  • update the nameserver to 127.0.0.1

find the url of the webmin version you want to install

fix wordpress permalinks – not sure I trust this

  • delete present .htaccess
  • upload blank .htaccess
  • chmod 666
  • set permalinks to desired
  • chmod .htaccess back to 644 for security
  • http://www.webmin.com/download.html

    rpm -ivh  webmin-1.400-1.noarch.rpm – how to install webmin on the command line

    How To: Disable Firewall on RHEL / CentOS / RedHat Linux

    http://wiki.lxcenter.org/Kloxo+Installation+Guide