tick.stdtime.gov.tw tock.stdtime.gov.tw time.stdtime.gov.tw clock.stdtime.gov.tw watch.stdtime.gov.tw
2012年12月3日 星期一
台灣的Time Server NTP
2012年12月2日 星期日
2012 iMac 21.5" 硬體規格清單
iMac Intel 21.5" EMC 2544 Teardown
| CPU | 2.7 GHz quad-core Intel Core i5 processor with 6 MB L3 cache | |
| RAM | Hynix PC3-12800 RAM, 4GBx2 | |
| Gigabit Ethernet | Broadcom BCM57765A1KMLG gigabit ethernet controller with integrated SDXC card reader | |
| VideoCard | Nvidia GeForce GT 640M GPU, 512MB | |
| Build-in | Broadcom BCM20702, Single-Chip Bluetooth® 4.0 HCI Solution with Bluetooth Low Energy (BLE) Support | |
| WLAN | Broadcom BCM4331 single-chip WLAN | The BCM4331 single-chip 802.11n dual-band 3x3 wireless solution enables Wi-Fi products to support 450 Mbps data rates and achieves over 600Mbps (TCP/IP) throughput in simultaneous AP/router configurations. |
| Audio Controler | Cirrus Logic 4206BCNZ audio controller, the same chip as found in last year's 21.5" | |
| Audio AMP | Analog Devices SSM3302 audio amplifier | |
| Monitor | LG LM215WF3 | |
| Web Cam | Vimicro VC0359 webcam processor | |
| HD | HGST(Hitachi Global Storage Technologies) 1TB hard drive (5400 rpm) | |
| DVDROM | Sony Optiarc optical drive, model number AD-5690H. | |
| ThunderBolt | Intel DSL3510L Cactus Ridge Thunderbolt controller | |
| USB | SMSC USX2061 (we believe this a USB 2.0 Hub Controller Family) | |
| BlutTooth | Broadcom BCM2046 Bluetooth IC | |
| ??? | Intersil ISL6364 multi-phase pulse width modulation (PWM) controller | |
| Power | 台達電 DELTA ELECTRONICS,INC MODEL:ADP-185BF T INPUT:100-240V~3A 50/60Hz OUTPUT: +12.1V-15.4A |
Netatalk 2.2.4 安裝在CentOS 5.8
安裝 gcc
yum install gcc安裝 automake
yum install automakeBuilding Berkeley DB for UNIX
cd ./build_unix ../dist/configure make make install預設安裝至 /usr/local/BerkeleyDB.4.8
./configure --with-bdb=/usr/local/BerkeleyDB.4.8 --enable-redhat-sysv --prefix=/usr/local/netatalk -with-mutex=x86/gcc-assembly && make -j 2 && make install
root@srv:$ touch /var/timemachine/.com.apple.timemachine.supported安裝後的總結
Using libraries:
LIBS = -lpthread -ldl -L$(top_srcdir)/libatalk
CFLAGS = -I$(top_srcdir)/include -D_U_="__attribute__((unused))" -g -O2 -I$(top_srcdir)/sys
BDB:
LIBS = -L/usr/local/BerkeleyDB.4.8/lib -ldb-4.8
CFLAGS = -I/usr/local/BerkeleyDB.4.8/include/
Configure summary:
Install style:
none
AFP:
Large file support (>2GB) for AFP3: yes
Extended Attributes: ad | sys
CNID:
backends: dbd last tdb
UAMS:
clrtxt ( SHADOW)
guest
Options:
DDP (AppleTalk) support: no
SLP support: no
Zeroconf support: no
tcp wrapper support: yes
quota support: yes
admin group support: yes
valid shell check: yes
cracklib support: no
dropbox kludge: no
force volume uid/gid: no
ACL support: no
LDAP support: no
2012年12月1日 星期六
CentOS 5.8安裝
CentOS 安裝過程的完整記錄可以在 /root/install.log 檔找到
重新開機後, 你可以在 '/root/anaconda-ks.cfg' kickstart檔案中, 找到所選擇的安裝選項。
外掛 LinuxICv34.iso
su root mkdir /mnt/cdrom mount /dev/cdrom /mnt/cdrom cd /mnt/cdrom/RHEL58 ./install-rhel58.sh網路設定
sudo vi /etc/hosts
192.168.0.10 centos5 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
sudo vi /etc/sysconfig/network
NETWORKING=yes HOSTNAME="centos5"
sudo vi /etc/sysconfig/network-scripts/ifcfg-etho
DEVICE=eth0 ONBOOT=yes BOOTPROTO=static IPADDR=192.168.0.10 NETMASK=255.255.255.0 GATEWAY=192.168.0.254 DNS1=8.8.8.8reboot重開機
/etc/init.d/network restart
Ubuntu Desktop 12.10 sources.list
vi /etc/apt/sources.list
#deb cdrom:[Ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2)]/ quantal main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://tw.archive.ubuntu.com/ubuntu/ quantal main restricted deb-src http://tw.archive.ubuntu.com/ubuntu/ quantal main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://tw.archive.ubuntu.com/ubuntu/ quantal-updates main restricted deb-src http://tw.archive.ubuntu.com/ubuntu/ quantal-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://tw.archive.ubuntu.com/ubuntu/ quantal universe deb-src http://tw.archive.ubuntu.com/ubuntu/ quantal universe deb http://tw.archive.ubuntu.com/ubuntu/ quantal-updates universe deb-src http://tw.archive.ubuntu.com/ubuntu/ quantal-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://tw.archive.ubuntu.com/ubuntu/ quantal multiverse deb-src http://tw.archive.ubuntu.com/ubuntu/ quantal multiverse deb http://tw.archive.ubuntu.com/ubuntu/ quantal-updates multiverse deb-src http://tw.archive.ubuntu.com/ubuntu/ quantal-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://tw.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse deb-src http://tw.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu quantal-security main restricted deb-src http://security.ubuntu.com/ubuntu quantal-security main restricted deb http://security.ubuntu.com/ubuntu quantal-security universe deb-src http://security.ubuntu.com/ubuntu quantal-security universe deb http://security.ubuntu.com/ubuntu quantal-security multiverse deb-src http://security.ubuntu.com/ubuntu quantal-security multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu quantal partner # deb-src http://archive.canonical.com/ubuntu quantal partner ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu quantal main deb-src http://extras.ubuntu.com/ubuntu quantal main
Apple File Protocol (AFP)相關設定
avahi是zeroconf的協議的實現。
它可以在沒有DNS服務的局域網裡發現基於zeroconf的協議的設備和服務。
它跟mDNS的一樣。
安裝好 avahi-daemon後, 修改
afpd.service
sudo vi /etc/avahi/services/afpd.service貼上下面的內容
重新啟動%h _afpovertcp._tcp 548 _device-info._tcp 0 model=Xserve
$ sudo /etc/init.d/avahi-daemon restart或
$ sudo service avahi-daemon restart簡介 Netatalk 是Linux上提供Appletalk網絡協議服務的服務器。可以令Linux“偽裝” 成為蘋果機服務器,提供文件及打印服務。 修改
AppleVolumes.default
sudo vi /etc/netatalk/AppleVolumes.default
# By default all users have access to their home directories. #~/ "Home Directory" /mnt/timemachine "Time Machine" allow:mine cnidscheme:dbd options:usedots,upriv,tm其用
/mnt/timemachine
表示要做為分享的實體目錄,"Time Machine"
是邏輯目錄,, tm
加上這個參數, Mac的Time Machine才能識別出來。 修改AppleVolumes.default
sudo vi /etc/netatalk/afpd.conf
# default: # - -tcp -noddp -uamlist uams_dhx.so,uams_dhx2.so -nosavepassword - -tcp -noddp -uamlist uams_randnum.so,uams_dhx.so,uams_dhx2_passwd.so -nosavepassword重新啟動
$ sudo /etc/init.d/netatalk restart或
$ sudo service netatalk restart
訂閱:
文章 (Atom)
