1. Skip to Menu
  2. Skip to Content
  3. Skip to Footer>
Image 1

WE Solutions / Our services

  • Previous
  • Next
  • Stop
  • Play

SAMBA/LDAP

Thin Client Server

Postfix Mail Server

Postfix Mail Server

HA Clustering

Sendmail-Fedora

PDF Print E-mail

Written by Mr. Sontaya Photibut Saturday, 02 May 2009 22:07

การติดตั้ง Sendmail บน Fedora Core 5.

บทนำ
ต่อ ไปนี้เป็นตัวอย่างขั้นตอนการเซ็ต Mail Server ที่เป็น Sendmail บน Fedora Core 5 ให้ทำงานร่วมกับ squirrelmail ที่ต้องเชื่อมต่อเมล์เซิร์ฟเวอร์ผ่าน IMAP และจะกล่าวถึงการทำให้โปรแกรม Mail Client อย่างเช่น Outlook, Kmail, Mozilla mail ฯลฯ สามารถรับส่งเมล์ได้โดยผ่านโปรโตคอล POP3 หรือ IMAP โดยโปรแกรมที่เป็น IMAP & POP3 Server จะใช้ของ Dovecot รวมถึงการติดตั้งโปรแกรม Antivirus ที่เป็น Clamav และโปรแกรมป้องกันสแปมที่เป็น Spamassassin ด้วย

ขั้นตอนการติดตั้ง
การติดตั้งขอติดตั้งผ่านเมนู Add/Remove Applications ซึ่งประกอบด้วยโปรแกรมต่อไปนี้

  1. โปรแกรม Sendmail ประกอบด้วยโปรแกรม Semdmail และโปรแกรม Sendmail-cf โดย Sendmail-cf เป็นไฟล์คอนฟิกกูเรชันของโปรแกรม Sendmail ใช้กำหนดหน้าที่การทำงานต่าง ๆ
  2. โปรแกรมที่ทำหน้าที่เป็น IMAP & POP3 Server ซึ่งขอใช้เป็นโปรแกรม dovecot (Dovecot Secure imap server)
  3. โปรแกรม Web-based email ที่เป็น Squirrelmail
  4. โปรแกรมป้องกันสแปมที่เป็น spamassassin
  5. สำหรับโปรแกรมป้องกันไวรัส clamav ผู้เีขียนขอติดตั้งด้วยการ Download โปรแกรมจากเว็บมาติดตั้งด้วยคำสั่ง rpm ครับ

Image

โปรดระวัง จากรูปข้างบนนี้อย่า remove โปรแกรม cyrus-sasl ออกนะครับ เพราะจะส่งผลให้ลบ sendmail และ squirrelmail ออกไปด้วย

การคอนฟิก Sendmail

  1. แก้ไข ไฟล์ /etc/mail/sendmail.mc ในบรรทัดที่เขียนว่า DAEMON_OPTIONS(‘Port=smtp,Addr=127.0.0.1, Name=MTA’) ให้เปลี่ยน 127.0.0.1 เป็น 0.0.0.0 เพื่อเปิดกว้างให้ทุกคนสามารถใช้ Sendmail (SMTP) ได้ แล้ว run macro ดังนี้:

    #make -C /etc/mail

Image

Image

หมาย เหตุ ไฟล์ sendmail.mc เป็น macro file ซึ่งเมื่อเราแก้ไขค่าในไฟล์นี้แล้วและใช้คำสั่ง make -C /etc/mail ก็จะทำให้มีการเปลี่ยนแปลงค่าในไฟล์คอนฟิกคือไฟล์ sendmail.cf ตามที่เราสั่งจากไฟล์มาโคร ซึ่งจริง ๆ แล้วเราสามารถทำการคอนฟิกตรงที่ไฟล์ sendmail.cf ได้เลย แต่การคอนฟิกจากไฟล์มาโครอาจจะสะดวกกว่าครับ

กำหนดว่าจะอนุญาตให้ เครื่องหรือเครือข่ายไหนมารีเลย์ผ่าน smtp ของเราได้บ้าง โดยให้กำหนดที่ไฟล์ /etc/mail/access ซึ่งอาจมีข้อความเป็น 3 บรรทัดแรกของรูปข้างล่าง ส่วน 3 บรรทัดล่างเป็นส่วนที่ผู้เขียนเพิ่มเข้าไปใหม่เพื่ออนุญาตให้เครือข่ายของ ผู้เขียนที่มี IP ขึ้นต้นด้วย 202.129.16, 172.24.51, 61.19 สามารถใช้งานได้
หมายเหตุ ในกรณีระบบเมล์ของท่านไม่สนับสนุนการใช้งานเมล์ผ่านโปรแกรม Mail Client อย่าง Outlook , Kmail, Mozilla mail ฯลฯ ก็ไม่ต้องเซ็ตในข้อนี้นะครับเพราะค่า default ของการรีเลย์มีการอนุญาตให้สำหรับ localhost.localdomain, localhost, 127.0.0.1 อยู่แล้ว ซึ่งการใช้สำหรับ Web-based email ที่เป็น squirrelmail ก็สามารถใช้งานได้โดยไม่ต้องทำข้อนี้ครับ

Image

จากนั้นให้แปลงข้อมูลจาก access ไปเป็น access.db ดังนี้ :

#makemap hash access < access

Image

3. กำหนดโดเมนที่จะรับ mail เป็นการกำหนดว่าจะให้โดเมนไหนรับเมล์ได้บ้าง โดยให้ใส่ชื่อโดเมนที่จะยอมรับเมล์ในไฟล์ /etc/mail/local-host-names ซึ่งในที่นี้เราจะอนุญาตให้รับเมล์ของโดเมน itwizard.info ก็ให้เพิ่มค่าโดเมนดังกล่าวเข้าไปในไฟล์ /etc/mail/local-host-names ดังนี้

Image

4. ทำการ start หรือ restart โปรแกรม Sendmail โดยอาจจะทำผ่าน GUI หรืออาจใช้คำสั่งดังนี้ :

#service sendmail restart

การคอนฟิกโปรแกรม IMAP & POP3 Server (Dovecot)
ไฟล์ คอนฟิกของ Dovecot คือไฟล์ /etc/dovecot.conf ซึ่งในที่นี้ผู้เขียนใช้ค่าคอนฟิกที่เป็น Default ก็สามารถใช้งานได้ทั้งที่เป็นแบบ Webmail (Squirrelmail) และใช้กับ Mail Client ซึ่งค่าที่สำคัญของการคอนฟิกก็อาจจะเ็็ป็นค่าที่ำกำหนดว่าจะบริการโปรโตคอ ลอะไรบ้างดังรูป ซึ่งผู้เขียนเข้าใจว่าค่า Default จะเป็นการบริการทุกโปรโตคอลที่เกี่ยวข้องคือ imap, imaps, pop3 และ pop3s และถ้าต้องการจะบริการเฉพาะบริการโปรโตคอนไหน ก็ให้เอาเครื่องหมาย # หน้าคำว่า protocols ออกป้อนเฉพาะโปรโตคอลที่ต้องการเท่านั้น

Image

สำหรับ ค่าคอนฟิกอื่น ๆ ของ Dovecot ผู้เขียนไม่ขอกล่าวถึงนะครับ ใครต้องการจะใช้ฟังก์ชันที่ Advanced มากกว่านี้ก็ขอให้ศึกษาเองก็แล้วกัน

และสำหรับการ restart บริการของ Dovecot สามารถใช้คำสั่ง service dovecot restart ดังรูปได้

Image

การคอนฟิกโปรแกรม Squirrelmail

  1. เปลี่ยนไดเร็คทอรี่เข้าไปยังตำแหน่งที่มีไฟล์คอนฟิกของ Squirrelmail ดังนี้
    cd /usr/share/squirrelmail/config
  2. รันไฟล์ที่ใช้ในการคอนฟิกคือ conf.pl ดังนี้
    ./conf.pl

Image

3. จากนั้นก็ปรับค่าคอนฟิกที่จำเป็นซึ่งของผู้เขียนเริ่มต้นจากข้อ 1 คือ Organization Preferences ดังรูป

Image

4. จาำกนั้นก็เลือกเมนูข้อ 2 คือ Server Settings ซึ่งตรงนี้จำเป็นต้องกำหนดค่าของ Domain เพราะจะถูกแสดงในรายละเอียดของเมล์ที่ส่งไปยังผู้รับว่ามาจากโดเมนไหน

Image

5. จากนั้นผู้เขียนขอเลือกเมนูข้อ 4 เิพื่อกำหนดให้ Hide SM attributions เป็น true

Image

6. และสุดท้ายผู้เขียนเลือกเมนูข้อ 10 เพื่อกำหนดค่าของภาษาให้เป็นไทยดังรูป

Image

7. และสุดท้ายให้เลือกเมนู S เพื่อ Save data ซึ่งผลของการปรับเปลี่นค่าของคอนฟิกทั้งหมดจะอยู่ที่ไฟล์ /usr/share/squirrelmail/config/config.php

การคอนฟิก Spamassassin
ใน ที่นี้ขอใช้ตัวช่วยนะครับให้ลอง Search หาคำว่า How to config spamassassin จาก Google จากนั้นจะเจอเว็บไซต์ที่เ็ป็น SpamAssassin Configuration Generator จากเว็บไซต์ http://www.yrex.com/spam/spamconfig.php ซึ่งเป็นเว็บไซต์ที่เป็นเครื่อง มือสำหรับอำนวยความสะดวกในการสร้างไฟล์

คอนฟิกของ Spamassassin แบบอัตโนมัติ

  1. ทำการเลือกค่าต่าง ๆ ตามคำแนะนำ และตามระดับขั้นที่้ต้องการ
  2. เืมื่อเลือกค่าทุกอย่างแล้วก็คลิ๊กปุ่ม Generate the Configuration File
  3. จาก นั้นก็จะได้ค่าของไฟล์คอนฟิกของ Spamassassin ดังรูป ซึ่งเราสามารถดาวน์โหลดหรือจะก็อปปี้ไป Paste ในไฟล์คอนฟิกของ Spamassassin ก็ได้

Image

4. ไฟล์คอนฟิกของ Spamassassin จะเป็นไฟล์ /etc/mail/spamassassin/local.cf (สำหรับ system-wide configuration) หรือ ~user/.spamassassin/user_prefs (สำหรับ individual user) ซึ่งในที่นี้ผู้เขียนขอคอนฟิกเฉพาะ system-wide configuration (/etc/mail/spamassassin/local.cf) ก็ให้ก็อปปี้ค่าคอนฟิกที่ถูก Generated ขึ้นมาไปไว้ในไฟล์ดังกล่าว แต่เพื่อความปลอดภัย อาจจะต้องสำเนาไฟล์ต้นฉบับไว้ก่อนก็ดีนะครับ


5. จากนั้นเราสามารถ restart การทำงานของ spamassassin ได้ดังรูป

Image

การติดตั้ง ClamAV

1. ดาวน์โหลดโปรแกรมจากเว็บไซต์ www.clamav.net โดยใ้ห้เลือกหัวข้อที่เป็น binary packages and ports

Image

2. เลือกดาวน์โหลดสำหรับ RedHat - Fedora ดังรูป แล้วเลือก Fedora5

Image

3. จากรูปข้างล่างจะเห็นว่ามีโปรแกรมอยู่หลายโปรแกรม แ้ล้วจะต้องติดตั้งตัวไหนบ้าง ล่ะ ?

Image

4. ให้อ่านข้อมูลในไฟล์ clamav.spec ก็จะรู้ว่าแต่ละไฟล์ทำหน้าที่อะไรบ้างดังนี้

  1. clamav (clamav-0.88.4-1.i386.rpm ) ซึ่งมีชื่อทาง service เป็น frechclam

    Clam AntiVirus เป็น GPL anti-virus toolkits for UNIX จุดประสงค์หลักของ Software อันนี้คือเพื่อรวมกับ Mail Server (attachment scanning) ซึ่งคุณสมบัติของ Package จัดให้ีมี :

    1. a flexible and scalable multi-threaded daemon
    2. a command line scanner
    3. and a tool for automatic updating via Internet

    โดย โปรแกรมจะอาศัย shared library ที่ถูกเผยเพร่กับ Package ซึ่งคุณสามารถใช้ซอ์็ฟแวร์ด้วยตัวคุณเอง ที่สำคัญที่สุด ฐานข้อมูลไวรัส (virus database) ต้องทันสมัย (up to date) อยู่เสมอ

  2. clamav - milter : This package contains ClamAV's sendmail filter using MILTER interface.
    ซึ่งผู้เขียนได้ลองติดตั้งโปรแกรมตัวนี้แล้วแต่บอกตรง ๆ ครับว่ายังใช้งานไม่เป็นครับ ในที่นี้จึงไม่ขอกล่าวถึง

  3. clamav - server : clamd an anti-virus daemon
    This package contains clamd. The daemon listens for incoming connections on Unix or TCP socket and scans files or directories on demand.

  4. clamav - devel : Development header files and libraries
    This package contains the development header files and libraries necessary to develope your own clamav based applications.

  5. clamav - db : virus patterns DB
    This package contains the virus patterns database. You need this package only on systems not connected to internet. In all other cases get the new, fresh and actual version from net. Run command 'freshclam --verbose' as root.
5. สรุปแล้วในที่นี้โปรแกรมที่จำเป็นสำหรับผูเีขียนมี 2 ตัวคือ
  1. clamav-0.88.4-1.i386.rpm (freshclam)
  2. clamav-server-0.88.4-1.i386.rpm (clamd)

6. ทำการติดตั้งโปรแกรม clamav ดังรูป

Image

จากรูปจะเห็นว่าเมื่อมีติดตั้งโปรแกรมเสร็จแล้วโปรแกรมจะมีการดาวน์โหลดฐานข้อมูลไวรัสโดยอัตโนมัติเพื่อให้รู้จักกับ

ไวรัสตัวใหม่ได้

และถ้าเราจะเรียกใช้โปรแกรมตัวนี้เพื่อการอัพเดตฐานข้อมูลไวรัสเองก็สามารถเรียกได้ด้วยการเรียกไฟล์ /usr/bin/freshclam ดัีงรูป

Image

7. ทำการติดตั้งโปรแกรม clamav-server (มีชื่อ service เป็น clamd) ดังรูป

Image

8. เพื่อให้รู้ว่าโปรแกรมที่เราติดตั้งไปแล้วได้ติดตั้งส่วนต่าง ๆ ของโปรแกรมไว้ที่ไหนบ้างก็สามารถดูได้ด้วยการใช้คำสั่ง ดังรูป

Image

จากรูปจะเห็นว่ามีการสร้างไฟล์ /etc/cron.daily/freshclam ซึ่งเข้าใจว่าเป็นการตั้งเวลาให้มีการ update ไวรัส

9. การทดสอบ clamav แบบ manual
เราสามารถใช้คำสั่ง clamscan ซึ่งเป็นโปรแกรมสแกนไวรัสสำหรับไฟล์และไดเร็คทอรี่ ซึ่งมีรูปแบบของคำสั่งดังนี้ :
clamscan [options] [file/directory/-]

เช่น
clamscan -r /home/<user>

Image

10. ในกรณีที่ต้องการให้โปรแกรม freshclam และ clamd มีการ start service ทุกครั้งเมื่อมีการเปิดเครื่องเราสามารถใช้คำสั่ง chkconfig ได้ดังนี้ :

# chkconfig freshclam on
# service freshclam start
# chkconfig clamd on
# service clamd start

Image

11. โปรแกรมทั้งสองมีชื่อใน Service ของระบบว่า clamd และ freshclam ดังรูป

Image

Finish.

ที่มา : โดย : อดิศร ขาวสังข์


Comments (0)Add Comment

Write comment

security code
Write the displayed characters


busy
 

SUSE Linux Enterprise Cool Solutions

  • ovpnstatd
    license: 
    GNU General Public License

    About:

    How 'ovpnstatd' works.

    ovpnstatd is a status collector daemon for OpenVPN. ovpnstatd can be started either interactively at the console or as a daemon in the background (--daemon).

    Use "--help", to get a brief listing of available options.

    If started interactively, all connected users and their update-events will be shown on the console-display. This start-mode is merely meant for testing/debugging.

    A tcp-port (50505) will be opened, by which a very simple but useful web page can be viewed (http://yourhost:50505). There you get an entry for every OpenVPN-user, whose status-data is available as a result of a connect-event since ovpnstatd's startup. Users who are online, appear as a light-green(ish) entry, disconnected users are shown in grey/white.

    The web page will remain empty, as long as no users have connected since startup of ovpnstatd.

    The web page is intended for internal (administrator) use only - no "mass media", as ovpnstatd is not a multi-threaded program.

    Should ovpnstatd already be running in the background, then you would have to change the port number (--tcp-port <NNNNN>) for your interactive session (if you really want it twice).

    Only if started as daemon, ovpnstatd will serve its main purpose, it will collect data of all connect, disconnect, update events, which are reported by any OpenVPN server-process, and write history in csv-format, that can easily be loaded into a database or viewed in a spread-sheet.

    In the same time, this data is also written to a FIFO-file "/<status_dir>/send_nsca_data" (/var/run/openvpn/send_nsca_data) in a format suitable for nagios's "send_nsca" utility.

    The default location, where collector-data is written, is /srv/www/apps/ovpnstat/datacol - it can be changed with:
    "--collect-dir <path-to-your-collector-directory>".

    The location where event-data of OpenVPN-hooks is expected, is "/var/run/openvpn". This can be changed with the option:
    "--status-dir <path-to-Your-status-directory>".

    NOTE: For this to work, you also have to turn on status-logging in OpenVPN config-file(s): "status <path-to-status-data.status>" AND activate the hooks: "client-connect <your-con-script.sh>" and: "client-disconnect <your-dis-script.sh>"

    Into the hook-script "your-script.sh" simply place/add the following echo command:

    into "client-connect.sh" add the lines
    echo -e "OVPN_PID=$PPID\n`env`" \
    >/var/run/openvpn/${common_name}.con

    into "client-disconnect.sh" add the lines
    echo -e "OVPN_PID=$PPID\n`env`" \
    >/var/run/openvpn/${common_name}.dis

    NOTE: The extension of hook output-files has to be
         .con for client-connect data-files
         .dis for client-disconnect data-files
         .status for status data-files given in OpenVPN config-file
    otherwise those files will not be recognized by ovpnstatd.

    You can display your favoured icon as a header of the web page.

    As default for this, a built-in OpenVPN-icon is displayed.

    If you want to replace the default icon in the source (ovpnstatd.h) look for variable "def_web_img64" and substitute its assignment by the output of "base64 -w0 <your-preferred-image>".
    But only take tiny images for this !!!

    If the TUN/TAP device driver control is not "/dev/net/tun" on your Linux-System, change it with: "--dev-node <Your tun/tap ctrl>"

    In case you want to raise the debug-level, use "--debug <N>"
    Level 0 = off, 1 = default, 2 = all

    Installation:

          # assuming that You've downloaded the tar-file to /usr/local/src
          # proceed als follows:
    
          cd /usr/local/src
          tar -xjvf ovpnstat.tar.bz2
          cd ovpnstat
          make clean
          make
    
          # Now for a test start openvpn status collector daemon interactively :
          bash ovpnstatd-test.sh
          
          # If You got an OpenVPN server up and running on the same host
          # then You can already take a look on the web-page
    
          firefox http://your-host-name:12345/
    
          # But NOTE: ovpnstatd must run on the SAME HOST, where openvpn-server is on
    
          # Also note, that collector-data is only written, if the program
          # is started in the background (--daemon ) .
    
          # So to start it for "normal" usage copy file into place:
          cp init-ovpnstatd /etc/init.d/ovpnstatd
          cp ovpnstatd /usr/sbin/ovpnstatd
    
          # only if You want to send data to Nagios, otherwise leave this away:
          cp send_nsca.sh
    
          # You also will have to create the collector directory
          # if this location does not meet Your needs, just modify STARTOPTS
          # in /etc/init.d/ovpnstatd and set --collect-dir to Your favoured 
          mkdir -p /srv/www/apps/ovpnstat/datacol
    
          # then start openvpn status daemon
          /etc/init.d/ovpnstatd start
    	  
    	  

    Special hints:

    Regarding Nagios NSCA:

    Before you use the Nagios notification script "send_nsca.sh", you need to edit it - change the ip of the Nagios host therein - have a look if all the path-names are suiting your needs - AND install the "send_nsca" binary. It comes with package nagios-nsca-<version>

    Once you have installed nagios-nsca on the Nagios server, you may just copy send_nsca from there to your openvpn-server (including its config-file) - that's all it needs.

    Also add a Nagios configuration - a hostname entry for your openvpn-server where ovpnstatd will be running (must match exactly the output of 'hostname' and a service entry for each common-name (service_description must match common-name), that you want to monitor passively.

    An example of a passive service config also is included here.

    Regarding collector data:

    The collector data is in csv format which allows you to easily load it into some database for your own web application.

    Bugs (and the like creepers):

    ovpnstatd is tested valgrind-clean and is running stable since quite a couple of months now on my openvpn-server.

    AttachmentSize
    ovpnstat.tar.bz255.34 KB
  • supportconfig for Linux
    download url: 
    http://download.opensuse.org/repositories/Novell:/NTS/SLE_10/noarch/
    license: 
    GPLv2
    home page url: 
    http://en.opensuse.org/Supportutils

    Description

    The updateSupportutils command compares the current versions of supportutils and its plugins to those installed on your server. Those that are outdated or missing are automatically downloaded and installed. Only those plugins that apply to your server are installed. The command supports creating a weekly or monthly cron entry to automatically check and update the supportutils package and its plugins. Click here to see a list of the current supportutils and plugin packages. The updateSupportutils command help screen follows:

    ################################################################
    # Supportutils Auto Update Client
    ################################################################
    
    Usage: updateSupportutils [OPTION]
    
    Description
      Makes sure the supportutils and supportutils plugin packages are
      installed and current.
    
    Options
      -m  Install a monthly cron for updateSupportutils
      -w  Install a weekly cron for updateSupportutils
      -d  Delete all installed cron entries for updateSupportutils
      -l  List all cron entries for updateSupportutils
      -u  Force RPM update on applicable packages
      -p  Exclude supportutils plugin packages
      -v  Verbose mode
      -h  This screen

    Note: Detailed system information and logs are collected and organized in a manner that helps reduce service request resolution times. Private system information can be disclosed when using this tool. If this is a concern, please prune private data from the log files. Several startup options are available to exclude more sensitive information. Refer to the supportconfig(8) man page to see these options.

    Update Instructions

    Run updateSupportutils as root.

    If you do not already have the supportutils-plugin-updater package installed, refer to the Installation Instructions below. If your server does not have network connectivity to http://download.opensuse.org, then install using the Option B (Manual) method.

    Installation Instructions

    Option A (Automated)

    1. Download the supportutils-plugin-updater
    2. Login as root
    3. Install the updater package
      # rpm -Uvh supportutils-plugin-updater-*.noarch.rpm
    4. Run updateSupportutils as root
      # updateSupportutils

    Option B (Manual)

    1. Download the supportutils and any applicable supportutils plugin packages for your server.
    2. Login as root
    3. Install the supportutils-X.XX-XX.XX.noarch.rpm
      # rpm -Uvh supportutils-X.XX-XX.XX.noarch.rpm
    4. Install the supportutils-plugin-*-X.X-X.X.norarch.rpm packages you want
      # rpm -Uvh supportutils-plugin-*-X.X-X.X.norarch.rpm

    Using Supportconfig

    To upload a supportconfig to Novell, run supportconfig -ur $srnum; where $srnum is your 11 digit service request number. You can also just run supportconfig for local use. By default, supportconfig saves its information in /var/log/nts_hostname_date_time.tbz.

    Consider using the Novell Support Advisor to perform an initial analysis of your servers. It will generate an HTML report that links you to Technical Information Documents that directly relate to any server issues identified.

    Reporting Bugs

    Updates to Supportconfig Version 2.25-320:

    • Fixed HA error when cibadmin -Q doesn't connect
    • Fixed ldapsearch search on non-default port
    • Added systool base output to sysfs.txt
    • Added getappcore tool to gather application core files
    • Added analyzevmcore tool for kernel core analysis
    • Supportconfig includes analyzevmcore files in crash.txt
    • /etc/services included in network.txt

    Updates to Supportconfig Version 2.25-314:

    • Changed to systool for sysfs.txt
    • Added local binary list to rpm.txt
    • Added nlvm to novell-nss.txt for OES11
    • Updated copyright years
    • Added curl check for update registrations to update.txt
    • Fixed conf file execution in plugins directory
    • Added a supportconfig summary in summary.xml
    • Added /etc/init.d/halt.local to boot.txt
    • Added OPTION_UFILES for fs-files-additional.txt. [see supportconfig.conf(5)]
    • Fixed fslist_info order
    • Added kdump rpm check for sles11sp1
    • Added plugin-icommand to scplugin.rc for internal bash commands
    AttachmentSize
    supportutils-plugin-updater-1.0-19.1.noarch.rpm6.99 KB
    supportutils-1.20-59.1.noarch.rpm107.48 KB
  • Deploying Linux images can be fun!

    Johannes Renner, one of the developers in our SUSE Manager team, recently posted a very useful blog post about using SUSE Studio to create Linux images. The latest update for SUSE Manager makes this a lot simpler.

    He wrote:

    You already know that it’s possible to use SUSE Studio for creating Linux images that will automatically register with SUSE Manager once deployed to a virtual host and booted for the first time.

    From now on you can make use of this feature in a much more convenient way. The final piece of the integration between the two SUSE products is now included with the latest update for SUSE Manager.

    Starting up a new virtual system using SUSE Manager can now be simplified to the following steps:

    1. Choose the image from a list.
    2. Specify deployment parameters.
    3. Go for it.

    For the details, read this post.

  • ATT Live - Last Call

    As the event owner for ATT Live, I want to reach out and extend one last invite to this year's ATT Live conference in Las Vegas Nevada - May 15th-18th. For as long as I can remember, this has been a December conference, with an occasional repeat in the early spring based on demand. However, this year... the sunshine and warm weather of May are awaiting us in Vegas, and it could not be more welcomed!

    If you have not attended ATT Live in the past 10 years, I encourage you to check it out. You can link to the live landing page at www.novell.com/attlive. Over the years, we have made this the premier technical conference and each year we listen to our attendee's feedback making each year an improvement on the previous. This year is no exception!

    I wanted to share some highlights of this year's conference for your consideration, and if you are looking for that last attempt to get approval these things might just help.

    • Additional hands-on sessions - We have extended our tracks from 10 to 12, offering a good mix of sessions across the three Business Units. You will find 6 tracks focused on Novell ZENworks, Open Enterprise Server and GroupWise. Three tracks on NetIQ, both legacy Novell Identity and Security products and legacy NetIQ products, giving you a great opportunity to explore some new products in this space, and last, but not least, three full tracks on Suse Linux. Check out the full schedule here - http://www.novell.com/training/attlive/sessions.html
    • We have invited more product experts - In order to extend our tracks, we have invited more services employees to help deliver these sessions, adding their product knowledge and real world experience to the sessions. Product managers will also be coming to explore product roadmaps and take your feedback back to the office.
    • Certification and Practicum - Whether you are seeking certifications to validate your knowledge, seek a career advancement or just test your knowledge, certification has been included in the price of the event. We ran out of seats last year, so we opened up more sessions this year to make sure all those wanting a chance to test, have the chance. The Linux practicum will also be available in limited slots to help you get that professional Linux certification. Of course we would want you to pass, but because there is no additional charge, no one has to know if you fail.... nothing is harder than submitting a failed exam on your expense report.
    • More food, more afternoon sleeping - The M resort is known for its excellent food, buffets, and restaurants, so we are taking what worked well for us last year and have extended our buffet vouchers for lunch, giving you your choice and quantity of food, not ours. If you have any complaints on the food, you can only blame yourself for filling up your plate with the wrong things.
    • First ever Alumni event, a thanks to those who always support us - If you are an ATT Live Alumni we want to welcome you to our first Alumni event on Tuesday night. We are excited to have the M Resort open up the Winery for our use. Make sure if you are registered that you plan to join us on Tuesday night. Check out the venue here - http://www.themresort.com/dining/hostilegrape.html
    • Low travel costs. Vegas always offers the most affordable travel costs of anywhere I know. Seems you get more for your money when you keep it in your pocket and off the tables. However, I thank those that put the money down, seems to keep the expenses for the rest of us to a minimum (as if... I keep my money in my wallet). We have worked hard to keep the costs of the hotel down, with a low rate, and travel to and from the airport included.

    There are plenty of reasons for coming, and we look forward to "filling" the hotel during the week. We will have one of the highest attendances yet, and look forward to seeing you there. If you have considered attending, don't wait, it will be well worth your time and investment.

    If you have any questions or comments, you can reach my team at training@novell.com. We will be watching the inbox for your interest and will do what we can to get you there, and home happy that you came.

    Thanks -
    Jeff McMurdie

  • ATT Live 2012 Session Spotlight--Dr L's CLP 11 Pain Points Sessions

    (Note: To see a list of all the sessions planned for ATT Live 2012, go to http://bit.ly/Asgjo4.)

    At ATT Live 2012, Dr Bjoern Lotz, the designer and creator of the CLP 11 exam scenarios and evaluation scripts, will be presenting 3 sessions on the various common issues and mistakes that most often make the difference between passing and failing the SUSE Certified Linux Professional (CLP) 11 Practicum Exam. These sessions are:

    • Dr. L's Treatment for the CLP Pain Points #1: Scripting in the CLP
    • Dr. L's Treatment for the CLP Pain Points #2: NFSv4 and Syslog-ng
    • Dr. L's Treatment for the CLP Pain Points #3: Apache and Samba

    These sessions will be especially helpful for SLES 11 server administrators who want to achieve the SUSE CLP 11 certification. And ATT Live 2012 is a prime opportunity to get this certification because the CLP 11 practicum exam will be offered for free on days 3 and 4 of the event.

    I asked Bjoern to provide a bit of useful information from each session that would give you an idea of what to expect if you're interested in taking advantage of this opportunity to prepare for and take the CLP 11 exam. The following information is just a taste of what you'll learn in these sessions. You'll really need to come to ATT Live if you want the full learning experience--demonstrations, hands-on labs, interaction with the instructor, etc.

    Scripting in the CLP

    One of the common issues that comes up when performing scripting tasks in the CLP exam is that the script does not execute without errors. Among the steps you can take to make sure the script executes properly is to use the following script troubleshooting techniques:

    If you do not immediately see why a script is returning errors, you can

    • Add set -x at the top of your script - when executing the script you see additional information that can help you find the error
    • Put echo in front of commands – that way they are not executed but displayed in the output
    • Put read into your script to pause it – hit enter to continue it
    • If you don't want to run the whole script, put exit at the point where you want it to end
    • Don't forget to remove (or change into a comment with #) the above when you are done

    NFSv4 and Syslog-ng

    The common mistakes made when performing Syslog-ng tasks in the CLP exam arise from not knowing how to create filters or modify existing ones. Filtering rules that will help you in performing these tasks successfully include the several criteria that can be used for filtering:

    • Facility:
      filter f_news { facility(news); };
    • Priority
      filter f_alert { level(alert); };
    • Program (regular expression)
      filter f_dhcpd { program(“dhcpd”); };
    • String (regular expression)
      filter f_firewall { match(“IN=”): };
    • Hostname (regular expression)
      filter f_gateway { host(gateway); };
    • Elements can be combined:
      filter f_errcrit { level(err, crit); };
      filter f_mailnews { facility(mail, news); };
      filter f_iptables { match(“IN=”) and match(“OUT=”) ; };

    Apache and Samba

    A common mistake seen in the exam related to the CLP 11 Practicum Apache tasks is there are missing elements in the virtual host configuration. Some tips to keep in mind to perform these tasks successfully are:

    • The configuration is distributed across several files in /etc/apache2/, including
      • httpd.conf
      • default-server.conf
      • vhost.d
      • listen.conf
      • error.conf
      • Some configuration options are contained in /etc/sysconfig/apache2, which are used to create configuration files in /etc/apache2/sysconfig.d/
    • Virtual hosts are used to provide the Web pages of several domains on one IP address
    • To create a virtual host, you need to create a configuration file in the /etc/apache2/vhsots.d/ directory
    • The file name has to end in .conf
    • The /etc/apache2/vhosts.d/vhost.template file lists the needed parameters with comments explaining their use. You can copy that file and edit it for your virtual host

    Register today for the event and for Dr L's CLP 11 Pain Point sessions before they fill up at: www.novell.com/attlive!

    ATT Live 2012
    May 15-18, 2012
    Henderson (Las Vegas), NV
    4 days of instructor-led, hands-on advanced technical training for only $1,750

    Please follow Novell, SUSE, and NetIQ Training on:
    http://twitter.com/novell_training
    http://www.facebook.com/NovellTraining