1. The following information should be clarified before the spnego mechanism of Domino 8.5.1 is realized:
· A Microsoft Windows Active Directory domain server (BYSFT-DC). Bysft. Local), provides the Kerberos Key Allocation Center service and the LDAP service.
· Domino 8.5.1 Server (bysft-mail01. Bysft. Local) is running on a Windows machine, and this machine is
Centos7/Active Directory authentication using nss-pam-ldapd,
Centos uses an AD account for verification. There are many online queries, including samba + winbind, sssd, nss-pam-ldapd, and other methods. Today, we will introduce how to use nss-pam-ldap to verify the Active Directory account.
I. experiment environment:
Long time no update, recently engaged in some of the Linux things, PowerShell also delayed, update the directory of activities to organize the script for you to reference.Demand:One, the domain computers and personnel to move to the corresponding branch of the OU (each OU Group Policy is different)Second, delete password expires more than one year of usersThird, delete the disabled accountKeyword: move-adob
, Dmtsai's active group becomes users. We're going to talk about NEWGRP This command, which can change the current user's active group, and is another shell to provide this function, so, in the above example, Dmtsai This user is currently landing with another shell, and the new shell Give Dmtsai effective GID as users. If you look at the diagram, it looks like this:Although the user's environment configurat
gcc53Ln-s/usr/local/gcc-5.3/bin/g++ g++53This allows you to use gcc53 g++53 to invoke the program, and the old version of gcc,g++ can still be applied.For the library path also need to be set, so that in the call library functions can be applied to the new version of the compiler's library functions, in the Etc/profile file for root permissions to add the following codeexport LD_LIBRARY_PATH=/usr/local/gcc-5.3/lib:/usr/local/gcc-5.3/lib64:$LD_LIBRARY_PATHLog off and log back on to make the var
In Linux, Mysql is mutually active/standby.
System Environment: CentOS 6.5
Master1: 192.168.100.204
Master2: 192.168.100.205
Mysql version: mysql-5.6.19
Note: The configuration methods for versions earlier than mysql 5.5 and later are different.
Install the following two nodes:
1: Firewall opens the corresponding port
#/Sbin/iptables-I INPUT-p tcp -- dport 3306-j ACCEPT
#/Etc/rc. d/init. d/iptables save
2
The/usr file system is often large because all programs are installed here. All files in/usr typically come from Linux distribution, locally installed programs and other things under/usr/local. This may not require reinstalling all of the programs when upgrading a new version of the system or distribution./usr/bin : The directory where binary executable files are stored, with most of the applications in pla
" meaning, and-not is the same.
11. Find the files below/etc with a capacity greater than 1500KB and a capacity equal to 0.This is the word "and", according to the meaning of the topic to understand, should be "or" meaning, otherwise there is no more than 1500KB and equal to 0 of the document it? So here you can use the-o parameter.[Email protected] ~]# find/etc-size +1500k-o-size 0k/etc/environment/etc/selinux/targeted/modules/active/netfilter
plain text configuration file/home:User's home directory, each user's home directory usually defaults to/home/usernameIn its own home directory is full of permissions, the root of the user's home directory is/rootThe root user's home directory is/root.The root user at work
/etc/sysconfig/Table of contents detailed2010-06-19 11:12 6693 People read Comments (1) favorite reports Desktop environment Debugging Firewall Serviceunix languageThe/etc/sysconfig/directory includes various system profiles under Red Hat Enterprise Linux, and the following is a list of files in the/etc/sysconfig/directoryIf some of the files listed here do not appear in your/etc/sysconfig/
Linux directory Knowledge650) this.width=650; "Src=" HTTPS://SS1.BDSTATIC.COM/70CFUXSH_Q1YNXGKPOWK1HF6HHY/IT/U=3423881200,158360791FM =15gp=0.jpg "alt=" U=3423881200,158360791fm=15gp=0.jpg "/>1th Section View Linux Directory[[email protected]/]# tree-l 1 #Section 2nd features of the
System│├var/Dynamic Data│├temp/Temporary files├lost+found/Disk repair Files
START Process
Linux systems are started primarily with the following steps:
1. Read the MBR information and start boot Manager
Windows uses NTLDR as the boot Manager, and if you have multiple versions of Windows installed on your system, you will need to select the system you want to enter in NTLDR.
Linux typically u
To learn about Linux files and directories, you should first look at relative paths and absolute paths.Absolute path: The path must be written by the root directory, such as/DEV/SDA.Relative path: The path is not written by/write (relative to the path of the current directory), for example:./dev.Several common ways to represent relative paths:.. /: Parent
changes successfully.Then move your project to the configured directory. Changes to the Apache root directory under Linux: 1. Modify the path in the DocumentRoot and directory, and restart it directly in the/etc/httpd/conf/httpd.conf.2. However, after the modification, the path is correct, and the
dir2 Copy Entire Directory
Cp-f Dir1 dir2-f is forced to overwrite files that are already pure in
Link
Symbolic links, i.e. soft connections
Cp-s test1 test5 ln-s test1 test5
Hard links,
Creates a separate file that contains the information and location of the original file. Referencing a hard-link file is equivalent to referencing the original file: cp-l test1 test4 ln test1 test4 test1 and
OriginalFirst, the purposeWhen using the CentOS6.3 version of the Linux system, found that the root directory (/) is not enough space, and other directory space is very free, so this article is mainly for the existing space to adjust. First, let's look at the spatial distribution of the system:
[Email protected]/]# df-h
Filesystem Size used Avail use% mount
prompt whether to remove y delete n do not delete[[email protected] tmp]# Touch 11[[email protected] tmp]# RM 11Rm:remove Regular empty file ' 11 '? Nrm-f Add F Force Delete file , does not prompt/bin/rm 11 Direct Plus Absolute path , delete files directly won't prompt[[email protected] tmp]# rm-f 11[[email protected] tmp]#/bin/rm 11Add parameter rm-r after deleting folder [email protected] tmp]# RM aa #直接删除文件夹会提示是一个目录Rm:cannot remove ' AA ': is a directoryRm-r BB Delete folder will prompt whe
I. Purpose
When using the CentOS6.5 version Linux system, found that the root directory (/) of the space is not sufficient, and other directory space has a lot of free, so this article is mainly for the existing space to adjust. First, let's look at the space allocation of the system: [Root@innoplay01 ~]# lsb_release-aLSB Version:: base-4.0-amd64:base-4.0-noarch:
View Kernel versionUname-rUname-aTo view the current Linux system version:Cat/etc/redhat-releaseTo view the size of a directoryDu/home-sh#env View Environment variables#lsmod View kernel-loaded service modules#du-sh usr to view the size of the specified directory#uptime View System uptime, number of users, load[Email protected]/]# uptime17:42:08 up, 6:47, 1 user, load average:0.01, 0.02, 0.05InternetIFCONFI
I. Purpose
When using the CentOS6.3 version Linux system, found that the root directory (/) of the space is not sufficient, and other directory space has a lot of free, so this article is mainly for the existing space to adjust. First, let's look at the space allocation of the system:
[Plain] View plaincopyprint?
01.[root@centos-78/]# df-h
02.Filesystem
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.