When starting sssd in centos 7 I was getting this error: “Failed to read keytab [default]”SOLUTION:rm /etc/krb5.keytabklist -kvi /etc/samba/smb.confsecurity = adsdedicated keytab file = /etc/krb5.keytabkerberos method = secrets and keytabrealm =service smb restartnet ads testjoinnet ads leave -U Administratornet ads […]
centos 7 disable useless services
This some of the tuning I do on a centos 7 install REMOVE USLESS NETWORK INTERFACE brctl delbr virbr0 systemctl get-default systemctl set-default multi-user.target DISABLE USELESS SERVICESON GUI INSTALLS: ON BASIC WEB INSTALLS: systemctl disable firewalld.service irqbalance.service abrtd.service polkit.service smartd.service […]
python nagios scrape
Wrote a script in python using beautiful soap to scrub a web page.
Python 3 Django Mariadb
Centos 6 x64 Python 3 Django Mariadb I found out the hard way that python 3 default mysql driver does not work Anyways You will need to install mariadb devel vi /etc/yum.conf.d/mariadb.rebo # CHECK YOUR MARIADB VERSION rpm -qa |grep […]
Centos 6 python 3.5 django
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 […]