Pages

Bài đăng phổ biến

Wednesday, June 6, 2012

Set Timezone by cmd on Centos ( linux)

# ln -sf /usr/share/zoneinfo/Asia/Ho_Chi_Minh /etc/locatime
`
Write the current System Time to the Hardware Clock
# hwclock —systohc





Nguyen Si nhan

[Solved] No package scp available

fix: yum install openssh-clients

[Solved] virNetServerMDNSStart:460 : internal error Failed to create mDNS client: Daemon not running

Fix:


Further investigation found avahi was needed for this to work. The final fix was running
yum -y install avahi
/etc/init.d/messagebus restart
/etc/init.d/avahi-daemon restart
/etc/init.d/libvirtd restart
/sbin/chkconfig messagebus on
/sbin/chkconfig avahi-daemon on
Source: http://quags.net/archives/53