在ubuntn下通过agp-get install
nginx就可以按照最新版本的nginx,很方便在ctentos和redhat下需要添加yum
仓库才能安装最新版的nginx,在/etc/yum.repos.d/目录下新建nginx.repo 文件输入以下内容就可以了:[nginx]name=n...
分类:
其他好文 时间:
2014-04-30 05:01:46
阅读次数:
477
--setgithubproxygitconfig--globalhttp.proxyhttp://user_name:user_pwd@user_ip:portgitconfig--systemhttp.sslcainfo/bin/curl-ca-bundle.crt--cancelproxygi...
分类:
其他好文 时间:
2014-04-30 01:13:49
阅读次数:
507
sudo update-grub运行结果:Generating grub configuration
file ...Warning: Setting GRUB_TIMEOUT to a non-zero value when
GRUB_HIDDEN_TIMEOUT is set is no lon...
分类:
其他好文 时间:
2014-04-28 13:01:32
阅读次数:
1053
默认情况下想通过在Tomcat下建立软连接来使tomcat上的应用引用该资源是不行的。会出现类似错误:java.lang.IllegalStateException:
ContainerBase.addChild: start: LifecycleException: start: : java.....
分类:
其他好文 时间:
2014-04-28 09:45:57
阅读次数:
642
在安装的tomcat的文件夹下有个conf文件夹下面有个server.xml文件,1.
使用80端口默认tomcat用的是8080端口。 把这个节点的8080修改成80端口,然后重新启动tomcat就可以 http://localhost
来访问tomcat的默认页面。2.新建网站和配置域名。在se...
分类:
Web程序 时间:
2014-04-28 07:56:05
阅读次数:
688
注意配置段中的区域包含关系.proxy_cache_patch
要在proxy_cache前已经定义.>>>> what seems to be the
problem?>>>>>>>> [emerg]: the size 52428800 of shared
memory zone "media"...
分类:
其他好文 时间:
2014-04-28 04:33:03
阅读次数:
1157
ubuntu下安装tomcat 问题解决方法
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/catalina/startup/Bootstrap : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)...
分类:
其他好文 时间:
2014-04-27 20:39:23
阅读次数:
595
github.com,作为程序员的代码仓库,我们经常会用到。但有时候我们不能直接通过网络链接它,只能通过代理。
这里我有一台代理服务器,起初我以为在终端设置了代理环境就行了,其设置为在你的~/.bashrc里增加以下几行:
export http_proxy="http://proxy-server:3128/"
export https_proxy="http://proxy-server:...
分类:
系统相关 时间:
2014-04-27 19:50:27
阅读次数:
1181