草庐IT

re-install

全部标签

Installation Jenkins-2.361.2 on CentOS 7.9

一、InstallationJenkins-2.361.2onCentOS7.91地址https://www.jenkins.io/download2简介Jenkins是一个Java开发的开源持续集成工具,广泛用于项目开发,具有自动化构建、测试和部署等功能,它的运行需要Java环境。 二、JenkinsRedhatPackagesTousethisrepository,runthefollowingcommand:sudowget-O/etc/yum.repos.d/jenkins.repohttps://pkg.jenkins.io/redhat-stable/jenkins.reposud

Installation Jenkins-2.361.2 on CentOS 7.9

一、InstallationJenkins-2.361.2onCentOS7.91地址https://www.jenkins.io/download2简介Jenkins是一个Java开发的开源持续集成工具,广泛用于项目开发,具有自动化构建、测试和部署等功能,它的运行需要Java环境。 二、JenkinsRedhatPackagesTousethisrepository,runthefollowingcommand:sudowget-O/etc/yum.repos.d/jenkins.repohttps://pkg.jenkins.io/redhat-stable/jenkins.reposud

Installation Nginx-1.22.0 on CentOS 7.9

一、InstallationNginx-1.22.0onCentOS7.91地址http://nginx.org/en/download.htmlhttp://nginx.org/en/linux_packages.html#RHEL2安装前的准备###操作系统内核版本uname-a###操作系统发行版本cat/etc/redhat-release在安装Nginx之前,需要确保安装Nginx所依赖的其他程序,执行下面的命令,安装或更新相应的程序。###dnfinstall-ygcc-c++makeopensslopenssl-devellibxml2libxml2-devellibxslt-d

Installation Nginx-1.22.0 on CentOS 7.9

一、InstallationNginx-1.22.0onCentOS7.91地址http://nginx.org/en/download.htmlhttp://nginx.org/en/linux_packages.html#RHEL2安装前的准备###操作系统内核版本uname-a###操作系统发行版本cat/etc/redhat-release在安装Nginx之前,需要确保安装Nginx所依赖的其他程序,执行下面的命令,安装或更新相应的程序。###dnfinstall-ygcc-c++makeopensslopenssl-devellibxml2libxml2-devellibxslt-d

Installation ELK-7.8.1 on CentOS 7.9

一、InstallationELK-7.8.1onCentOS7.9地址https://www.elastic.cohttps://www.elastic.co/cn/downloads/past-releaseshttps://github.com/elastichttps://github.com/medcl/elasticsearch-analysis-ikhttps://www.elastic.co/guide/en/logstash/7.8/index.html 二、安装准备JDK11+:由于elasticsearch运行需要JDK环境,如果JDK低于1.8会有一些问题。future

Installation ELK-7.8.1 on CentOS 7.9

一、InstallationELK-7.8.1onCentOS7.9地址https://www.elastic.cohttps://www.elastic.co/cn/downloads/past-releaseshttps://github.com/elastichttps://github.com/medcl/elasticsearch-analysis-ikhttps://www.elastic.co/guide/en/logstash/7.8/index.html 二、安装准备JDK11+:由于elasticsearch运行需要JDK环境,如果JDK低于1.8会有一些问题。future

Installation FastDFS-6.08 on CentOS 7.9

一、InstallationFastDFS-6.08onCentOS7.9地址https://github.com/happyfish100http://nginx.org/en/download.htmlwget下载wgethttps://github.com/happyfish100/libfastcommon/archive/refs/tags/V1.0.57.tar.gzwgethttps://github.com/happyfish100/libserverframe/archive/refs/tags/V1.1.15.tar.gzwgethttps://github.com/hap

Installation FastDFS-6.08 on CentOS 7.9

一、InstallationFastDFS-6.08onCentOS7.9地址https://github.com/happyfish100http://nginx.org/en/download.htmlwget下载wgethttps://github.com/happyfish100/libfastcommon/archive/refs/tags/V1.0.57.tar.gzwgethttps://github.com/happyfish100/libserverframe/archive/refs/tags/V1.1.15.tar.gzwgethttps://github.com/hap

Python中 re.compile 函数的使用

以下介绍在python的re模块中怎样应用正则表达式1.使用re.compilere模块中包含一个重要函数是compile(pattern[,flags]),该函数根据包含的正则表达式的字符串创建模式对象。可以实现更有效率的匹配。在直接使用字符串表示的正则表达式进行search,match和findall操作时,python会将字符串转换为正则表达式对象。而使用compile完成一次转换之后,在每次使用模式的时候就不用重复转换。当然,使用re.compile()函数进行转换后,re.search(pattern,string)的调用方式就转换为pattern.search(string)的调用

Python中 re.compile 函数的使用

以下介绍在python的re模块中怎样应用正则表达式1.使用re.compilere模块中包含一个重要函数是compile(pattern[,flags]),该函数根据包含的正则表达式的字符串创建模式对象。可以实现更有效率的匹配。在直接使用字符串表示的正则表达式进行search,match和findall操作时,python会将字符串转换为正则表达式对象。而使用compile完成一次转换之后,在每次使用模式的时候就不用重复转换。当然,使用re.compile()函数进行转换后,re.search(pattern,string)的调用方式就转换为pattern.search(string)的调用