CentOS 7 (7.1.1503) 163 Source
The 163 source of centos 7 was not found for a long time on the Internet, most of which only had 6 configurations. Write a code that can be used in 7. Pay attention to the next version. Replace it with your own version.[Html] view plaincopyprint?
[Base]
Name = CentOS-$ releasever-Base-163.com
# Items list = http://mirrorlist.centos.org /? Release = $ releasever arch = $ basearch repo = OS
Base url = http://mirrors.163.com/centos/7.1.1503/updates/x86_64
Gpgc
and use rpm for installation.
# rpm -ivh *.rpm# service salt-minion status|restart|stop
Appendix 1: epel. repo
[root@el5-test salt]# cat /etc/yum.repos.d/epel.repo [epel]name=Extra Packages for Enterprise Linux 5 - $basearchmirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5arch=$basearchfailovermethod=priorityenabled=1gpgcheck=0#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL[epel-debuginfo]name=Extra Packages for Enterprise Linux
belongs to the owner of the root and belongs to the group mail so file [[emailprotected]~]#find/var/ NBSP;-USERNBSP;ROOTNBSP;-GROUPNBSP;MAIL/VAR/SPOOL/MAIL/VAR/SPOOL/MAIL/ROOT3, find/usr/directory does not belong to the root, All files of bin or bjwf [[[Emailprotected]~]#find/usr/-not\ (-userroot -o-userbin-o-userbjwf\)/usr/local/nginx/usr/local/nginx/sbin/usr/ Local/nginx/sbin/nginx4, find files that have been modified in the/TMP directory for the last 7 days and that are not root and bjwf and
to the directory;2, can cross file system;3, will not increase the number of links linked to the file;4, the size of the specified path contains the number of characters;
Du: Show file sizeDu-s: Displays the entire directory size[Email protected] ~]# du-hs/etc/39m/etc/Du-h[Email protected] ~]# du-h/etc/324k/etc/pki/ca-trust/extracted/openssl184k/etc/pki/ca-trust/extracted/java620k/etc/
Linux configuration local Yum Cloud:First step: Mount the CD to the directory treeMount/dev/cdrom/mnt/mediaStep Two: Increase/etc/yum.repo.d/local.repoTouch/etc/yum.repo.d/local.repoVim/etc/yum.repo.d/local.repo [Local]name=extra Packages for Enterprise Linux 6-$basearchbaseurl =file:///mnt/media/failovermethod=priorityenabled =1gpgcheck=0gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-epel-6[highavailability]name=highavailabilitybaseurl= file:///mnt/medi
configuration and compilation of repo source
# Centos-base.repo
#
# The Mirror system uses the connecting IP address of the client and the
# Update status of each mirror to pick mirrors, are updated to and
# Geographically close to the client. You are should use this for CentOS updates
# Unless you are manually picking the other mirrors.
#
# If The mirrorlist= does not work for your, as a fall back you can try the
# remarked out Baseurl= line instead.
#
#
Name of [base]/Unique ID
n
can be generated on their own. Commercially, you typically provide your server or client certificate with a private key and certificate to request a CSR, or to pay a third-party organization to obtain a server certificate and a client certificate that is signed by the CA certificate. Preparatory work: Before the operation, it is better to open the openssl.conf file, view its dir path to modify it to Dir =/home/wjoyxt/democa/, otherwise the following steps will prompt the path cannot be found.
1. First create a private CA for 192.168.108.159#cd/etc/pki/ca# (Umask 077;openssl genrsa-out PRIVATE/CAKEY.PEM 2048)#ls private/#touch Index.txt#echo Index.txt2. Create a self-signed certificate on the server#openssl Req-new-x509-key private/cakey.pem-out cacert.pem-days 73003. Generate a Certificate signing request on the Web server, on the 192.168.108.160 virtual machine#cd/etc/httpd#mkdir SSL#cd ssl/# (Umask 077;openssl genrsa-out httpd.key 1024)/
Tags: EPO testing yum install Alter directory action failed RAC preEssentially, you set up a Yum source, and then Yum installs it. However, there are two ways to add a Yum source, one is to create a new/etc/yum.repos.d/mysql-community.repo, and the other is to install the Yum source using the RPM package provided by MySQL. The two are essentially the same. First Kind ①, New vim/etc/Yum. Repos.d/mysql-community.repo②, fill in the content [Email protected] ~]# vim/etc/Yum. repos.d/mysql-Community
Configuration Description:
1. iSCSI shared storage via Openfiler
2. Implement fence functionality through VMware ESXi5 virtual fence.
3. Combine Redhat 5.8 vmware-fence-soap to realize RHCs fence equipment function.
4. This article was originally created to build RHCS experimental environment test RHCs Oracle ha function.
This article link: http://koumm.blog.51cto.com/703525/1161791
I. Preparation of the basic environment
1. Network Environment Preparation
Node1,node2 node
# cat/etc/hos
Tags: mysqlWhen mysql/mariadb across the internet for replication, others can steal mysql/mariadb copy information, which is clear text, so there is no security, where the copied information through SSL encryption1. Create a certificate centerCreate a certificate center on the primary serverCD/ETC/PKI/CA
Generate private key
(umask 077;openssl genrsa-out private/cakey.pem 2048)
generate self-signed certificate
OpenSSL req-new- X509-key/etc/
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.