"Linux Basics" 23, SELinux Basics

I. Overview of SELinux1. SELinux IntroductionSeliunx: Secure Enhanced Linux security-enhanced Linuxis a security module for mandatory access control of Linux developed by NSA "nsa=the National security agency" and SCC (Secure Computing Corporation).

[Linux] mail commands, access to mailboxes and delete messages

1. Command line Input Mail2. Delete messagesD Delete the current message, the pointer moves down;d 1 Delete the message labeled 1;D 2-4 Delete the message labeled 2 to 4;3. SaveQ quit the mail command platform to save previous operations, such as

Linux Open Firewall

Turn on the firewallFirewall does not take effect immediately after we have modified some configurations (especially configuration file modifications). There are two ways to activate the latest configuration systemctl restart firewalld and

Linux deployment pxe+kickstart Batch install Linux operating system

EnvironmentSystem centos6.6 No graphical interfaceIP 192.168.2.1System centos7.2 with graphical interfaceThe following command executes on the centos6.61, yum-y install dhcp* tftp* vsftpd* syslinux #安装一些软件2. Vim dhcpd.confSubnet192.168.2.0Netmask255

Remote copy of Linux SCP server

sin

First, copy the native files to the remote server#scp/home/administrator/news.txt [Email protected]:/etc/squid/home/administrator/absolute path to local filesNews.txt The local file to be copied to the serverRoot logs on to the remote server through

The method of compressing and decompressing under Linux

Linux zip commandZip-r myfile.zip./*All files and folders under the current directory are compressed into myfile.zip files, and-R indicates that all files in the subdirectory are compressed recursively.2.unzipUnzip-o-d/home/sunny Myfile.zipUnzip the

LINUX btmp Logs (LASTB command)

Linux under/var/log/btmp file:Today, check the server, found that the/var/log/btmp log file is relatively large, search, this file is log error logging, that is, there are many people trying to log into the SSH service using a password dictionary,

1-1 Linux System Installation

When you configure a network under a virtual machinerhel7.2 InstallationNew Virtual machineMemory 2G CPU 1 Core 2-wire HDD 20GSave as a single file using the ISO Mirror bridge adapterBoot interface:? Install Red Hat Enterprise Linux 7.2 Installation

Linux system boot level and order

Linux system has 7 runlevel (runlevel)RunLevel 0: System down state, system default RunLevel cannot be set to 0, otherwise it will not start normallyRunLevel 1: Single User working status, root privilege, for system maintenance, remote login

Docker's Linux Cgroups

Linux cgroups IntroductionThe above is the namespace technology for building Linux containers, which helps isolate the process from its own space, but how does docker limit the size of each space and ensure that they don't scramble for each other?

Linux OD command detailed

function Description:Output file contents.Syntax:od [-abcdfhilovx][-a ][-j ][-n ][-s ][-t ][-w ][--help][--version][file ...]Additional notes:The OD instruction reads the contents of the given file and renders its contents in octal

Pipelines and redirects in Linux

I/O redirection:Linux: : Overwrite output >>: Append output SET-C: Disable overwrite redirection for existing files, and force overwrite output, use >| Set +c: Turn off the above features 2>: Redirect Error output 2>>: Append

LINUX Common Command PS detailed

PS Common CommandsPs-u CeshiTo view the situation of a specific user (Ceshi) sessionPS aux | grep nginxFind Nginx's processPa-ef | grep nginxFind Nginx's processPs-aux | LessView resource-consuming processes through CPU and memory

Linux under Bash:scp:command not found problem or install SSH packet times wrong requires:libedit.so.0 () (64bit)

One, using the SCP command to transfer files from the physical host to the CentOS 6.1 virtual machine, the following error is indicated:Bash:scp:command not foundThe SCP command is also missing from the CentOS 6.1 virtual machine view.The virtual

Automatic generation of Linux device files

The first is the use of Mknod manual Create: # mknod the second is self - Create device node: using udev (Mdev) to automate the creation of device files, first of all ensure that Udev (Mdev) is supported and configured by BusyBox.Specific UDEV

Linux all network adapter Statistics View Small command

command to use:1[Email protected] home]#ifconfig-A |grep 'Link EnCap'-a1|grep-V-|awk-V aa=1-V a1=0 'begin{print "---------------------------------------------------------\n| Device\t| Ipaddr\t\t| Bcast\t\t| mask\t\t|\n--------------------------------

Install tessrect-ocr in centos

Install tessrect-ocr in centos Installation of tessrect-ocr and training tools in centos Recently, we have to build a tessrect-ocr and training tool on the server to build a training webpage: Http: // 115.159.205.168/ocr_php/public/index. php The

Install the extension for PHP 7 in centos 7

Install the extension for PHP 7 in centos 7Environment Description: System Environment:System:CentOS Linux release 7.2.1511 (Core)GCC version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)LNMP environment:Nginx version:1.10.2PHP version:PHP 7.1.0

How to decompress Or package files in linux and decompress files in linux

How to decompress Or package files in linux and decompress files in linux Use the tar command to compress or decompress the package. Format: tar [Option] [file] Package and compress the file: tar-czvf compressed package name .tar.gz Decompress

Delete the Ubuntu startup item in a dual-system (Windows and Ubuntu ).

Delete the Ubuntu startup item in a dual-system (Windows and Ubuntu ). Problem Overview: When I learned Linux, I deleted a kernel driver of Ubuntu according to the online tutorial, which made Ubuntu unable to start. The solution I came up with was

Total Pages: 5467 1 .... 1838 1839 1840 1841 1842 .... 5467 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.