随笔分类 -  centos

linux
摘要:今天在搭建Zookeeper集群的时候,需要频繁启动zookeeper,但是启动的时候,有时会提示下列错误信息: zookeeper需要的地址已经被占用了,其实是因为上一次的zookeeper没有关闭。 我们知道,zookeeper采用的是2181端口来对client提供服务,在启动时候就会监听这个 阅读全文
posted @ 2019-03-26 13:39 iceman! 阅读(456) 评论(0) 推荐(0)
摘要:添加 adduser [name] 删除 userdel [name] 公钥名字authorized_keys权限 chmod .ssh 700 authorized_keys 600 cd ~mkdir .sshchmod 700 .ssh/cd .sshtouch authorized_keys 阅读全文
posted @ 2018-12-04 12:26 iceman! 阅读(217) 评论(1) 推荐(0)
摘要:yii2.0默认的访问形式为:dxr.com/index.php?r=index/list,一般我们都会配置成pathinfo的形式来访问:dxr.com/index/list,这样更符合用户习惯。 具体的配置方法为: 一.配置yii2.0。 打开config目录下的web.php,在$config 阅读全文
posted @ 2018-01-23 13:57 iceman! 阅读(142) 评论(0) 推荐(0)
摘要:<VirtualHost *:80> ServerName api.apitpl.dev DocumentRoot "/Users/michaelweixi/WWWRoot/apitpl/api/web/" <Directory "/Users/michaelweixi/WWWRoot/apitpl 阅读全文
posted @ 2018-01-22 22:14 iceman! 阅读(246) 评论(0) 推荐(0)
摘要:一、首先是安装VMWare tools1、以ROOT身份进入LINUX2、在虚拟机软件VMWARE状态栏中,点击 SETTING菜单下的ENABLE VMWARE TOOLS子菜单,此时在linux的/media/下会出现一个新文件夹,把vmware-linux-tools.tar.gz(具体名字已 阅读全文
posted @ 2017-11-11 10:40 iceman! 阅读(1781) 评论(0) 推荐(1)