Centralized user management

Use / etc/sudoers to set user alias and command alias to set permissions and commands required by each user type to control user permissions and commands availablehost alias# Host_Alias FILESERVERS = fs1, fs2 User AliasGroup aliases # User_Alias ADMINS = jsmith, mikem # User_alias AdminsGroup=%xbin Command alias# Cmnd_Alias SOFTWARE = /bin ...

Posted on Sun, 12 Jan 2020 09:43:03 -0500 by sandsquid

CentOS 7.6 build WordPress blog

Demand: Build WordPress blog website due to the business needs of the company's Promotion Department Introduction: WordPress is a blog platform developed in PHP language. Users can set up their own websites on servers supporting PHP and MySQL databases. You can also use WordPress as a content management system (CMS).WordPress is a personal ...

Posted on Sun, 12 Jan 2020 08:36:19 -0500 by lehara

Operating system practice - preliminaries - FAT12 file system

Reference: http://www.disc.ua.es/~gil/FAT12Description.pdf floppy disk The file organization format of floppy disk is generally FAT12, and the organization unit is divided into: Partition: for example, C disk and D disk Cluster: the file allocates storage space in clusters. A cluster contains one or ...

Posted on Sun, 12 Jan 2020 03:52:41 -0500 by rane500

Open source project SMSS Development Guide -- thread pool based on libevent

Libevent is a set of lightweight network library, which is based on event driven development. It can realize multi-threaded multiplexing and register event response. This article introduces the basic functions of libevent and how to develop a thread pool with libevent. 1, Use guide Listen for service and register connection events Libevent is a ...

Posted on Sat, 11 Jan 2020 03:11:24 -0500 by tendrousbeastie

Brief introduction of MySQL 8.0 compilation and installation process

Environment: Centos8 minimize installation [root@Oracle2 ~]# cat /etc/redhat-release CentOS Linux release 8.0.1905 (Core) Note: do not compile MySQL 8 with the system below 8. There will be various error reports with different tool versions not high enough, which is very troublesome Mysql versionmysql-8.0.18 Step 1: install dependency packag ...

Posted on Fri, 10 Jan 2020 10:11:40 -0500 by ash4u

Docker - Cgroup Resource Limitation

Docker Cgroup Resource Configuration Method Cgroup is a mechanism provided by the Linux kernel to limit, record, and isolate the physical resources used by process groups Docker uses Cgroup to control the resource quotas used by containers, including cpu, memory, and disk. Docker basically covers common resource quotas and usage control Cgroup ...

Posted on Thu, 09 Jan 2020 20:50:18 -0500 by brax23

Centos7 Builds owncloud Cloud Storage

Beginning of this article: https://www.somata.work/2019/Centos7SetupOwncloudCloudStorage.html Prepare the necessary software and data first. Here I've sorted it out:Baidu Cloud SharingBut it's best to go online and online by yourself.Here's just a shortcut.owncloud: https://www.owncloud.org Installation of vmware and virtual machines will not ...

Posted on Thu, 09 Jan 2020 14:11:44 -0500 by gazalec

Pod Resource Object

Deployment, Service and Pod are the three core resource objects of k8s. Deployment: Controller for the most common stateless applications, supporting scaling of applications, rolling updates, etc. Service: Provides a fixed access interface for flexible, life-cycle PD objects for service discovery and service access. Pod: The smallest unit to r ...

Posted on Thu, 09 Jan 2020 11:50:20 -0500 by melittle

CentOS 7 viewing system version and number of digits

Identification standard First of all, we need to know what kind of identity is 32-bit and 64 bit. PC server X86 series I386--I686 are all 32 bits X86 ʄ is 64 bit Order is not too much, in order to prevent the obstacles of selectivity, choose the first method unanimously, the latter is only for supplement. Method 1: [roo ...

Posted on Wed, 08 Jan 2020 13:46:56 -0500 by mediamind

memcache high cluster architecture - (practice!)

Sketch Magent is an open-source proxy service software, through which we can realize the synchronization of cache data. Of course, the synchronization here does not mean that memcached can communicate with each other, but magent can connect multiple memcached nodes at the same time. Through the VIP bound by magent, log in to memcached from th ...

Posted on Wed, 08 Jan 2020 10:11:16 -0500 by swordske