Archive

Archive for the ‘Linux’ Category

varnish for wordpress

November 10th, 2017 No comments

So I came back to using varnish over my wordpress server. Just got tired of php-cgi 100% CPU and getting 503 errors.

Read more…

Categories: HowTo, Linux, Varnish Tags: ,

ipset and iptables

November 10th, 2017 No comments

My poor Amazon Tiny server with 512mb of memory is the one running this wordpress plus other 2.
Early this week I had major performance issues, I had placed many security scripts and used ipset with iptables
to block entire countries to access my site. Check out these posts on the bottom for details

Read more…

Categories: HowTo, Linux Tags:

Centreon no Graphics

September 8th, 2017 No comments

Troubleshooting Centreon no Graphics


(Using centreon brokers 2.11.8 BBDO not nagios NDO)
Centos 6.8 x64 centreon-broker-2.11.8-2.el6.x86_64 centreon-broker-cbd-2.11.8-2.el6.x86_64 centreon-broker-cbmod-2.11.8-2.el6.x86_64 centreon-broker-core-2.11.8-2.el6.x86_64 centreon-broker-storage-2.11.8-2.el6.x86_64

Read more…

Block IP bash script

March 30th, 2017 No comments

Still working hard to keep my server security locked down from attacks.

This script checks lighttpd logfile for unusual behaviour

Read more…

Centos 7 change root passwd

February 7th, 2017 No comments

How to change root password on Centos 7

  1. reboot press ESC to go into menu, then press ‘e’ to edit
  2. change line of Linux 16 and change ro with rw init=/sysroot/bin/sh
  3. CRTL-X to boot
  4. chroot /sysroot
  5. passwd root
  6. touch /.autorelabel
  7. reboot -f

Read more…

Categories: HowTo, Linux, Security Tags:

yum update security check script

January 12th, 2017 No comments

simple bash script to check for missing security

this is important to make sure your linux is updated
here is the script:

Read more…

Categories: bash, BashScripts, Linux, Security Tags: , , ,

Failed to read keytab [default]

January 10th, 2017 1 comment

When starting sssd in centos 7 I was getting this
ERROR:
Failed to read keytab [default]: No such file or directory

Read more…

Categories: HowTo, Linux Tags: , , ,

centos 7 disable useless services

January 4th, 2017 No comments

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

Read more…

Python 3 Django Mariadb

December 7th, 2016 No comments

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

Read more…

Categories: HowTo, Linux Tags: , , , ,

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: , , , , , ,