27 May 2015

เอาพื้นที่ System Reserved คืนมาจากการติดตั้ง Windows

System Reserved ถ้าไม่คิดว่าจะได้ใช้ เอาพื้นที่มาใช้ดีก่าครับ Windows พังก็ลงใหม่แค่นั้น

วิธีการไม่เอา System Reserved ตอนติดตั้ง Windows  (เน้นคลิกและอธิบายตามภาพนะครับ)




19 May 2015

How to Configure TFTP Server on CentOS 6

#yum install -y tftp tftp-server xinetd

#mkdir /Backup
#chmod 777 /backup

#vi /etc/xinetd.d/tftp

# default: off
# description: The tftp server serves files using the trivial file transfer \
#       protocol.  The tftp protocol is often used to boot diskless \
#       workstations, download configuration files to network-aware printers, \
#       and to start the installation process for some operating systems.
service tftp
{
        disable = no
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -s -c /backup
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
        disable                 = no
}

#vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m udp -p udp --dport 69 -j ACCEPT

# /etc/init.d/xinetd restart
# /etc/init.d/iptables restart

Verify listen port services xinetd and tftp:
>netstat -tanup

Testing get file through TFTP Server:
#echo “TFTP Hello test” > /backup/test.txt
>tftp 127.0.0.1
>get test.txt


13 May 2015

Get Message 'system failure: exception During auth soap: Receiver' on Zimbra Web Admin

Change SSH Port by default (22) to Other Port on Zimbra Server

root@mail:~# netstat -tnlup |grep 9955
tcp        0      0 0.0.0.0:9955            0.0.0.0:*               LISTEN      26496/sshd
root@mail:~#


Problem:
Get Message Popup

Message: system failure: exception During auth {RemoteManager: zimbra.demo.biz-> zimbra@zimbra.demo.biz: 22} Error code: service.FAILURE Method: [unknown] Details: soap: Receiver

root@mail:~# su - zimbra
zimbra@mail:~$ zmprov gacf | grep Remote
zimbraRemoteManagementCommand: /opt/zimbra/libexec/zmrcd
zimbraRemoteManagementPort: 22
zimbraRemoteManagementPrivateKeyPath: /opt/zimbra/.ssh/zimbra_identity
zimbraRemoteManagementUser: zimbra
zimbra@mail:~$



Solution:
zimbra@mail:~$ zmprov mcf zimbraRemoteManagementPort 9955

zimbra@mail:~$ zmprov gacf | grep Remote
zimbraRemoteManagementCommand: /opt/zimbra/libexec/zmrcd
zimbraRemoteManagementPort: 9922
zimbraRemoteManagementPrivateKeyPath: /opt/zimbra/.ssh/zimbra_identity
zimbraRemoteManagementUser: zimbra
zimbra@mail:~$


Thanks.


12 May 2015

How to Redirect HTTP to HTTPS Zimbra 8 Web Client Sign in.

Login to Zimbra Mail Server.

#su zimbra
zimbra@mail:/root$ zmtlsctl redirect
zimbra@mail:/root$ zmcontrol restart


Checking Mode
zimbra@mail:/root$ zmprov gs `zmhostname` | grep MailMode
zimbraMailMode: redirect
zimbra@mail:/root$


More info:  https://wiki.zimbra.com/wiki/CLI_zmtlsctl_to_set_Web_Server_Mode

Thanks.