linux系统下重启tomcat的shell脚本: 将上面的脚本保存为restart.sh 执行就可以了。
分类:
系统相关 时间:
2016-03-18 23:19:07
阅读次数:
386
一、 新装系统要启动NFX 每次虚拟机复位要执行以下命令 /usr/sbin/exportfs -av /sbin/service nfs restart —————————————————————————————————————————————————— 二、 用串口连接上板子,打开串口调试助手可
分类:
其他好文 时间:
2016-03-18 09:34:01
阅读次数:
174
防火墙配置后执行service iptables save 出现"Failed to restart iptables.service: Unit iptables.service failed to load: No such file or directory."错误,在CentOS 7或RHE
分类:
其他好文 时间:
2016-03-17 19:06:52
阅读次数:
144
注:本文仅针对新装的虚拟机,#ip addr 获取不到ip信息,无法连接网络的情况提供一种参考解决方案。 1.左上角点击“编辑”->“虚拟网络编辑器”。新建一个NAT模式的网络。 2.配置虚拟机静态IP,配置好后记得#service network restart 3.在PC任务管理器中开启相关服务
分类:
系统相关 时间:
2016-03-17 08:21:53
阅读次数:
250
[@bx_10_70/opt/linuxshare/]#ngrepport80-Wbylineinterface:eth0(10.16.10.0/255.255.255.0)ngrep:symbollookuperror:ngrep:undefinedsymbol:pcap_restart[@bx_10_70/opt/linuxshare/]#ldd/usr/sbin/ngreplinux-vdso.so.1=>(0x00007ffe91864000)libpcap.so.1=>/usr/loca..
分类:
其他好文 时间:
2016-03-16 19:28:51
阅读次数:
267
前提配置:使用root登录修改配置文件:/etc/ssh/sshd_config,将其中三行的注释去掉,如下: 然后重启ssh服务:service sshd restart。最后退出root,以下所有操作都在hadoop用户下进行。 主机信息如下: 如上图,当前登录用户为hadoop,主机名为sla
分类:
其他好文 时间:
2016-03-14 18:24:07
阅读次数:
194
1,打开终端, 设置root密码sudo passwd root输入密码 2, 安装 apachemac 自带apache 启动apachectl start重新启动apachectl restart关闭apachectl stop查看版本httpd -v
分类:
Web程序 时间:
2016-03-12 13:06:31
阅读次数:
225
一般我们新copy的虚拟机或新克隆的虚拟机第一次启动时都会出现没有ip地址的情况: [root@zejin243 network-scripts]# ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 in
分类:
Web程序 时间:
2016-03-12 11:37:37
阅读次数:
1215
1. 重新安装 ubuntu-desktop不起作用。 Enter the following commands:- Ctrl+Alt+F1 login there by user name and password try sudo service lightdm restart If light
分类:
移动开发 时间:
2016-03-11 20:45:37
阅读次数:
280
主要参考这篇 http://apps.hi.baidu.com/share/detail/15868128 但还是遇到一些问题,记录如下: 1. 配置完成后,restart apache,出现 the requested operation has failed 查看log,有 httpd.exe:
分类:
Web程序 时间:
2016-03-11 01:02:10
阅读次数:
255