autoDevops,CI,CD
1.yum install -y epel-release wget unzip #安装EPEL源2.yum -y update && systemctl reboot #启动EPEL源3.yum install mongodb-server #安装mongodb服务4.firewall-cmd --permanent --add-port=27017/tcp #开启防火墙端口5.firewall-cmd --reload #重启防火墙 6.systemctl enable mongod &nb...
Installing PHP 5.4 on RHEL 6 and CentOS 6Red Hat Enterprise Linux and CentOS 6 still ship with PHP 5.3. ownCloudrequires PHP 5.4 or better. There are several third-party repositories thatsupply PHP 5.4, but you must use the Software Collections (SCL) repository tobe in compliance with your RHEL support contract, and not any other third-partyrepository.RHEL 6Follow these steps to install PHP 5.4 from SCL. First you must useyour Subscription Manager to enable SCL:subscription-manager repos --enable rhel-server-rhscl-6-eus-rpms
Then install PHP 5.4 and these modules:yum install php54 php54-php php54-php-gd php54-php-mbstring
You must also install the updated database module for your database. Thisexample installs the new PHP 5.4 module for MySQL/MariaDB:yum install php54-php-mysqlnd
Disable loading the old PHP 5.3 Apache module:mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php53.off
You should now have a /etc/httpd/conf.d/php54-php.conf file, which loads thecorrect PHP 5.4 module f...
openssl又被爆出新漏洞(CVE-2016-2107)(升级脚本)OpenSSl 密码库的维护人员发布了一个高危安全漏洞的补丁(CVE-2016-2107),这个漏洞可以让攻击者在web服务器上解密登录证书或者执行恶意代码。当连接使用AES CBC加密并且服务器支持AES-NI的情况下,中间人攻击者可以使用padding oracle攻击来解密流量。填充检测被重写来确保读取的字节总是相同的,并且对MAC和填充字节进行比较。但它不再检查是否有足够的数据来包含MAC和填充字节。影响:高危修复方案:OpenSSL 1.0.2 用户请更新到1.0.2h版本OpenSSL 1.0.1 用户请更新到1.0.1t版本https://www.openssl.org/news/vulnerabilities.html#y2016----------------------------分割线登录SSH上操作wget http://down.wdlinux.cn/in/openssl201605.shsh openssl201605.sh如果能顺利执行完成,不出什么错,就升级完了
How to install Ioncube Loader PHP on Linux Ubuntu Ioncube Loader Extenion allows to run encoded PHP scripts by Ioncube Encoder.Ioncube Loader Extension – extension which starts witch PHP process that can read and run encoded files. The extension is free.Ioncube Encoder – software that allows encode and obfulscate PHP scripts using license key to description.This tutorial shows how to install Ioncube Loader Extension.1. Download Ioncube loader extension.Go to the http://www.ioncube.com/loaders.php url and locate your proper platofrm version.If you are not sure what platform (x86 or 64-bit, TS or NTS ) you need, just run phpinfo() and read from “System” and “PHP Extension Build”. For example this entry looks like:System: Linux athlan-VirtualBox 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64PHP Extension Build: API20121212,NTSI am using 64-bit platform, NTS (non-thread safe).So copy proper link and call:wget http://downloads3.ioncube.co...
Touchscreen This page is a documentation of my dealings with various touchscreen devices I've encountered. In my experience, most modern devices work out of the box with both 10.04 LTS or 12.04 LTS, but lack the proper calibration or configuration. Some older devices, especially those embedded in laptops such as GD Itronix line of rugged computers, use serial interfaces which lack the configuration to work in Linux. The methods documented here should work with other distros as well. Global Dynamics Itronix GoBook XR-1This is a rugged laptop I picked up from ebay for a good price, which the seller wiped with Ubuntu 10.04 due to the expense of Microsoft's Windows relicensing fee. The device has an integrated serial touchscreen, and the manufacturer is notorious for hiding any and all documentation on legacy devices such as this one. With a little trial and error however, it's relatively simple to configure this and similar devices. This method should work for most G...
RedHat7.1系统配置pptp client客户端拨号VPN由于 RedHat7.1系统非常古老,所以连系统盘基本上都找不到了。好在找到了pptp client的安装源码包。wget http://downloads.sourceforge.net/project/pptpclient/pptp/pptp-1.8.0/pptp-1.8.0.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fpptpclient%2Ffiles%2Fpptp%2Fpptp-1.8.0%2F&ts=1462894082&use_mirror=tenet从这里下载好软件安装包,查看安装包的install安装说明Installation Instructions - Brief 1. install pppd (with MPPE if you require it), 2. if pppd is not in /usr/sbin, edit Makefile, variable PPPD, 3. 'make' 4. 'make install'Installation Instructions - Detailed 1. install PPP, and make sure it is working. On most distributions, use the package called ppp or pppd. If your PPTP server requires MPPE, make sure the pppd program  ...
Centos6.6 64位服务器修改MAC地址/etc/sysconfig/network-scripts/ifcfg-eth0HWADDR=00:24:E8:63:7A:05修改为:HWADDR=00:24:E8:63:7A:08这里重启网络,会有如下提示,实际修改未成功:[root@ns1 ~]# /etc/init.d/network restartShutting down interface eth0: Device eth0 has MAC address 00:24:E8:63:7A:05, instead of configured address 00:24:E8:63:7A:08. Ignoring. [FAILED]Shutting down loopback interface: [ OK ]Bringing up loopback interface: &...
把原来的yum源卸载掉# rpm -qa | grep yum | xargs rpm -e –-nodeps 添加并安装下载的yum的rpm包 wget http://mirrors.163.com/centos/6.8/os/x86_64/Packages/python-urlgrabber-3.9.1-11.el6.noarch.rpm# rpm -ivh python-iniparse-0.3.1-2.1.el6.noarch.rpm # rpm -Uvh python-urlgrabber-3.9.1-11.el6.noarch.rpm # rpm -ivh yum-metadata-parser-1.1.2-16.el6.x86_64.rpm# rpm -ivh yum-3.2.29-40.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm[注]:最后这两个包必须同时安装,因两个是相互依赖关系。 添加163的yum源# cd/etc/yum.repos.d/# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo 修改CentOS6-Base-163.repo#CentOS-Base.repo## The mirrorsystem uses the connecting IP address of the client and the# update statusof each mirror to pick mirrors that are updated to and# geographicallyclose to the client. You should use thisfor CentOS updates# unless you aremanually picking other mirrors.## If the mirrorlist=does not work for ...
Rsync+sersync环境:centos 7 or centos 7.1 x64前言:一、为什么要用Rsync+sersync架构?1、sersync是基于Inotify开发的,类似于Inotify-tools的工具2、sersync可以记录下被监听目录中发生变化的(包括增加、删除、修改)具体某一个文件或某一个目录的名字,然后使用rsync同步的时候,只同步发生变化的这个文件或者这个目录。二、Rsync+Inotify-tools与Rsync+sersync这两种架构有什么区别?1、Rsync+Inotify-tools(1):Inotify-tools只能记录下被监听的目录发生了变化(包括增加、删除、修改),并没有把具体是哪个文件或者哪个目录发生了变化记录下来;(2):rsync在同步的时候,并不知道具体是哪个文件或者哪个目录发生了变化,每次都是对整个目录进行同步,当数据量很大时,整个目录同步非常耗时(rsync要对整个目录遍历查找对比文件),因此,效率很低。2、Rsync+sersync(1):sersync可以记录下被监听目录中发生变化的(包括增加、删除、修改)具体某一个文件或某一个目录的名字;(2):rsync在同步的时候,只同步发生变化的这个文件或者这个目录(每次发生变化的数据相对整个同步目录数据来说是很小的,rsync在遍历查找比对文件时,速度很快),因此,效率很...
总共67页,当前第15页 | 页数: - 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
最新评论