今天在CentOS下部署了一个Tomcat,启动没问题,但是外网不能访问,检查知防火墙开了。1.检查防火墙是否开启,执行/etc/init.d/iptables status如果有下面结果,表示防火墙开启。[root@yyl bin]# /etc/init.d/iptables status表格:f...
分类:
其他好文 时间:
2014-06-28 13:00:09
阅读次数:
186
安装apache:yum install httpd httpd-devel启动apache:/etc/init.d/httpd start此时输入服务器的IP地址,应该看到apache的服务页面,端口不用输,apache默认就是使用80端口安装mysql:yum install mysql mys...
分类:
Web程序 时间:
2014-06-28 12:24:21
阅读次数:
211
update-rc.d命令,是用来自动的升级System V类型初始化脚本,简单的讲就是,哪些东西是你想要系统在引导初始化的时候运行的,哪些是希望在关机或重启时停止的,可以用它来帮你设置。首先 我们需要在 /etc/init.d/目录下创建一个nginx的脚本文件,命令 vi nginx 输入以下内...
分类:
其他好文 时间:
2014-06-28 12:08:44
阅读次数:
281
案例环境: 启动一台数据库服务器(Windows Server 2003)的Reporting Service(SQL Server 2008 R2)服务时,出现如下错误信息: System.InvalidOperationException: Cannot start service Report...
分类:
其他好文 时间:
2014-06-23 08:24:07
阅读次数:
415
今天在进行代码检查的时候出现下面的异常:1 type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds int,java.lang...
分类:
编程语言 时间:
2014-06-23 08:05:13
阅读次数:
381
apt-get install lib32z1 如果libz.so.1: cannot open shared object file: No such file or directory在/etc/ld.so.conf中加入/usr/lib 增加类库所有路径 /sbin/ldconfig –v」来...
分类:
其他好文 时间:
2014-06-23 07:44:47
阅读次数:
306
Caught: System.InvalidOperationException: The argument of type 'XXX' cannot be used. Make sure that it is declared on an activity. at System.Activit.....
分类:
其他好文 时间:
2014-06-23 00:18:28
阅读次数:
230
public class InitServlet extends HttpServlet{ public static String root; @Override public void init() throws ServletException { ...
分类:
其他好文 时间:
2014-06-22 23:49:27
阅读次数:
203
Dropbox非常好用。可是我如今也没弄明确究竟哪里好用了。不如试试中国的金山快盘。。起码不会操心被墙。cd ~/Kuaipan/repogit --bare init //初始化仓库cd ~/Workspace //进入工作文件夹git init //在当前文件夹...
分类:
其他好文 时间:
2014-06-22 23:25:14
阅读次数:
192
初始化相关的文件
include/linux/init.h 初始化相关的宏定义
include/asm-generic/vmlinux.lds.h 编译链接相关的宏定义
init/main.c 启动时的高级初始化
net/core/dev.c 网络设备注册、输入和输出等接口
drivers/net/e100.c e100驱动程序
初始化函数调用关系
对模块的初始化,...
分类:
其他好文 时间:
2014-06-22 22:09:21
阅读次数:
293