54 Search results

For the term "harden debian".

Debian 9 Stretch Apache 2.4 MariaDB 10.1.26 PHP 7.0

Installation notes for Debian 9 Apache 2.4 MariaDB 10.1.26 PHP 7.0 differ somewhat from prior LAMP installations. Also included here are notes on PSAD and Fail2ban. PSAD requires netstat which is no longer included in Debian 9 apt-get install net-tools apt-get install apache2 apt-get install software-properties-common apt-get install mariadb-server sudo /usr/bin/mysql_secure_installation sudo mysql -v

Edit “Other Applications List” in Unity Ubuntu 12.04 Desktop

When installing Padre IDE on Ubuntu Desktop, I found Ubuntu (12.04) does not recognize it as an already installed program. So when trying to open a Perl file for editing using right-click, its a dead end – Padre was nowhere to be found. I wasted an hour looking for the answer; found it here > Ubuntu 12.04 Add Program to...

Setup LAMP Server Debian 9 Apache 2.4 MarianDB Php 7

Prerequisite is a fresh remote server with Debian 9 Stretch installed and booted From remote terminal Block all traffic iptable -F iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P FORWARD DROP Create a User sudo useradd -d /home/username -m username Set the User’s Password sudo passwd username Add the User to the Admin Group sudo adduser username adm...

Some Bash Scripts to Manage Remote Server

Script to Update and Upgrade #! /bin/bash chmod 700 /usr/bin/apt-get chmod 700 /usr/bin/aptitude chmod 700 /usr/bin/dpkg swapoff -a chown username:username /home/username/* chmod 700 /home/username/* apt-get update && apt-get upgrade –show-upgraded -y Script to End session and Harden some critical files #! /bin/bash swapon -a chmod 000 /usr/bin/apt-get chmod 000 /usr/bin/aptitude chmod 000 /usr/bin/dpkg find /home/username/ -size 0 -exec rm '{}'...

Fix 64 bit Google Talk Plugin Linux

Credit for this fix belongs here but I have copied it here for ease of access Download the 64-bit .deb from: http://www.google.com/tools/dlpage/res/talkvideo/hangouts/ Create a tmp dir: mkdir tmp Extract the contents of the .deb to the tmp dir: dpkg-deb -x google-talkplugin_current_amd64.deb tmp Extract the control files: dpkg-deb –control google-talkplugin_current_amd64.deb tmp/DEBIAN Fix the dependency: sed -i "s/lib32v4l-0/libv4l-0/" tmp/DEBIAN/control Repackage the .deb:...