Lokvin Wiki
Advertisement

user name

user: yufei

add shortcut

System Preference -> Keyboard - > Shortcut -> App Shortcuts -> (F10 Sleep), (F9 Shut Down...)

xcode

install Xcode from App Store

install command line tools

xcode-select --install

shell related

sudo without password

sudo su
chmod +w /etc/sudoers
# add follow line
USERNAME ALL=(ALL) NOPASSWD: ALL
chmod -w /etc/sudoers
exit

add ~/.bash_profile

touch ~/.bash_profile

ls show color

vim ~/.bash_profile
#add alias
alias ls='ls -G'

crearte some dirs

>mkdir ~/dev
>mkdir ~/work_notes
>mkdir ~/books
>sudo mkdir /rt
>sudo chown yufei:staff /rt

ssh-keygen

ssh-keygen -t rsa -C "your_email@example.com"
  • ls ~/.ssh, id_rsa is private key, id_rsa.pub is public key
ls -la
-rw-------   1 yufei  staff  1675 Jan 20 21:28 id_rsa
-rw-r--r--   1 yufei  staff   400 Jan 20 21:28 id_rsa.pub

ssh without password

  • id_rsa.pub is your public key, put it's content to the remote machine ~/.ssh/authorized_keys

install homebrew

brew -v

install wget

brew install wget

install tree

brew install tree

install python

brew install python
## check python version
python --version

install boto 3

pip install boto3

install jdk

/usr/libexec/java_home -v 1.8
/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
#add JAVA_HOME to ~/.bash_profile
JAVA_HOME=`/usr/libexec/java_home -v 1.8`
export JAVA_HOME

install eclipse

https://www.eclipse.org/downloads/

install idea

install atom

install sougou pinyin

install chrome

install vpn and anyconnect

  • Request certificate

https://thehub.thomsonreuters.com/docs/DOC-739662

  • Anyconnect download

https://thehub.thomsonreuters.com/docs/DOC-1839280

install evernote from App Store

install synergy

Advertisement