Ubuntu 18.04 LTS 長期支援版 ,預計4月26日釋出!代號 bionic beaver “神通廣大的河狸”

哇! 4月26日 最新版的 ubuntu 18.04 要釋出了! 而且還是長期支援(Long term support)版本, 代號 bionic beaver “神通廣大的河狸”.

因為目前筆電所安裝的 ubuntu 16.04 LTS 還沒辦法支援悲催(bay-trail)的音效, 想說連假最後一天, 上網搜尋,看看能不能找到解法,可惜沒有 XD.

但是, 突然之間, 我發現一個大亮點, 那就是 ubuntu 18.04 LTS beta 2 已於 4/6 釋出.

於是我再仔細找一下, 官方居然設定 4/26 日就是正式版釋出的日子, 太棒了! 用很新的 4.15 Linux 核心, 簡化ppa的使用, 16.04 LTS 可以直接升級, 不用重新安裝, 真是棒呆了!

 

Ubuntu 18.04 LTS Release Date, New Features and Upgrade Procedure

 

筆電安裝ubuntu 16.04 注意事項

咖啡偶的筆電很輕, 是acer出的 chromebook (CB3-111)

但是被我拿來改裝成 ubuntu 16.04 ,改裝方式可以到 mrchromebox.tech 取經.

但是不建議大家把chromebook拿來改裝, 因為現在的chromebook可以直接安裝android相關程式,功能越來越強大! 可惜這台 CB3-111 太早買, 還無法安裝android程式.

這台記憶體有4G, 安裝筆電的時候, 除了需要安裝注音, 與輕量化外, 也可以考慮安裝 virtualbox 測試很多系統呢.

請到IT地窖練功中心第 10020 號練功吧. 附件是chromebook改裝的畫面

**我的CB3-111還要拆開筆電把某顆螺絲拔掉

postfix+dovecot+sasl+activate direcotory (centos 6)

1. vi /etc/dovecot/conf.d/10-auth.conf
uncommand the following setting
#!include auth-ldap.conf.ext
as
!include auth-ldap.conf.ext

2.  vi  /etc/dovecot/conf.d/auth-ldap.conf.ext
auth_username_format = %Lu

passdb ldap {
args = /etc/dovecot/dovecot-ldap.conf.ext

}

userdb static {
args = uid=501 gid=501 home=/home/vmail/%u
}
3. vi /etc/dovecot/dovecot-ldap.conf.ext
hosts = ad_server_ip
base = dc=test,dc=com,dc=tw
ldap_version = 3
auth_bind = yes
ldap_version = 3
auth_bind_userdn = test%u
pass_filter = (&(objectclass=person)(uid=%u))

ps. uid and gid must the same with postfix  and directory in linux server
ex: create one user “vmail”
user id is 501 , gid is 501

4. postfix’s main.cf
virtual_mailbox_domains = $mydomain
virtual_mailbox_base = /home/vmail/
virtual_mailbox_maps = ldap:/etc/postfix/ldap-users.cf
virtual_uid_maps = static:501
virtual_gid_maps = static:501
virtual_alias_maps = hash:/etc/aliases,ldap:/etc/postfix/ldap-aliases-inner.cf
#smtp auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
#additional param
message_size_limit = 40960000
smtpd_helo_required = yes
disable_vrfy_command = yes
strict_rfc821_envelopes = yes
bounce_queue_lifetime = 1d
maximal_queue_lifetime = 1d
data_directory = /var/db/postfix
header_checks = regexp:/etc/postfix/header_checks
smtp_host_lookup = native, dns

5. vi /etc/postfix/ldap-users.cf
server_host = ad_server_ip
search_base = dc=test,dc=com,dc=tw
version = 3
query_filter = (&(objectclass=*)(mail=%s))
result_attribute = samaccountname #Account from DC
result_format = %s/Maildir/
bind = yes
bind_dn = cn=ldap,cn=Users,dc=test,dc=com,dc=tw
bind_pw = ldappassword

6. vi //etc/sysconfig/saslauthd
# Directory in which to place saslauthd’s listening socket, pid file, and so
# on. This directory must already exist.
SOCKETDIR=/var/run/saslauthd

# Mechanism to use when checking passwords. Run “saslauthd -v” to get a list
# of which mechanism your installation was compiled with the ablity to use.
#MECH=pam
MECH=ldap

# Additional flags to pass to saslauthd on the command line. See saslauthd(8)
# for the list of accepted flags.
FLAGS=”-O /etc/postfix/saslauthd.conf -c -r”

7. vi /etc/postfix/saslauthd.conf
ldap_servers: ldap://ad_server_ip:389/
ldap_search_base: dc=test,dc=com,dc=tw
ldap_auth_method: bind
ldap_version: 3
ldap_bind_dn: cn=ldap,cn=Users,dc=test,dc=com,dc=tw
ldap_bind_pw: ldappassword
ldap_filter: (sAMAccountName=%u)

8. vi /etc/postfix/ldap-aliases-inner.cf
server_host = ad_server_ip
search_base = dc=test,dc=com,dc=tw
#scope = sub
query_filter = (memberOf:1.2.840.113556.1.4.1941:=CN=%s,OU=aliases_inner,DC=test,DC=com,DC=tw)
result_attribute = mail
result_format = %s
version = 3
bind = yes
bind_dn = cn=ldap,cn=Users,dc=test,dc=com,dc=tw
bind_pw = ldappassword


			
		
1 ... 12 13 14