上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 52 下一页
摘要: Ctrl+Alt+F1(或者F2~F6总共可以同时开6个text mode界面并行工作) Ctrl+Alt+F7切换到图形界面 阅读全文
posted @ 2016-03-15 14:19 圆旭 阅读(384) 评论(0) 推荐(0)
摘要: 如:# systemctl enable dnsmasq 阅读全文
posted @ 2016-03-15 09:33 圆旭 阅读(286) 评论(0) 推荐(0)
摘要: On CentOS 7, we have found without downloading the epel-release RPM package(as we used to do on previous O.S releases), we can install it by using yum 阅读全文
posted @ 2016-03-15 09:13 圆旭 阅读(212) 评论(0) 推荐(0)
摘要: CentOS 7的yum源中貌似没有正常安装mysql时的mysql-sever文件,需要去官网上下载 成功安装之后重启mysql服务 设置密码的方法初次安装mysql是root账户是没有密码的   转自: http://www.centoscn.com/mysql/2014/0930/3881.h 阅读全文
posted @ 2016-03-14 18:03 圆旭 阅读(249) 评论(0) 推荐(0)
摘要: 安装完centos7后,默认没有启用sudo,首先应该是对sudo进行设置。sudo的作用就是使当前非root用户在使用没有权限的命令 时,直接在命令前加入sudo,在输入自己当前用户的密码就可以完成root用户的功能,而不必在每次使用su -来回切换用户了。sudo的配置文件位于/etc/sudo 阅读全文
posted @ 2016-03-14 17:44 圆旭 阅读(745) 评论(0) 推荐(0)
摘要: 前提配置:使用root登录修改配置文件:/etc/ssh/sshd_config,将其中三行的注释去掉,如下: 然后重启ssh服务:service sshd restart。最后退出root,以下所有操作都在hadoop用户下进行。 主机信息如下: 如上图,当前登录用户为hadoop,主机名为sla 阅读全文
posted @ 2016-03-14 17:26 圆旭 阅读(774) 评论(0) 推荐(0)
摘要: centos7 minimal版默认安装好后没有获取ip地址,需要手动配置。方法如下:1.输入“ip addr”并按回车键确定,发现无法获取IP(CentOS 7默认没有ifconfig命令),记录下网卡名称(本例中为ens33)。 2.输入“cd /etc/sysconfig/network-sc 阅读全文
posted @ 2016-03-14 17:11 圆旭 阅读(1082) 评论(0) 推荐(0)
摘要: myserver.py: myclient.py: 阅读全文
posted @ 2016-03-14 09:20 圆旭 阅读(271) 评论(0) 推荐(0)
摘要: the canonical way to read one line of input with the read builtin is: 如: IFS=',' read -ra DEPS <<< ${dependencies}   转自: http://unix.stackexchange.com 阅读全文
posted @ 2016-03-13 15:54 圆旭 阅读(1784) 评论(0) 推荐(0)
摘要: 导入一个叫service-listener.py的文件是一直遇到错误: SyntaxError: invalid syntax 单独运行service-listener这个文件时,没有问题,只是不能被别的文件导入。。。 最后换名字为service_listener就没问题了,应该是命名规则问题。 阅读全文
posted @ 2016-03-11 17:09 圆旭 阅读(3811) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 52 下一页