搜尋此網誌

2010年12月24日 星期五

ubuntu Server 10.10

Ubuntu Server 10.10 Guide
https://help.ubuntu.com/10.10/serverguide/C/index.html


HowTo:  Samba Active Directory Integration: Script tested on win 2003r2 and 2008r2
http://ubuntuforums.org/showthread.php?t=1580505


Add HardDisk
#sudo fdisk /dev/sdb
n (add a new partition)
#sudo mke2fs /dev/sdb1
#ls -l /dev/disk/by-uuid/
#vi /etc/fstab
UUID=66bcdd2e-8861-4fb0-b7e4-e61c569fe17d /srv ext3 noatime,relatime,acl 0 1

VirtualBox
Guest OS mount USB
#usermod -G vboxusers -a [your account]


Likewise-Open
10.10 has bug. It's needed upgrade.
sudo apt-get upgrade
sudo reboot
sudo apt-get install python-software-properties

#Then follow the #16 to configure apt-repository
http://ubuntuforums.org/showthread.php?t=1430347&page=2

#sudo apt-get install likewise-open5
#domainjoin-cli join example.com Administrator
Administrator@example.com password:

Configuration Default Domain. Doesn't need entry "Domain\".
sudo vi /etc/likewise-open/lsassd.reg
"AssumeDefaultDomain"=dword:00000000
to
"AssumeDefaultDomain"=dword:00000001
sudo lw-refresh-configuration

Mail Server Configuration
sudo apt-get install postfix dovecot-common dovecot-imapd dovecot-pop3d
sudo vi /etc/dovecot/dovecot.conf
#disable_plaintext_auth = yes
..
protocols = imap imaps pop3 pop3s
..
auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
to
disable_plaintext_auth = no
..
protocols = imap imaps pop3 pop3s
..
auth_username_chars = \abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@

Following are Postfix issues and solution.
Issue
error log: unable to lock for exclusive access: Resource temporarily unavailable
Solution
Edit /etc/postfix/mail.cf & /etc/dovecot.conf
The lock settings have to configure same. ex:
mail.cf
mailbox_delivery_lock = flock, dotlock
dovecot.conf
mbox_read_locks = flock dotlock
mbox_write_locks = flock dotlock

Squirrel Webmail Installation
sudo apt-get install squirrelmail
執行「select-default-wordlist」來變更預設的單字列表。
sudo squirrelmail-configure
sudo cp /etc/squirrelmail/apache.conf /etc/apache2/sites-available/squirrelmail
sudo ln -s /etc/apache2/sites-available/squirrelmail /etc/apache2/sites-enabled/squirrelmail
sudo a2ensite squirrelmail
sudo /etc/init.d/apache2 force-reload

#setup Local User Autoresponder
#Download plugin
sudo cd /user/share/squirrelmail/plugin
cp config_example.php config.php

Openwebmail Installation
apt-get install apache2 perl-suid libdbd-mysql-perl libnet-ldap-perl libauthen-pam-perl libpg-perl wwwconfig-common
dkpg -i owm-2.5.3.deb

沒有留言:

張貼留言