Friday, April 11, 2014

Install webmin on CentOS 5.8



On CentOS 5.8 make sure that iptables is either turned on, or you have port 10000 (default) open to be accessed
If you do not have wget installed on your CentOS box, type:  yum install wget
from there download and install Webmin from sourceforge by using the following command:

wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580-1.noarch.rpm

once downloaded, run the following command to install:

rpm -i webmin-1.580-1.noarch.rpm

this should take a minute or so for it to install.
once installed successfully browse to https://ipaddress:10000, log in with your root username/password


*note* if you are installing on a higher version of CentOS like 6.2 do not use https, use normal http

That’s It!

Join CentOS to active directory domain 2008R2

Join CentOS to active directory domain 2008R2
Joining a Linux Server to a windows domain is one of the more advanced tasks in Linux administration, however can be accomplished with the help of a few simple tools
login as root

install the per-requisites

once installed, the fun can begin, open authconfig-tui util

configure exactly as shown on the screen

now part 2 (customize for your domain)

make sure it’s not set to /sbin/nologin otherwise domain users will not have shell access

save the config (unless you like typing)
now enter your windows domain administrator password (only works with administrator)

sweet! Joined the domain successfully

now from here reboot – of course with anything related to windows :)
you should notice a object in Active Directory Users & Computers

to login as a domain user use the following DOMAIN/username

now we’re cook’n with gas!
from this point on Users/Groups are referenced user@DOMAIN, and groups are DomainAdmins@DOMAIN (if you are doing samba shares)

that’s it!