Tag:firewall

  • Oracle 12C installation under Linux

    Time:2021-9-1

    The steps are as follows: 1. How to install files by mounting ISO files under LinuxMKDIR / oraclehome / creates a folder to act as a mount pointmount /mnt/CentOS-7-x86_ 64-dvd-1708.iso / oraclehome mount the image in the / ISO directory to the / RHEL / filemount -t ios9660 -o loop /mnt/CentOS-7-x86_ 64-dvd-1708.iso / oraclehome (is […]

  • Method of setting firewall for server of Linux system

    Time:2021-8-2

    Firewalls help filter access ports and block login attempts using brute force. I prefer to use CSF (config server firewall), a powerful firewall. It uses iptables, which is easy to manage, and provides a web interface for users who are not good at entering commands. To install CSF, log in to the server and switch […]

  • Nginx configuration (windows and Linux)

    Time:2021-7-30

    Windows Edition Baidu download nginx / windosw and unzip it Nginx command:Start command start nginxRestart command nginx – s reloadStop command nginx – s stop Profile configuration #Image server proxy image.jt.com: 80 server { listen 80; server_name image.jt.com; location / { #Turn to directory root D:/JT-SOFT/images; } } Listen indicates the listening port, server_ Name […]

  • Install MySQL for Ubuntu

    Time:2021-7-29

    This article is continuously updated to record the MySQL installation pit encountered 1. Uninstall MySQL sudo rm /var/lib/mysql/ -R sudo rm /etc/mysql/ -R sudo apt-get autoremove mysql* –purge sudo apt-get remove apparmor 2. Installation 2.1. Method 1 sudo apt update //Install mysql5.7 sudo apt install mysql-server -y 2.2. Method 2 dev.mysql.com/downloads/repo/apt/Copy download link //Download curl […]

  • Docker’s centos7 system environment configuration

    Time:2021-7-27

    This document details the actual operation of dockerCentOS7 system environment configuration to prepare for later installation of docker. 0 optimize the environment Directly copy the following code to optimize the environment. If the code is executed, the next steps 1 and 2 can be omitted. sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/’ /etc/selinux/config &> /dev/nullsetenforce 0systemctl stop firewalldsystemctl disable […]

  • Installation and use of Linux management tool cockpit

    Time:2021-7-27

    Installation of cockpit #Cockpit is installed by default in rhel8 system yum list|grep cockpit #Check whether the cockpit has been set to boot systemctl list-unit-files|grep cockpit #Set cockpit boot systemctl enable –now cockpit.socket #View cockpit running status systemctl status cockpit.service #Start service systemctl start cockpit.service #View cockpit running status systemctl status cockpit.service #Check whether cockpit […]

  • Actual deployment of private cloud network disk for Linux system

    Time:2021-7-24

    ​​Owncloud is a file hosting service software, which is the cloud storage we usually use. However, it is to establish its own private cloud on its own host server, and owncloud uses AGPLv3 protocol to publish. This project is based on PHP and SQLite, mysql, Oracle or PostgreSQL databases, so it can run on all […]

  • How to deal with the problem when using air to realize hot overload

    Time:2021-7-23

    staycourseThe following errors will appear when you directly execute air according to the tutorial, $ air __ _ ___ / /\ | | | |_) /_/–\ |_| |_| \_ v1.12.1 // live reload for Go apps, with Go1.14.0 watching . !exclude tmp building… go: cannot find main module, It needs to be done firstgo mod […]

  • Configuration and use of Linux Firewall

    Time:2021-7-20

    This paper mainly introduces three kinds of firewalls commonly used in Linux system, which can be accessed through thewhereis xxxCommand to see if the system has been installed 1、 Ubuntu comes with firewall UFW #Installation $ sudo apt install ufw #Turn on / off firewall (default setting is’ Disable ‘) $ sudo ufw enable|disable #Set […]

  • Fedora-workstation-live-33 virtual machine configuration network

    Time:2021-7-17

    Virtual machine network card connection set to “NAT mode” Go to the activity display application settings tab Click “Settings”, the first menu option is “network” configuration (Note: the blue box must be opened) Click the pinion icon corresponding to the NIC to enter the NIC configuration interface Details: display the interface of network connection information, […]

  • Basic use of systemctl command in Linux

    Time:2021-7-12

    1. Systemctl management instruction Basic grammar:Systemctl [start | stop | restart | status] service name systemctlThe service of command management/usr/lib/systemd/systemsee 2. Systemctl sets the self starting state of the service Systemctl list unit files [| grep service name](check the service startup status,grepCan be filtered) Systemctl enable service name(set the service to power on)3(no interface) and5(GUI) […]

  • Simple configuration of CentOS 7 docker firewall

    Time:2021-7-6

    Disable firewalld service systemctl disable firewalld systemctl stop firewalld Install iptables firewall service yum install iptables-services Create iptables configuration script cat >> /usr/local/bin/fired.sh <<‘EOF’ #!/bin/bash iptables -F iptables -X iptables -Z iptables -P INPUT DROP iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT iptables -A INPUT -i lo -j ACCEPT iptables -A INPUT -i eth0 […]