标签:.com fbx mys 防火墙 word 单机 使用 mapreduce tools
1.use root account
http://blog.csdn.net/sunxiaoju/article/details/51993091
http://blog.csdn.net/gongchenyu/article/details/51337339
2.chrome
http://www.linuxidc.com/Linux/2016-05/131096.htm
http://blog.csdn.net/lihaoyang11/article/details/54572565
3.vmware
http://www.cnblogs.com/h2zZhou/p/5440271.html
4.kvm
http://blog.csdn.net/c80486/article/details/42836169
5.flash
http://blog.csdn.net/junbujianwpl/article/details/51587847
6.hadoop
http://www.cnblogs.com/NextNight/p/6703362.html
ssh-keygen -t rsa
ssh-copy-id user@host
7.putty
粘贴:单机鼠标滑轮,这是gnome的功能,不是putty特有的功能
8.centos7 支持ifconfig
yum provides ifconfig
yum install net-tools
9.网络操作:
查看geteway:netstat -rn
查看DNS cat /etc/resolv.conf
centos7设置hostname:hostnamectl --static set-hostname centos7
配置网关:route add default gw 192.168.122.1 dev eth0
(这个问题折腾了很长时间)centos nta模式下设置静态ip,不能访问外网的原因是网关不对,使用下面命令进行设置:
route add default gw 192.168.122.1 dev eth0
上面的命令重启后就无效
所以修改/etc/sysconfig/network文件持久设置GATEWAY=192.168.122.1,参见:http://blog.csdn.net/jcxch/article/details/48632761
10.网卡设置
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=eth0
UUID=173323da-69e3-4117-abf0-d04b03bd0a5a
DEVICE=eth0
ONBOOT=yes
IPADDR=192.168.122.11
NETMASK=255.255.255.0
GETEWAY=192.168.122.1
DNS=192.168.122.1
11.关闭防火墙,关闭selinux
systemctl stop firewalld.service
systemctl disable firewalld.service
sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/‘ /etc/selinux/config
grep SELINUX=disabled /etc/selinux/config
setenforce 0
12.测试hadoop执行
bin/hdfs dfs -put /etc/profile /profile
bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.8.1.jar wordcount /profile /out
bin/hdfs dfs -cat /out/part-r-00000
13.解压zip,文件名为中文时候出现乱码
unzip -O CP936 yn.zip
14.vpn客户端
https://hadler.me/linux/forticlient-sslvpn-deb-packages/
https://hadler.me/linux/openfortigui/
15.mariadb
http://www.centoscn.com/mysql/2014/0919/3778.html
[mysqld]
default-storage-engine = innodb
innodb_file_per_table
max_connections = 2048
collation-server = utf8_general_ci
character-set-server = utf8
lower_case_table_names=1
update user set password=password(‘root‘)
flush privileges;
15: Ubuntu vi 上下左右变ABCD问题解决方法
错误问题:vi上下左右键显示为ABCD的问题
解决方法:
只要依次执行以下两个命令即可完美解决Ubuntu下vi编辑器方向键变字母的问题。
一.执行命令 sudo apt-get remove vim-common
二.执行命令 sudo apt-get install vim
16.git客户端配置用户名密码
在~目录下创建文件:.netrc
内容为:
machine git.gongsibao.net
login fbxu@gongsibao.com
password ******
.netrc的权限只能为600
chmod 600 .netrc
标签:.com fbx mys 防火墙 word 单机 使用 mapreduce tools
原文地址:http://www.cnblogs.com/Netsharp/p/7617954.html