User Tools

Site Tools


userspace:centos_6.3

This is an old revision of the document!


CentOS release 6.3

These are my personal notes for installing OPSI on a CentOS 6.3 server, and may be of help to others.
Of course I also used the getting started documentation.
For installing the CentOS-6.3-x86_64-bin-DVD1.iso was used, because LiveCD iso's do not include minimal install options. It might still be possible, to do a minimal install with a LiveCD, but I was unable to do that. So this is about a minimal install, without any additional packages.

In the DHCP server on the network we use the mac address of the OPSI server to set a static lease. We also set extra options for the DHCP server, which should reflect your own network setup: dhcp-boot=linux/pxelinux.0,opsi.anarchy.lan,10.0.0.97
With a different DHCP server you will have to look for the correct commands.
(insert opsi1.jpg blah)
I use Spacewalk to manage my CentOS servers, so installation of packages and updates is done via Spacewalk. That is why the yum commands may be incorrect, I did not use them myself, and am making them up. In the getting started documentation is mentioned how to add the OPSI repository.

After installing CentOS we turn on the network by editing: /etc/sysconfig/network-scripts/ifcfg-eth0 ONBOOT=“no” should become ONBOOT=“yes”
After saving this file, we restart the network with this command: /etc/init.d/network restart Now the CentOS server gets the IP address which was set in the DHCP server. This saves a lot of trouble, no messing with resolv.conf and hostname -f returns the correct hostname.

We first install xinetd and samba, then we start their services and make sure they start again when rebooting the server:
yum install xinetd samba
/etc/init.d/smb start
/etc/init.d/nmb start
/etc/init.d/xinetd start
chkconfig smb on
chkconfig nmb on
chkconfig xinetd on
As you can see, mysql is not installed, but I do not have a license for the mysql-module, so we are going to use the file backend and do not need mysql. It might also be easier to configure if you do not have much experience.

yum install p7zip p7zip-plugins cabextract

userspace/centos_6.3.1360170203.txt.gz · Last modified: 2021/08/23 08:37 (external edit)