Mac Pro 系统使用技巧

it不难
2022-07-01 / 0 评论 / 15 阅读 / 正在检测是否收录...

前言

安装tomcat

#下载 tomcat
wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.53/bin/apache-tomcat-9.0.53.tar.gz

#解压
tar xvf  apache-tomcat-9.0.53.tar.gz  -C ~/java/
cd ~/java/ &&  ln -s apache-tomcat-9.0.53 tomcat

#启动
cd java/tomcat/bin &&  ./startup.sh

#关闭
./shutdown.sh

#配置管理用户,取消注释
vim ~/java/tomcat/conf/tomcat-users.xml
 <user username="admin" password=“123456" roles="manager-gui" /> 

mumu模拟器

#修改模拟器内部的hosts
adb  shell
vi /etc/hosts

unzip解压乱码

brew install unar
unar -e GBK store.zip

视频格式转换

# 安装软件
Brew install ffmpeg

# 格式转换
ffmpeg -i input.m4a output.mp3

brew 仓库url源

# 替换brew.git仓库地址
cd "$(brew --repo)"
git remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git

# 替换 homebrew-core.git 仓库地址
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.aliyun.com/homebrew/homebrew-core.git

# 替换 homebrew-bottles 访问地址
echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.aliyun.com/homebrew/homebrew-bottles' >> ~/.zshrc
source ~/.zshrc

shadowsocks-ng 客户端配置

0

评论 (0)

取消