Fork me on GitHub
上一页 1 ··· 5 6 7 8 9
摘要: groupadd www useradd -g www www 阅读全文
posted @ 2016-09-27 18:50 北斗2016 阅读(1333) 评论(0) 推荐(0) 编辑
摘要: 默认用户guest 只允许localhost登录。 so... 我们自己建立用户 1. 用户管理用户管理包括增加用户,删除用户,查看用户列表,修改用户密码。相应的命令(1) 新增一个用户rabbitmqctl add_user Username Password(2) 删除一个用户rabbitmqc 阅读全文
posted @ 2016-09-27 18:07 北斗2016 阅读(8507) 评论(0) 推荐(0) 编辑
摘要: linux 发行版本:centos zlib not found openssl not found yum install zlib-devel yum install openssl-devel 阅读全文
posted @ 2016-09-26 21:52 北斗2016 阅读(1209) 评论(0) 推荐(0) 编辑
摘要: 1. yum [-y] install package_name2. yum remove package_name 卸载指定软件3. yum check-update 检查更新4. yum update [package_name] 更新5. yum search [package_name] 搜 阅读全文
posted @ 2016-09-25 17:30 北斗2016 阅读(428) 评论(0) 推荐(0) 编辑
摘要: /etc/rc.local编辑“/etc/rc.local”,把启动程序的shell命令输入进去即可(要输入命令的全路径),类似于windows下的“启动”。 使用命令 vi /etc/rc.local 然后在文件最后一行添加要执行程序的全路径。 例如,每次开机时要执行一个start.sh,这个脚本 阅读全文
posted @ 2016-09-24 21:53 北斗2016 阅读(108) 评论(0) 推荐(0) 编辑
摘要: git init 创建git仓库git status 查看当前状态git add <file> 添加文件到缓冲区git commit -m “…”提交git diff <file> 对比文件git log 命令显示从近到远的提交日志git log –pretty=online 格式化 版本退回HEA 阅读全文
posted @ 2016-08-19 16:36 北斗2016 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1.显示所有连接的网络接口 ip link show 2.激活或禁止网络接口 sudo ip link set up/down {dev} 3.将一个或多个IPv4地址分配给网络接口$ sudo ip addr add 10.0.0.1/24 dev eth1$ sudo ip addr add 1 阅读全文
posted @ 2016-08-15 14:34 北斗2016 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 两种解决方式: 1.CentOS6 PHP extension install: Cannot find php-config. Please use --with-php-config=PATH 2.yum install php-devel. 阅读全文
posted @ 2016-07-31 17:56 北斗2016 阅读(1038) 评论(1) 推荐(0) 编辑
摘要: Linux(CentOS): 系统缺省值为32768-61000。 修改方法: 在/etc/sysctl.conf中,增加以下配置:(开放20000-50000为完成端口) net.ipv4.ip_local_port_range=20000 50000配置完成后重启平台,或键入sysctl -p立 阅读全文
posted @ 2016-06-27 14:38 北斗2016 阅读(477) 评论(0) 推荐(0) 编辑
摘要: VirtualBox的提供了四种网络接入模式,它们分别是: 1、NAT 网络地址转换模式(NAT,Network Address Translation) 2、Bridged Adapter 桥接模式 3、Internal 内部网络模式 4、Host-only Adapter 主机模式 第一种 NA 阅读全文
posted @ 2016-06-21 17:49 北斗2016 阅读(173) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9