Installing LAMP on Rocky Linux

1. Upgrade Rocky to the latest yum upgrade Say yes to everything and wait 2. Apache installation yum install httpd Enable it on OS bootstrap with systemctl enable httpd Start it with systemctl start httpd Check if it is running with systemctl status httpd or use a browser pointing to http://ip-address. If you’re not receiveing … Read more

Installing Samba on CentOS

Installing Samba on CentOS Samba is available from the standard CentOS repositories. To install it on your CentOS system run the following command: sudo yum install samba samba-client Once the installation is completed, start the Samba services and enable them to start automatically on system boot: sudo systemctl start smb.servicesudo systemctl start nmb.service sudo systemctl … Read more

Installing docker on CentOS 7

First you need to set the repository doing a yum install -y yum-utils Then: yum-config-manager –add-repo https://download.docker.com/linux/centos/docker-ce.repo to add the stable Docker repository. then you can install docker yum install docker-ce docker-ce-cli containerd.io Remeber to start the new service with systemctl start docker and enable it upon OS reboot systemctl enable docker To get the … Read more

CentOS 7: proxy configuration for all users

vi /etc/profile Add your proxy settings. # set proxy config via profie.d – should apply for all users # PROXY_URL=”http://10.10.6.9:3128/” export http_proxy=”$PROXY_URL” export https_proxy=”$PROXY_URL” export ftp_proxy=”$PROXY_URL” export no_proxy=”127.0.0.1,localhost” # For curl export HTTP_PROXY=”$PROXY_URL” export HTTPS_PROXY=”$PROXY_URL” export FTP_PROXY=”$PROXY_URL”  

Using Kali to hack wifi connections

Important Foreword: HACKING SOMEONE’S WIFI IS A CRIME IN MOST COUNTRIES. THIS IS FOR EDUCATIONAL PURPOSE ONLY, I AM NOT RESPONSIBLE FOR ANY ILLEGAL ACTIVITIES DONE BY VISITORS, THIS IS FOR LEARNING AND  ETHICAL PURPOSES ONLY Issue a airmon-ng find the interface (normally wlan0) then try starting monitoring airmon-ng start wlan0 before putting the wifi … Read more

Installing ntpd

Step 1: Install and configure NTP daemon NTP server package is provided by default from official CentOS /RHEL 7 repositories and can be installed by issuing the following command. # yum install ntp Install NTP Server 2. After the server is installed, first go to official NTP Public Pool Time Servers, choose your Continent area where the server physically is located, … Read more

Installing fail2ban

1. Install Fail2Ban   Because Fail2Ban is not available from CentOS, we will have to install EPEL repository first. The following commands must be executed after switching to the root user. yum install epel-release Follow up by installing Fail2Ban: yum install fail2ban fail2ban-systemd   2. Running Fail2Ban service   Execute the following command lines to … Read more