autoDevops,CI,CD
如果不能正常升级或遇到问题,可联系我们WDCP升级PHP5.5的方法:wget http://soft.itbulu.com/wdcp/php_up55.shsh php_up55.sh下载以及运行PHP5.5,看到下面的界面,我们需要输入y确认开始安装。我们后面做的就是等待,大概需要十几或者二十几分钟,需要工具我们VPS性能决定。总之,我们等待就可以,看到下面的界面,就代表安装成功。这时候我们已经看到升级完毕,如果为了确保系统的正常,我们可以重启VPS,然后再看看探针是否已经升级完成。备注说明:在升级PHP之前,我们VPS主机需要已经安装了官方最新版本WDCP面板后才可以升级(WDCP面板安装方法)。下面的是具体升级脚本。#!/bin/bash# PHP 5.5 update scriptsif [ ! $1 ];then Ver=5.5.9else Ver=$1fiDebugfile=20121212echo "THANK YOU FOR USING UPDATE SCRIPT MADE BY HTTP://WWW.AREFLY.COM & HTTP://WWW.ITBULU.COM"echo "YOU ARE GOING TO UPDATE YOUR PHP TO ${Ver}"echo "YOU CAN JUST HAVE A REST"echo "IT MAY TAKE A LOT OF TIME"echo#read -p "PRESS ENTER IF YOU REALLY WANT TO UPDATE"re...
这几天老蒋都在折腾WDCP面板环境,这些东东看似比较简单,而且也提供一键安装包以为就这么安装就完事,但真正遇到问题是在过程中。比如一个朋友的网站程序需要支持pdo_mysql组件才可以安装,而且之前告诉我是只要PHP5.3版本就可以,我也帮他安装了PHP5.3(WDCP升级PHP5.3),但是查阅网上的很多教程都无法再PHP5.3的基础上安装PDO_MYSQL组件。今天从上午到下午,在网友的帮助以及查阅且翻遍所有的网络教程,都没有解决99.999%都是错误误导大家的,比如下载所谓的PDO_MYSQL-1.0.2文件,然后进行安装编译,都是错误的。这里老蒋整理了最为完整的教程,让我们在升级PHP5.3的时候一并安装PDO_MYSQL。需要注意的:我们默认安装的WDCP是PHP5.2版本,不要急着升级,我们直接下面下面的升级包,升级的时候直接就可以安装PDO_MYSQL。wget http://soft.itbulu.com/wdcp/php_up53.shsh php_up53.sh执行上面的脚本,我们需要等待之后PHP版本就会升级到5.3,而且我们可以看到探针中已经支持PDO_MYSQL,而且无需修改任何文件。下面的内容是具体升级脚本.#!/bin/bash###yumyum install -y libmcrypt-devel libjpeg-devel libpng-devel freetype-devel curl-devel openssl-devel libxml2...
Windows 2008r2 - IIS 7.5 - Tomcat 715 Apr 2013. How to install Tomcat 7 on a Windows server 2008r2 with IIS 7.5. While I assume you already have a windows server 2008r2 with IIS 7.5 up and running, this document is a step-by-step tutorial installing Tomcat.What Tomcat isInstall TomcatInstall Tomcat as a Windows ServiceUse IIS as webserver frontend for TomcatBonus : Hello World examples (JSP, JavaBean, Servlet, SqlServer)Appendix : Acronyms & ConceptsAppendix : Common Errors & SolutionsCommentsWhat Tomcat isIn short Tomcat is a server that executes Java Servlets and JSP web pages.Tomcat consist of 3 main components :Catalina : module that executes Java code servlets.Jasper : module that parses JSP files and compile them into Java code servlets, thereby making it possible for Catalina to execute them.Coyote : module that listens for http traffic default on port 8080, forwards requests to Tomcat for processing and sends back the result to the requesting client.In addition several...
一、JDK1.7安装1、下载jdk,下载地址:http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html2、添加系统环境变量,我的电脑->属性->高级->环境变量(如果添加的环境变量已经存在,点击“编辑”添加,否则点击“新建”添加)(1)变量名: JAVA_HOME 变量值: D:\Program Files\Java\jdk1.6.0_29(点击“新建”,输入变量名、变量值,变量值末不需要分号)(2)变量名: CLASSPATH 变量值: D:\Program Files\Java\jdk1.6.0_29\lib\dt.jar;D:\Program Files\Java\jdk1.6.0_29\lib\tools.jar(“新建”,变量值末不需要分号)(3)变量名: Path 变量值: D:\Program Files\Java\jdk1.6.0_29\bin(“编辑”,变量值使用英文分号隔开,变量值末不需要分号)3、“开始”->“运行”->输入cmd,在命令提示符中输入“java -version”,“java”,“javac”几个命令,出现画面,说明环境变量配置成功二、Tomcat7.0.22安装配置1、下载tomcat7.0.22 下载地址:http://tomcat.apache.org/download-70.cgi2、添加系统环境变量,我的电脑->属性->高级系统设置-...
ubuntu下安装l2tp进行vpn拨号 Connecting to a L2TP/IPSec VPN from Ubuntu desktop In my previous post, “Secure IPsec/L2TP VPN for on the road android devices” I have written on how to set up an IPsec/L2TP VPN server and connect to it from any android device. I was really impressed how simple it was to configure a secure VPN tunnel with IPSEC, so I decided to go a bit further and try to use the same tunnel with Ubuntu Desktop. Unfortunately the IPsec/L2TP client side isn’t well supported under Linux, this is maybe beacuse everyone is using OpenVpn. At the end I stumbled into Werner Jaeger launchpad page, where I found aGUI to manage IPsec/L2TP connection from Ubuntu Desktop, the connection set up is very straightforward and without glitches. Along with a simple PSK configuration, the GUI allow to use certificate for authentication and more advanced L2TP options as redial- timeout and attempts and of course all important PPP options.A more extended guide can be found...
centos默认使用UTC时区,中国用户需要修改成自己的时区,这篇文章主要介绍了centos更改时区的方法,需要的朋友可以参考下对于中国用户,如果centos默认使用UTC时区,那时间相差八个小时,其实可以通过简单的设置,变为中国时区,这时候机器上的时间和本地手表上的时间就是一致的。执行如下命令:cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime就可以了,如果没有看到/Asia/Shanghai文件,手动执行以下 tzselect ,按照提示选择即可。完毕![root@oracle ~]# timedatectl Local time: 五 2015-11-06 16:32:18 CST Universal time: 五 2015-11-06 08:32:18 UTC RTC time: 五 2015-11-06 08:32:23 Timezone: Asia/Shanghai (CST, +0800) NTP enabled: yesNTP synchronized: yes RTC in local TZ: yes DST active: n/aWarning: The RTC is configured to maintain time in the local timezone. This mode is not fully supporte...
用tzselect和tzconfig可以设置时区。于是,先用tzselect试了下,结果提示什么root@ubuntu:etc# tzselect /usr/bin/tzselect: line 171: /etc/iso3166.tab: No such file or directory/usr/bin/tzselect: time zone files are not set up correctly在网上找了下资料没什么头绪,又试了下tzconfig,结果又提示WARNING: the tzconfig command is deprecated, please use: dpkg-reconfigure tzdataCentos 系统可以使用yum reinstall tzdata 重新安装软件包。最后用dpkg-reconfigure tzdata才成功了,接下来再配置好/etc/ntp.conf才算结束。 #server 0.ubuntu.pool.ntp.org #server 1.ubuntu.pool.ntp.org #server 2.ubuntu.pool.ntp.org #server 3.ubuntu.pool.ntp.org server ntp.sjtu.edu.cn
ESXI VMotion fails at 10% with a memory resource error (1006408) Symptoms VMotion fails at 10% Cannot power on virtual machineThe vmware.log file for the virtual machine that fails to migrate contains messages similar to:Jul 17 09:21:31.809: vmx| [msg.vmmonVMK.admitFailed] Could not power on VM : Admission check failed for memory resourceJul 17 09:21:31.809: vmx| Please refer to the VMware ESX Server Resource Management Guide for information on resource management settings.Jul 17 09:21:31.809: vmx| [msg.monitorLoop.createVMFailed] Failed to power on VM----------------------------------------Jul 17 09:21:31.825: vmx| Module MonitorLoop power on failed. Resolution The message Admission check failed for memory resource indicates that the destination host is unable to accept the virtual machine because of a resource constraint. You must check resource settings and change the settings if necessary: To check resource settings:From the Inventory pane in VMware Inf...
最新评论