Daily Linux Operations

Source: Internet
Author: User
Tags git client hdfs dfs


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 [email protected]
7.putty
Paste: Single mouse wheel, this is the function of GNOME, not putty unique features
8.CENTOS7 Support Ifconfig
Yum provides ifconfig
Yum Install Net-tools
9. Network operation:
View Geteway:netstat-rn
View DNS cat/etc/resolv.conf
Centos7 setting Hostname:hostnamectl--static set-hostname Centos7

Configure Gateway: Route add default GW 192.168.122.1 dev eth0

(This problem has been tossing for a long time) the CentOS NTA mode sets the static IP, cannot access the external network because the gateway is not correct, use the following command to set up:
Route add default GW 192.168.122.1 dev eth0
The above command is not valid after restarting
So modify the/etc/sysconfig/network file persistence settings gateway=192.168.122.1, see: http://blog.csdn.net/jcxch/article/details/48632761

10. Network Card settings
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. Turn off the firewall and turn off 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. Test Hadoop execution
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. Extract Zip, file name is Chinese when garbled
Unzip-o CP936 Yn.zip
14.vpn Client
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;

The solution of 15:ubuntu VI to the above-and-below change ABCD problem

Error problem: VI next to the next key display as ABCD problem

Workaround:

As long as the following two commands can be executed in order to solve the Ubuntu under the VI Editor direction key to the letter problem.

I. Execute command sudo apt-get remove Vim-common

Two. Execute command sudo apt-get install vim

16.git Client Configuration User name password
Create a file in the ~ directory:. netrc
The contents are:
Machine Git.gongsibao.net
Login [email protected]
Password ******

The. NETRC permissions can only be 600
chmod. netrc

Daily Linux Operations

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.