Tag: sourceedit |
Tag: sourceedit |
||
Line 40: | Line 40: | ||
== install idk == |
== install idk == |
||
* download idk from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html |
* download idk from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html |
||
+ | * find java home |
||
+ | /usr/libexec/java_home -v 1.8 |
||
+ | /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home |
||
+ | #add JAVA_HOME to ~/.bash_profile |
Revision as of 15:22, 18 January 2017
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
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
install homebrew
brew -v
install idk
- download idk from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
- find java home
/usr/libexec/java_home -v 1.8 /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home #add JAVA_HOME to ~/.bash_profile