1.
Open serveradmin
select overview => Gateway Setup Assistant
press ethernet => continue => and check the airport to combine the to network interface via NAT.
if you do not need the proxy server then press continue to skip the step.
2.
Open network preferences
Create Network
And the icon will appear like this
2011年4月28日 星期四
OSX snowleopard server mailserver Clamav issue
when I used the serveradmin to watch the System log.
I saw the error message log :
Apr 28 00:30:07 macminiserver org.clamav.clamd[11273]: LibClamAV Warning: **************************************************
Apr 28 00:30:07 macminiserver org.clamav.clamd[11273]: LibClamAV Warning: *** The virus database is older than 7 days! ***
Apr 28 00:30:07 macminiserver org.clamav.clamd[11273]: LibClamAV Warning: *** Please update it as soon as possible. ***
Apr 28 00:30:07 macminiserver org.clamav.clamd[11273]: LibClamAV Warning: **************************************************
Apr 28 00:30:07 macminiserver org.clamav.clamd[11273]: LibClamAV Error: cli_loadinfo: Digital signature not found
Apr 28 00:30:07 macminiserver org.clamav.clamd[11273]: LibClamAV Error: Can't load daily.info: Malformed database
Apr 28 00:30:07 macminiserver org.clamav.clamd[11273]: LibClamAV Error: cli_tgzload: Can't load daily.info
Apr 28 00:30:07 macminiserver org.clamav.clamd[11273]: LibClamAV Error: Can't load /var/clamav/daily.cvd: Malformed database
Apr 28 00:30:07 macminiserver org.clamav.clamd[11273]: ERROR: Malformed database
Apr 28 00:30:07 macminiserver com.apple.launchd[1] (org.clamav.clamd[11273]): Exited with exit code: 1
Apr 28 00:30:07 macminiserver com.apple.launchd[1] (org.clamav.clamd): Throttling respawn: Will start in 10 seconds
then I restart my clamav freshclam and update clamav
#sudo launchctl unload -w /System/Library/LaunchDaemons/org.clamav.freshclam.plist
#sudo launchctl load -w /System/Library/LaunchDaemons/org.clamav.freshclam.plist
after this command, we can check the log in the serveradmin and it will start to update the virus database. And the error log does not appear again.
2011年4月7日 星期四
MAC OSX cpuinfo flags command
SHOW you CPU info like Linux command #cat /proc/cpuinfo | grep flags
#sysctl -a machdep.cpu | grep VMX
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM SSE3 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1
#sysctl -a machdep.cpu | grep VMX
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM SSE3 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1