install a new linux operating system and the repeatable git bash (what I do after reinstall the sys)

来源:互联网 发布:2016全国各地上牌数据 编辑:程序博客网 时间:2024/05/22 04:05


find the fastest Server in SoftWare & Updates of the System Setting


1.install a git in my PC

$ sudo apt-get install git$ git config --global user.name mazicwong$ git config --global user.email mazicwong@gmail.com$ mkdir mygit$ cd mygit $ git init

2.verify my github account :    https/ssh(what I chose)

http://www.runoob.com/w3cnote/git-guide.html

$ ssh-keygen -t rsa -C mazicwong@gmail.com
$ cd ~/.ssh
$ vi id_rsa.pub
$ ssh -T git@github.com

一路回车不设置密码,在id_rsa.pub中复制下内容,放到github上的add ssh key中

//$ git clone git@github.mazicwong/acmArchive.git
$ git clone git@github.com:mazicwong/acmArchive.git


3.use "git add,git commit -m "what I want to say",git push"

combined with "git log , git status ,git diff "


4.have a document connecting with windows , mainly for the purpose of exchanging things 

set up a document in the options->shareFolders

(you can also use sshSecureShellClient & putty)

 (download the putty : click here)


5.VMware Tools (only in virtual machine)

load the VMware Tools ,

then Extract to the desktop & extract the tar to the desktop,

and execute the following command in "sudo su" command

# cd vmware-tools-distrib
# sudo ./vmware-install.pl
and then restart it


6.install the google chrome

$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb$ sudo dpkg -i google-chrome*$ sudo apt-get -f install


7.prepare for a github.io

sudo apt-get install nodejssudo apt-get install npm
npm install -g hexo
hexo init

npm install hexo-cli -g




two os

in linux    :   sudo update-grub


两个时间

http://blog.csdn.net/muzilinxi90/article/details/51470191



0 0
原创粉丝点击