Archive

Posts Tagged ‘HowTo’

Centos 6 python 3.5 django

December 7th, 2016 No comments

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.

Read more…

URBACKUP CENTOS 7 HOW TO INSTALL

November 25th, 2016 1 comment

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

Read more…

Categories: HowTo, Linux Tags: , , , , , ,

VPN openvpn howto linux

November 17th, 2016 No comments

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 server-tcp.log
verb 4
secret vpn.key

Categories: HowTo Tags: , ,

Relax and Recover

May 24th, 2016 No comments

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

Read more…

centos 6 change keyboard layout command line

May 20th, 2016 No comments

centos 6 change keyboard layout command line

vi /etc/sysconfig/keyboard
KEYTABLE=”br-abnt2″
MODEL=”abnt2″
LAYOUT=”br”
KEYBOARDTYPE=”pc”

Read more…

Categories: HowTo, Linux Tags: , , ,

rtorrent how to

May 20th, 2016 No comments

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 wine and Linux Mint.

Read more…

Categories: HowTo Tags: , ,

Setup AWS S3 Policy

August 26th, 2015 No comments

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

Read more…

nagios vmware esx plugin

May 26th, 2015 No comments

The best script to monitor VMWare ESX using nagios was
developed by Steve Shipway.

Read more…

how to install zabbix on centos

November 19th, 2014 No comments

How to install Zabbix

yum -y update
yum -y install httpd php php-cli php php-ctype php-bcmath php-xmlreader php-xmlwriter php-xmlwriterfping libcurl libiksemel net-snmp php-net-socket php-mbstring php-gettext mysql mysql-server mysql-devel.x86_64 php-mysql.x86_64 libxml2-devel.x86_64 libxml2.x86_64 libxml2-static.x86_64 net-snmp-devel.x86_64 net-snmp-libs.x86_64 net-snmp-utils.x86_64 libcurl-devel.x86_64 libcurl.x86_64 curl.x86_64 gd.x86_64 gd-progs.x86_64 php-gd.x86_64 gcc

Read more…

Categories: HowTo, Linux Tags: , , , ,

How to connect NFS with a specfic user under CentOS/RedHat 6

March 7th, 2014 No comments

How to connect NFS with a specfic user under CentOS/RedHat 6

##SERVER SIDE##
1. On server side must have the insecure option enabled edit /etc/exports
/exports/real 192.17.36.147/255.255.255.255(rw,nohide,insecure,no_subtree_check,sync)
2. Make the change
exportfs -ra
3. Make sure it is running
rpcinfo -p | grep portmap
showmount

Read more…

Categories: Linux Tags: , , ,