1) Pre-Requisite # Install Mariadb yum -y install mariadb mysql -u root -p CREATE DATABASE gitea; CREATE USER ‘gitea’@’localhost’; SET PASSWORD FOR ‘gitea’@’localhost’ = PASSWORD(‘NEW_gitea’); grant all privileges on gitea.* to ‘gitea’@’localhost’; # Install go wget “https://dl.google.com/go/go1.10.linux-amd64.tar.gz” mv go1.10.linux-amd64.tar.gz /usr/local/ […]
Failed to read keytab [default]
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 […]
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 […]
apache tuneup
Apache Tune Up I was able to do about 4K concurrent connections with this setup. Using Centos 6.7 64bit Apache httpd-2.2.15-47.el6.centos.x86_64 a Virtual Machine 4x CPU’s and 4GBs of memory, I have 2 disks, one for /var and other for […]