Mac系统装机

第一步:装机

系统更新或重装系统


command + R(将会从硬盘中的恢复分区(如果有的话)启动Mac)

command + option + R(将会启动 Internet Recovery,即系统会先联网下载一个 Recovery 环境,然后启动进去) 进行重启

第二步:安装软件

1、安装APPstore内之前已经完成存在的账户下程序,如微信、QQ、邮箱大师、Xmind、Apowersoft Screenshot、钉钉等相关软件。

2、iterm2安装方式:官网下载安装

https://www.iterm2.com/

# 安装oh-my-zsh
https://ohmyz.sh/

# 安装homebrew
https://brew.sh/

# 安装MySQL
brew install mysql

# 启动MySQL    mysql.server start
进入并设置密码    mysql -uroot 
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';

# 安装Python3
brew install python3

# install java
brew tap adoptopenjdk/openjdk
brew cask install adoptopenjdk8

# nodejs
brew install node

# 其他软件安装
brew install jmeter

brew install redis

brew install ruby

brew install mysql

brew install maven

brew install git
代码补全:brew install zsh-autosuggestions
安装switchhosts:      brew cask install switchhosts

# 系统配置默认python3
在/usr/local/bin 目录下进行软连接,
ln -s 目标地址 软连接的文件名

在iterm2 上设置自启动 在~/.zshrc文件最后加入 source ~/.bash_profile
安装自动补充命令行内容 推荐

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
plugins=(zsh-autosuggestions)    
 source .oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
修改zsh主题:

为了启用主题,ZSH_THEME请~/.zshrc在采购Oh My Zsh之前设置主题的名称;

例如:ZSH_THEME="robbyrussell"

如果您不想启用任何主题,请将其设置ZSH_THEME为空白:ZSH_THEME=""

个人比较喜欢这个主题:dallas

# switchhosts安装

https://oldj.github.io/SwitchHosts/

# 数据管理软件 采用sequelpro

https://sequelpro.com/

office 2019安装及破解教程:
访问地址

Alfred

Alfred是一个让你可以丢掉鼠标的神器!

官网:


https://www.alfredapp.com/

对于菜单栏管理的问题推荐两款软件

1、Bartender,很强大但是收费的,使用感觉也是最棒的,官网


https://www.macbartender.com/

2、Vanilla 基础版是免费的,可升级至pro版,需要付费,官网:


https://matthewpalmer.net/vanilla/

其他工具

raycast 强烈推荐
相对于Alfred4 更好用的工具,而且还是免费的:https://www.raycast.com/

redis可视化工具:
Another-Redis-Desktop-Manager-M1-arm64-1.5.2.dmg

ectd可视化工具:
etcd-manager-1.2.0-osx.dmg





#!/bin/sh
brew services restart kafka
brew services restart mysql
brew services restart redis
brew services restart zookeeper
brew services restart etcd
echo "\033[34m kafka、msyql、redis、zookeeper、etcd服务启动成功~ \n 服务启动情况如下: \033[0m"
echo "进入mysql命令: mysql -uroot -h127.0.0.1 -p123456 -A"
echo "进入redis命令:/opt/homebrew/opt/redis/bin/redis-cli"
brew services list


brew install --cask AdoptOpenJDK/openjdk/adoptopenjdk8   # 安装Java8
brew install go
brew install kafka
brew install jmeter
brew install python3
brew install mysql
brew install redis
brew services list    # 查看安装的服务状态

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容