Saturday, 21 September 2013

Zimbra CentOS 6.

yum update -y
yum install bind
chkconfig named on

nano /etc/selinux/config
SELINUX=disabled

service ntpd start
service iptables stop
service postfix stop
chkconfig postfix off
chkconfig iptables off
chkconfig ntpd on

nano /etc/hosts
192.168.2.100 mail.yeopaje.my mail

nnao /etc/resolve.conf
nameserver 127.0.0.1

nano /etc/sysconfig/network
HOSTNAME=mail.yeopaje.my

nano /etc/named.conf

















nano /var/named/yeopaje.my.zone














 
nano /var/named/192.168.2.zone











./install.sh --platform-override
http://www.ehowstuff.com/how-to-install-and-configure-bind-chroot-dns-server-on-centos-6-4-vps/
http://www.ehowstuff.com/how-to-setup-zimbra-collaboration-suite-8-0-3-mail-server-on-centos-6-4-x86_64/
http://jamesreubenknowles.com/installing-zimbra-7-on-centos-1327


Wednesday, 28 August 2013

Zimbra Ubuntu 12.04

sudo passwd root

su -

apt-get update
apt-get upgrade

apt-get install libgmp3c2 libperl5.14 pax sysstat sqlite3
apt-get install dnsmasq

nano /etc/hostname
mail

nano /etc/hosts
192.168.1.100 mail.yeopaje.my mail

[test]
ping mail
ping mail.yeopaje.my

[cek gateway]
route -n

nano /etc/network/interfaces

iface eth0 inet static

address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

ifdown eth0

ifup eth0

OR

/etc/init.d/networking restart


nano /etc/resolv.conf
nameserver 127.0.0.1

nano /etc/dnsmasq.conf
server=8.8.8.8
server=4.2.2.2
domain=yeopaje.my
mx-host=yeopaje.my,mail.yeopaje.my,5
listen-address=127.0.0.1
/etc/init.d/dnsmasq restart

tar zxvf ZCSxxxxxxx.tar
cd ZCSxxxxxx
./install

mx error - yes
change to yeopaje.my

set password -3,4


reboot ubuntu

web https://192.168.1.100
web admin https://192.168.1.100:7071


set ip n dns at hosts file
c:/windows/system32/drivers/etc/hosts
192.168.1.100 mail.yeopaje.my


[Links] #2

http://www.yusufhm.info/content/mount-windows-share-ubuntu-command-line

https://wiki.ubuntu.com/MountWindowsSharesPermanently

Mount samba share ubuntu 12.04

sudo apt-get install cifs-utils
mkdir ~/Windows
sudo mount.cifs //xxx.xxx.xxx.xxx/testshare ~/Windows -o

or

sudo apt-get install smbclient
smbclient //xxx.xxx.xxx.xxx/testshare

Wednesday, 15 May 2013

Put.io convert your torrent files into direct download links

Im sure many of us know this type of services, where the service convert .torrent files into direct download links, what is great about this is, my country completely block/throttle torrent download, so by convert it using direct download can bypass this nasty blocking!You can also save some electric power as the service will download it to put.io server, while your pc is off.

Usually, i can get full speed of my broadband, but sometimes there is problem with the server being slow download speeds, also with my country isp because of bad routing. But so far im statisfied, you also can share the account with your friends, and this is allowed by put.io, so that you can share expense with your friends which is a good things! :)

For the support, if you contact using twitter you may get or may not get the responds, im sent twice tweet to put.io but they not responds :( but if you request support via email, they always responds!!

So go https://put.io and subscribe it! put.io where is my 1 month free package :P

Saturday, 13 April 2013

Using Virtual Network Editor in VMWare Player

There is 2 step involve, you can choose either 1 :
Step 1 :

On Windows 7 open CMD as Administrator
Change directory into vmware player like picture below
Run rundll32.exe vmnetui.dll VMNetUI_ShowStandalone







Step 2 :

Download VMWare Workstation
Extract manually vmnetcfg from setup files, my setup is from VMWare Workstation v9.0.2
Run "setup.exe ./e .\VMTools from cmd



















the vmnetcfg can be found in core.cab, extract and put in vmplayer folder, and you are good to go :)











Tuesday, 22 January 2013

Raspberry Pi

1st thing to do to play with GPIO
http://www.raspberrypi-spy.co.uk/2012/05/install-rpi-gpio-python-library/
http://pypi.python.org/pypi/RPi.GPIO

#1 : if there is error when install RPi.GPIO, need to install python dev at sudo apt-get install python-dev

Sunday, 20 January 2013

ping

sos : http://www.cyberciti.biz/faq/crontab-every-10-min/

0 * * * * /bin/ping -c 10 8.8.8.8 || reboot

every hour will ping to check connection

* * * * * /bin/ping -c 10 8.8.8.8 || reboot

every minutes will ping to check connection 



* * * * * /bin/ping -q -s 1 -c 60 8.8.8.8 & > /dev/null