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 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 […]
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 […]
Reverse SSH Tunnel
The idea is to have my IP autostart connect to my Cloud server, this way I can remote control my Raspberry PI without having to configure DynDNS and firewall rules. The only requsisite is that PI has internet and run […]
Cisco auto login script
Maybe you need to login in 500 differente switches and execute a command. here is the script:
Nagios Notify html Script
The default notification script for nagios is very simple, why not get more information on the email. Like: hostgroup, how long has the problem happened, link to the possible documentation. And format it in a nice html table. To work, […]
