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
- 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
- su – root
- wget http://download.lxlabs.com/download/kloxo/production/kloxo-install-master.sh
- sh ./kloxo-install-master.sh
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
http://www.webmin.com/download.html
rpm -ivh webmin-1.400-1.noarch.rpm – how to install webmin on the command line