How to install Apache Tomcat on CentOS/Fedora ?

installing Apache Tomcat on CentOS/Fedora 1. yum update 2. yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps java-1.6.0-openjdk-devel.i686 3. chkconfig tomcat6 on 4. chmod -R g+w /var/log/tomcat6 /etc/tomcat6/Catalina /var/lib/tomcat6/webapps/ /var/log/tomcat6/ /var/cache/tomcat6/temp /var/cache/tomcat6/work 5. /etc/init.d/tomcat6 start 6. /etc/tomcat6/tomcat-users.xml 7. <user name=”user” password=”password” roles=”manager” />

How to install OpenLDAP in Ubuntu ?

Installing OpenLDAP # yum -y install openldap openldap-clients openldap-servers # slappasswd hash : {SSHA}STr62WqLg0MAm1WQB+EgTH8X2yAuYo+P # cd /etc/openldap/slapd.d/cn\=config # vi olcDatabase\=\{2\}bdb.ldif configure : olcRootPW: {SSHA}STr62WqLg0MAm1WQB+EgTH8X2yAuYo+P olcRootDN: cn=Manager,dc=domainname,dc=net olcSuffix: dc=domainname,dc=net # vi olcDatabase\=\{1\}monitor.ldif configure : cn=Manager,dc=domainname,dc=net # vi olcDatabase\=\{2\}bdb.ldif Add these lines

Page 2 of 212