I do like working with RedHat / Centos 6 (python 2.6.6) but when it comes to Python, urghh…They just remain old old, its sad. I dont know why. Solution is to use virtualenv and install a second python version. At […]
URBACKUP CENTOS 7 HOW TO INSTALL
URBACKUP CENTOS 7 HOW TO INSTALL Centos 7 x64bit urbackup-server-2.0.36 Requirements: yum install autoconf automake binutils bison flex gcc gcc-c++ gettext libtool make patch pkgconfig redhat-rpm-config rpm-build rpm-sign yum install zlib-devel.x86_64 zlib.x86_64 libcurl-devel.x86_64 cryptopp-devel.x86_64 wget “https://hndl.urbackup.org/Server/2.0.36/urbackup-server-2.0.36.tar.gz” tar -zxvf urbackup-server-2.0.36.tar.gz cd […]
VPN openvpn howto linux
yum install -y openvpn modprobe iptable_nat echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -s 10.4.0.1/2 -o eth0 -j MASQUERADE cd /etc/openvpn/ openvpn –genkey –secret vpn.key vi openvpn.conf openvpn.conf port 8080 proto tcp-server dev tun1 ifconfig 10.4.0.1 10.4.0.2 status […]
Relax and Recover
Relax and Recover (ReaR) http://relax-and-recover.org/ . Thread sobre ReaR na Symantec http://www.symantec.com/connect/forums/netbackup-linux-bare-metal-restore-using-open-source-relax-and-recover-rear . Configurando NFS server # service rpcbind start # service nfs start # service nfslock start # lvcreate –name LV_media –size 4G VG_ROOT # mkfs -t ext4 -O […]
centos 6 change keyboard layout command line
centos 6 change keyboard layout command line vi /etc/sysconfig/keyboard KEYTABLE=”br-abnt2″ MODEL=”abnt2″ LAYOUT=”br” KEYBOARDTYPE=”pc” to exit vi do CRTL-ZZ
rtorrent how to
I needed a simple linux torrent client that work via Proxy! I tried Transfer,Deluge,uTorrent(via wine, very buggy!) none of them worked. Deluge has a known bug of using proxy. uTorrent worked for a bit by proxy but very buggy with […]
Setup AWS S3 Policy
S3 is a great place to keep logs data or even backups. Monthly Basic cost: S3 U$ 0.02 p/ GB (with Reduce Redundancy). Glacier only U$ 0.01 p/ GB For more detail use the AWS Calculator http://calculator.s3.amazonaws.com/index.html I currently send […]
