Press "Enter" to skip to content

Posts published in “Linux”

Install MySQL 8 on Linux and Create a New DB & Populate DB with Sensitive Records

0

This post is to summarize the steps to install MySQL DB on CentOS/Ubuntu and illustrate how to generate the db data then populate them into your MySQL Database.  Install MySQL DB on CentOS7 A couple of steps: 1  Setup Yum Repository rpm -Uvh https://ift.tt/2F9V4ai 2  Install MySQL 8 Community Server Version Disable all repositories in mysql repo file: sed -i ‘s/enabled=1/enabled=0/’ /etc/yum.repos.d/mysql-community.repo Execute following command to install: yum –enablerepo=mysql80-community install mysql-community-server 3  Start MySQL Service service mysqld start…

Install / Configure Xfce and VNC Server on CentOS7

0

xRDP protocol is a bit slow to connect based on my previous testing. This time, I am trying to use VNC protocol to do connection, which has been proven much faster than xRDP.

My previous post "Connect to GNOME desktop environment via xRDP on CentOS 7 & Ubuntu 18" shows how to use RDP client connecting to linux but connection speed is too slow for regular operation. Compared both, VNC solution is much better for daily operation remote control experience when using it on Linux server.

Pre-requirements

Install and Configure ngx_lua_waf Based on Nginx+Lua ( OpenResty)

0

Ngx_lua_waf is a web application firewall based on lua-nginx-module.

  • Prevent SQL injection, local inclusion, partial overflow, fuzzing, xss, SSRF and other web attacks
  • Prevent file leaks, such as svn / backup
  • Prevent attacks from stress testing tools such as ApacheBench
  • Block common scanning hacking tools, scanners
  • Block unusual network requests
  • Block image attachment class directory php execute permission
  • Prevent webshell uploads