Centos7 Builds Samba Server
1. Preparations
Close the firewall
Close selinux
systemctl stop firewalld.service
setenforce 0 && getenforce && \cp /etc/selinux/config{,.ori} && grep -q "SELINUX=disabled" /etc/selinux/config || sed -i 's%SELINUX=enforcing%SELINUX=disabled%g' /etc/selinux/config
2.Yum installs Samba packages ...
Posted by stockdalep on Sun, 27 Jan 2019 00:03:16 -0800
Linux System Status View Command 1
Mission 23 October
1 0.1 Use w to view system load
10.2 vmstat command
10.3 top command
10.4 sar command
10.5 nload command
View System Load
w command
# Line 1: Current system time, system start-up time, logged-in users, system load: 1 minute, 5 minutes, 15 minutes
[root@centos7 ~]# w
20:54:14 up 5 min, 1 user, load average: ...
Posted by curt3006 on Sat, 26 Jan 2019 12:45:14 -0800
kubernetes Authoritative Guide Reading Notes (1) -- Building Basic Services, Pod and Visiting
Close the firewall
systemctl status firewalld
systemctl disable firewalld
systemctl stop firewalld
Systemctl is a system D tool, which is mainly responsible for controlling system D system and service manager.
Systemd is a collection of system management daemons, tools, and libraries to replace the initial process of System ...
Posted by Supernovas on Sat, 26 Jan 2019 12:21:14 -0800
w, vmstat, top, sar, nload commands to view system status information
w/uptime View System Load
Cat/proc/cpuinfo View cpu Number
Vmstat monitoring system status, usage vmstat 1, key columns: r, b, swpd, si, so, bi, bo, us, wa
top Views Process Usage Resources
Top-c displays detailed process information
Top-bn1 static display of all processes
q exits, number 1 shows all core cpu s, capital M sorted by memory usag ...
Posted by pengu on Sat, 26 Jan 2019 05:27:14 -0800
[git learning] An error occurred while restoring GitLab on the CenterOS system: tar: due to a previous error, unpacking backup failed
I. Problem Description
Today, after testing encrypted GitLab backup files, decrypting them, and then restoring GitLab, the recovery failed. The following error was reported:
tar: db: Unable mkdir: insufficient privilege
tar: db: Unable mkdir: insufficient privilege
tar: db/database.sql.gz: Unable open: No file or directory
ta ...
Posted by Panz3r on Sat, 26 Jan 2019 04:06:14 -0800
tomcat starts error reporting java.util.zip.ZipException: invalid LOC header (bad signature)
Deploying the war package to tomcat due to project needs, the start-up time is wrong:
31-Oct-2018 09:11:18.555 information [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [D:\Program Files\Apache Software Foundation\Tomcat 9.0_Tomcat9.0 ...
Posted by northstjarna on Wed, 23 Jan 2019 00:06:13 -0800
PXE+dhcp+tftp+http+kickstart batch network installation server
The pxe installation server written before forwarding: http://www.attacker.club/article/125
Service list
dhcp: Assign IP addresses, specify startup files and tftp service addresses
tftp-server: Transfer boot file
http: Publish the iso image of CD-ROM
pxelinux.0: The startup file of the system pxe is obtained by installing the syslinux packa ...
Posted by edcellgavin on Mon, 21 Jan 2019 18:57:12 -0800
Linux Network Related Knowledge
Mission 25 October
10.11 Linux Network Related
10.12 firewalld and netfilter
10.13 Netfilter 5 Table 5 Chain Introduction
10.14 iptables grammar
Linux network related commands
View network card information: ifconfig
Installation: Yum install-y net-tools
[root@centos7 ~]# ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MUL ...
Posted by jenniferG on Sat, 19 Jan 2019 09:18:13 -0800