1.新建一个没有家目录的用户openstack2.复制/etc/skel为/home/openstack3.改变/home/openstack及其内部的文件的属主,属组均为openstack4./home/openstack及其内部的文件,属组和其他用户没有任何访问权限[root@localhost~]#useradd-Mopenstack
[root@localhost~]#ls-l/home/op..
分类:
系统相关 时间:
2014-05-27 04:18:58
阅读次数:
523
1.创建一个用户mandriva,其ID号为2002,基本组为distro(组ID为3003),附加组为linux[root@localhost~]#groupadd-g3003distro
[root@localhost~]#tail-1/etc/group
distro:x:3003:
[root@localhost~]#groupaddlinux
[root@localhost~]#tail-1/etc/group
linux:x:3004:[root@loca..
分类:
系统相关 时间:
2014-05-27 03:37:39
阅读次数:
409
解决linux ping: unknown host
www.baidu.com转载网址:http://www.kankanews.com/ICkengine/archives/48417.shtml解决方案:如果某台Linux服务器ping不通域名,
如下提示:[root@localhost~]#...
分类:
系统相关 时间:
2014-05-23 23:38:57
阅读次数:
747
1,安装依赖包确保服务器中已经安装了Memcached的依赖包。[root@localhost~]#yum-yinstall
--skip-brokengccgcc-c++autoconfautomakezlibzlib-devel
pcre-developenssl-devellibeventlibevent-devel.x86_642,创建Memcached的安装用户[root@localhost~]#groupadddfhapp
[root@l..
分类:
其他好文 时间:
2014-05-20 21:44:44
阅读次数:
376
[root@localhost ~]# date -R // 查看时区
Mon, 19 May 2014 10:18:46 +0000
[root@localhost ~]# tzselect // 设置修改时区
Please identify a location so that time zone rules can be set correctly.
Please select a continent or ocean....
分类:
其他好文 时间:
2014-05-20 15:49:50
阅读次数:
319
iptables惹的祸
[root@localhost ~]# service iptables stop
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ...
分类:
其他好文 时间:
2014-05-20 15:10:34
阅读次数:
249
telnet是windows自带的网络连接工具,可以用于连接任何服务器。通过Telnet连接服务端Telnet
localhost 8080GET /news/1.html HTTP/1.1Host:将获取到如下信息:HTTP/1.1 200 OKServer:
Apache-Coyote/1.1A...
分类:
编程语言 时间:
2014-05-20 11:23:15
阅读次数:
349
1.在server.xml文件的前面加入。需要重新启动Tomcat才能生效。如果是将覆盖成缺省目录,则路径是
http://localhost:8080/1.htmlhttp://localhost:8080/
下原来的Tomcat主页将被覆盖。2.在conf\Catalina\localhost目...
分类:
编程语言 时间:
2014-05-19 19:07:14
阅读次数:
295
错误:Server Tomcat v6.0 Server at localhost was
unable to start within 45 seconds错误提示就是我们限定了部署的时间导致的错误。修改
workspace\.metadata\.plugins\org.eclipse.wst.s...
分类:
编程语言 时间:
2014-05-19 17:43:39
阅读次数:
280
本文描述连接器的提供与外界交互的servlet接口1)
http://localhost:8080/connector-manager/getConnectorListGet请求,获取所有连接类型2)
http://localhost:8080/connector-manager/getConfig...
分类:
其他好文 时间:
2014-05-19 14:25:05
阅读次数:
260