Setup My Own Mac
Setup Terminal with Oh My Zsh and Powerlevel10k
Intalling Oh My Zsh
| |
Download and Install Nerd Patched Fonts
Download and install FuraMono Fonts
Installing Powerlevel10k
| |
Change .zshrc Configuration
| |
Change ZSH_THEME to ZSH_THEME="powerlevel10k/powerlevel10k"
Enable auto correction uncomment line ENABLE_CORRECTION="true"
Then restart your terminal and you will see configuration wizard powerlevel10k
If you see [WARNING]: Console output during zsh initialization detected. change your .p10k.zsh and change this line typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
If you see [oh-my-zsh] Insecure completion-dependent directories detected: type command below
| |
Add Plugin Auto Suggestions and Syntax Highlighting
Download plugins for auto suggestion and syntax highlighting
| |
Scroll down on .zshrc find plugin=(git) and change to plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
Configure Multiple JDK with Jenv
Install Jenv
Install jenv with brew
| |
Install JDK
Add brew cask by adding homebrew/cask
| |
Install JDK 11 and JDK 8 from Azul OpenJDK
Add java11 and java8 into jenv
| |
See all installed versions java
| |
Configure global version
| |
Configure Multiple Python Version with Pyenv
Install pyenv
Install pyenv with brew
| |
Define environment variable PYENV_ROOT and add pyenv init
I will use zsh so here bash command line
| |
Install Python
Configure global environment python
| |
Configure docker and database with docker
*Installing Docker
Download Docker from docker hub
Install MySQL database on docker
| |
Install SQL Server on docker
| |
Install Postgresql on docker
| |
Configuring Auto Connect SSH Tunneling
You can read this step on Auto Start SSH Tunneling on Mac
Configuring RabbitMQ and RabbitMQ Management
Install RabbitMQ with brew
| |
Export path for RabbitMQ
| |
Start service when laptop is started automatically in backgroun
| |
Enable management plugin
| |
Try to access http://localhost:15672
Install Composer
| |
Install Node.js and Yarn
Go to Node.js Org download and install it.
| |
Install Hugo Blog
| |
Install Maven
| |
References
- Make your terminal beautiful and fast with ZSH shell and PowerLevel10K
- Terminal Keren dengan Oh My Zsh dan PowerLevel10k
- Jenv
- How to install Java JDK on macOS
- Simple Python Version Management: pyenv
- Connecting to a mysql running on a Docker container
- Quickstart: Run SQL Server container images with Docker
- Docker container for Postgres 9.1 not exposing port 5432 to host
- The Homebrew RabbitMQ Formula
- RabbitMQ Management Plugin