2013年1月14日 星期一

[LDAP]安裝(Installation)

1.Required Software
     Standard C compiler (required)
     Cyrus SASL 2.1.21+ (recommended)
     OpenSSL 0.9.7+ (recommended)
     Reentrant POSIX REGEX software (required)

     Oracle Berkeley DB 4.4 - 4.8 or 5.0 - 5.1     

2.Download

     OpenLDAP :
        Offical Site:http://www.openldap.org/
        Documentation Download Page:http://www.openldap.org/doc/
        Source Code Download Page:http://www.openldap.org/software/download/
$ wget ftp://ftp.dti.ad.jp/pub/net/OpenLDAP/openldap-release/openldap-2.4.33.tgz

    SSL/TLS:
        Offical Site:http://www.openssl.org/
        Documentation Download Page: http://www.openssl.org/docs/
        Source Code Download Page:ftp://ftp.openssl.org/source/
$ wget ftp://ftp.openssl.org/source/openssl-1.0.1c.tar.gz


    Berkeley DB:
        Offical Site:http://www.oracle.com/us/products/database/berkeley-db/overview/index.html
        Source Code Download Page:http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html?ssSourceSiteId=ocomen

      SASL:
          Source Code Download Page:http://ftp.andrew.cmu.edu/pub/cyrus-mail/  
          Direct Download Link :ftp://ftp.cyrusimap.org/cyrus-imapd/cyrus-imapd-2.4.16.tar.gz 
$ wget http://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.25.tar.gz

2.Insatll

    SSL/TLS:
$ tar zxvf openssl-1.0.1c.tar.gz
$ cd openssl-1.0.1c
$ ./config shared --openssldir=/usr/local
$ make
$ su -c "make install"
    Berkeley DB:
$ tar zxvf  db-5.0.32.tar.gz
$ cd db-5.0.32/build_unix/
$ ../dist/configure  --prefix=/usr/local
$ make
$ su -c "make install"

$  \ls -l /usr/local/lib/libdb-*
-rw-r--r--. 1 max  max  2653808 Jan 15 11:57 /usr/local/lib/libdb-5.0.a
-rw-rw-r--. 1 max  max      933 Jan 15 11:56 /usr/local/lib/libdb-5.0.la
-rwxrwxr-x. 1 max  max  1704381 Jan 15 11:56 /usr/local/lib/libdb-5.0.so
lrwxrwxrwx. 1 root root      12 Jan 15 11:57 /usr/local/lib/libdb-5.so -> libdb-5.0.so
                  ※Confirm /usr/local/lib/libdb-5.0.so exist


    SASL:
 $ tar zxvf cyrus-sasl-2.1.25.tar.gz
$ cd cyrus-sasl-2.1.25/

$ ./configure
$ make
$ su -c "make install"su -c "ln -s /usr/local/lib/sasl2/ /usr/lib/sasl2"
              ※cyrus-sasl-2.1.26 can't compile

 
    OpenLDAP :
 $ tar zxvf openldap-2.4.33.tgz
$ cd openldap-2.4.33.tgz

$./configure --enable-wrappers
$ make
$ su -c "make install"su -c "ln -s /usr/local/lib/sasl2/ /usr/lib/sasl2"
             
   

[LDAP]LAB 環境

使用 YUM 安裝 LAB_A
HOST1:
Hostname:server_Y.mpsstudio.org
OS:Scientific Linux 6.3
RAM:1G  /  Storage:1G
IP:10.50.100.1  / 10.150.100.1


HOST2:
Hostname:server_slave_Y.mpsstudio.org
OS:Scientific Linux 6.3
RAM:1G  /  Storage:1G
IP:10.50.100.10  / 10.150.100.10

HOST3:
Hostname:client.mpsstudio.org
OS:Scientific Linux 6.3
RAM:1G  /  Storage:1G
IP:10.50.100.100  / 10.150.100.100

>>>>Back to Table of Contents

2013年1月13日 星期日

[LDAP]LDAP System Administration - Table of Contents

 Table of Contents
  • 基礎概念
  • LAB 環境
  • 安裝 
  • 設定
  • 操作
  • 資料庫管理
  • 安全性
    • Access Control
    • SASL
    • TLS
  • 整合應用
    • NIS
    • E-MAIL
    • Samba
    • FTP
    • HTTP
  • NET::LDAP
  • PERL
  • 維護(Maintenance)
  • 監控(Monitoring)
  • 效能調整(Performance Tunining)
  • 除錯(Troubleshooting)

2012年10月13日 星期六

[Learning Linux]Learning Linux - Expertise

系統管理(System Administration)

 

服務管理(Service Management)


專門技術(Expertise) 


   安全(Security)


   效能調教(Performance Tuning)


Reference 
About Linux Certification

[Learning Linux]Learning Linux - System Administrator

系統管理(System Administration)

  在CLI(Command Line Interface)環境下管理系統

    提示字串(Prompt String)
      PS1 (Prompt String 1)
      PS2 (Prompt String 2)
    變更loging shell

帳號管理

   /etc/passwd

服務管理(Service Management)



專門技術(Expertise)


Reference 
About Linux Certification

[Linux]About Linux Certification

    目前在台灣能見度較高的Linux 認證有 LPIC(Linux Professional Institute Certification) 及 Red Hat 兩大系統。

    LPIC 號稱為一中立的認證機構,其認證內容主要是在檢測考生對於Linux共通知識了解的程度,考試的方式是筆試。

    LPIC的認證到目前為止(2012.10.13)共分為 LPIC-1、LPIC-2、LPIC-3 三種等級,在LPIC的官方網站有詳細的說明,http://www.lpi.org/linux-certifications/programs

    Red Hat 的認證主要是針對Red Hat 所推出的產品,考試的方式是採實機測試。

    目前 Red Hat 推出的認證與Linux 系統管理相關的共有RHCSA(Red Hat Certified System Administrator)、RHCE(Red Hat Certified Engineer)、RHCA(Red Hat Certified Architect)、
RHCVA(Red Hat Certified Virtualization Administrator)、RHCSS(Red Hat Certified Security Specialist)等,詳細的資訊可從官方網站取得,https://access.redhat.com/knowledge/articles/133273

[Linux]Reference

  • Linux System Administration Recipes:A Problem-Solution Approach
    (writer:Juliet Kemp)
  • Expert Shell Scripting   (writer:Ron Peters)
  • Linux Shell 程式設計實務  (writer:臥龍小三)
  • Linux Shell Scripting Cookbookl  (wruter:Sarath Lakshman)
  •  

Powered By Blogger