博文

目前显示的是 十一月, 2015的博文

Git SSH Key 生成

ssh-keygen -t rsa -C "xuefliang@gmail.com" 按3个回车,密码为空。  添加 ~/.ssh id_rsa.pub中的内容

debian or ubuntu install chromium

sudo apt-get install chromium chromium-l10n  #debian sudo apt-get install chromium-browser  #ubuntu  

sudo免密码

sudo vim /etc/sudoers # # This file MUST be edited with the 'visudo' command as root. # # Please consider adding local content in /etc/sudoers.d/ instead of # directly modifying this file. # # See the man page for details on how to write a sudoers file. # Defaults env_reset Defaults mail_badpass Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" # Host alias specification # User alias specification # Cmnd alias specification # User privilege specification root ALL=(ALL:ALL) ALL xuefliang ALL=(ALL)  ALL # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL xuefliang ALL=(ALL) NOPASSWD:ALL # Allow members of group sudo to execute any command %sudo ALL=(ALL:ALL) ALL xuefliang ALL=(ALL) NOPASSWD:ALL # See sudoers(5) for more information on "#include" directives: #includedir /etc/sudoers.d

ubuntu install sublime text 3

wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3083_amd64.deb # http://docs.sublimetext.info/en/latest/getting_started/install.html#ubuntu dpkg -i sudo dpkg -i /home/xuefliang/sublime-text_build-3083_amd64.deb Sublime Text 3.x —– BEGIN LICENSE —– Andrew Weber Single User License EA7E-855605 813A03DD 5E4AD9E6 6C0EEB94 BC99798F 942194A6 02396E98 E62C9979 4BB979FE 91424C9D A45400BF F6747D88 2FB88078 90F5CC94 1CDC92DC 8457107A F151657B 1D22E383 A997F016 42397640 33F41CFC E1D0AE85 A0BBD039 0E9C8D55 E1B89D5D 5CDB7036 E56DE1C0 EFCC0840 650CD3A6 B98FC99C 8FAC73EE D2B95564 DF450523 —— END LICENSE —— —– BEGIN LICENSE —– K-20 Single User License EA7E-940129 3A099EC1 C0B5C7C5 33EBF0CF BE82FE3B EAC2164A 4F8EC954 4E87F1E5 7E4E85D6 C5605DE6 DAB003B4 D60CA4D0 77CB1533 3C47F579 FB3E8476 EB3AA9A7 68C43CD9 8C60B563 80FE367D 8CAD14B3 54FB7A9F 4123FFC4 D63312BA 141AF702 F6BBA254 B094B9C0 FAA4B04C 06CC9AFC FD412671 82E3AEE0 0F0FAAA7 8FA773C9 383A9E18 —— END LICENSE —— —– BEGIN LICENSE —– J2T