搜尋此網誌

2010年12月11日 星期六

Ubuntu Server 10.04

OS: Ubuntu Server 10.04
Install sysv-rc-conf helpful configure serivce
Feature:
a. Join Active Directory
b. Mail server (postfix)
c.

Configuration IP address
sudo vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.0.xxx
netmask 255.255.255.0
gateway 192.168.0.x

Configure Hostname
edit /etc/hostname
Configure DNS Client
Edit /etc/resolv.conf file

domain test.com
search test.com
nameserver DNS Server IP

Join Microsoft Domain (Active Directory)
Install Likewise Open
apt-get install likewise-open5
Conifure settings to join Domain
domainjoin-cli join example.com Administrator
Test Configration
ssh 'example\username'@hostname
Edit /etc/likewise-open/lsassd.conf
assume-default-domain = yes


Configure Dovecot Settings
Edit /etc/dovecot/dovecot.conf

#disable_plaintext_auth = yes
..
protocols = imap imaps pop3 pop3s
..
auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
to
disable_plaintext_auth = no
..
protocols = imap pop3
..
auth_username_chars = \abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@


Postfix Configuration
Check Postfix settings
postfix check

Webmin Installation
#apt-get install  libauthen-pam-perl libnet-ssleay-perl libpam-runtime openssl perl perl-modules libio-pty-perl apt-show-versions libapt-pkg-perl

#wget http://prdownloads.sourceforge.net/webadmin/webmin_1.530_all.deb or higher

#dpkg -i webmin_XXXX.deb


#/etc/init.d/webmin restart

沒有留言:

張貼留言