1,链接网络(第一步:访问 https:xxxx,申请个人电脑入网。)
====申请完成之后,需要联系阿里主管,阿里主管和阿里安全接口人批准入网申请。====
2,下载阿里郎(通过以下链接在电脑上下载安装阿里郎:
https:xxx。)
===所有在家远程办公的生态用工小二必须签署保密协议,协议地址(注:在阿里郎登陆状态下才能签署):https://xxx
安装完成后通过阿里郎VPN接入内网,即可以像在办公室一样办公了。====
领导会提前让签署的。
3,用阿里郎下载云壳,谷歌,钉钉,ihost,赛门铁壳等等,启动项目需要jdk,
4,安装node,安装git
node下载: https://nodejs.org/en/
(node 的中文网站下载更快)
git安装:
git下载: https://git-scm.com/
(或者直接git 回车 ,,,,弹出安装)
6,(项目需要)
sudo npm install --registry=https://registry.npm.alibaba-inc.com -g tnpm
sudo tnpm install @ali/gfun-cli -g
7,可以看看:https://yuque.antfin-inc.com/ziyuan.tzy/gpkr28/xevtew
5,安装vscode(可以下载也可以让同事发安装包)
vscode要安装插件及配置setting,另外安装zsh,用起来更舒服
插件图如下:
配置如下:
{
"window.zoomLevel": 0,
"editor.fontSize": 14,
"editor.tabSize": 2,
"editor.suggestSelection": "first",
"editor.foldingStrategy": "indentation",
"files.autoSave": "onFocusChange",
"prettier.semi": true,
"prettier.singleQuote": true,
"prettier.trailingComma": "es5",
"git.confirmSync": false,
"git.enableSmartCommit": true,
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"breadcrumbs.enabled": true,
"workbench.startupEditor": "newUntitledFile",
"javascript.updateImportsOnFileMove.enabled": "always",
"javascript.implicitProjectConfig.experimentalDecorators": true,
"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"terminal.integrated.rendererType": "dom",
"terminal.integrated.shell.osx": "/bin/zsh",
"liveServer.settings.donotShowInfoMsg": true,
"python.jediEnabled": false,
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"html.format.wrapLineLength": 180,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
}
完成之后要重新vscode才会生效
5,安装zsh
方法1:sh install.sh
文件install.sh
#!/bin/sh
#
# This script should be run via curl:
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# or wget:
# sh -c "$(wget -qO- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
#
# As an alternative, you can first download the install script and run it afterwards:
# wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
# sh install.sh
#
# You can tweak the install behavior by setting variables when running the script. For
# example, to change the path to the Oh My Zsh repository:
# ZSH=~/.zsh sh install.sh
#
# Respects the following environment variables:
# ZSH - path to the Oh My Zsh repository folder (default: $HOME/.oh-my-zsh)
# REPO - name of the GitHub repo to install from (default: ohmyzsh/ohmyzsh)
# REMOTE - full remote URL of the git repo to install (default: GitHub via HTTPS)
# BRANCH - branch to check out immediately after install (default: master)
#
# Other options:
# CHSH - 'no' means the installer will not change the default shell (default: yes)
# RUNZSH - 'no' means the installer will not run zsh after the install (default: yes)
#
# You can also pass some arguments to the install script to set some these options:
# --skip-chsh: has the same behavior as setting CHSH to 'no'
# --unattended: sets both CHSH and RUNZSH to 'no'
# For example:
# sh install.sh --unattended
#
set -e
# Default settings
ZSH=${ZSH:-~/.oh-my-zsh}
REPO=${REPO:-ohmyzsh/ohmyzsh}
REMOTE=${REMOTE:-https://github.com/${REPO}.git}
BRANCH=${BRANCH:-master}
# Other options
CHSH=${CHSH:-yes}
RUNZSH=${RUNZSH:-yes}
command_exists() {
command -v "$@" >/dev/null 2>&1
}
error() {
echo ${RED}"Error: $@"${RESET} >&2
}
setup_color() {
# Only use colors if connected to a terminal
if [ -t 1 ]; then
RED=$(printf '\033[31m')
GREEN=$(printf '\033[32m')
YELLOW=$(printf '\033[33m')
BLUE=$(printf '\033[34m')
BOLD=$(printf '\033[1m')
RESET=$(printf '\033[m')
else
RED=""
GREEN=""
YELLOW=""
BLUE=""
BOLD=""
RESET=""
fi
}
setup_ohmyzsh() {
# Prevent the cloned repository from having insecure permissions. Failing to do
# so causes compinit() calls to fail with "command not found: compdef" errors
# for users with insecure umasks (e.g., "002", allowing group writability). Note
# that this will be ignored under Cygwin by default, as Windows ACLs take
# precedence over umasks except for filesystems mounted with option "noacl".
umask g-w,o-w
echo "${BLUE}Cloning Oh My Zsh...${RESET}"
command_exists git || {
error "git is not installed"
exit 1
}
if [ "$OSTYPE" = cygwin ] && git --version | grep -q msysgit; then
error "Windows/MSYS Git is not supported on Cygwin"
error "Make sure the Cygwin git package is installed and is first on the \$PATH"
exit 1
fi
git clone -c core.eol=lf -c core.autocrlf=false \
-c fsck.zeroPaddedFilemode=ignore \
-c fetch.fsck.zeroPaddedFilemode=ignore \
-c receive.fsck.zeroPaddedFilemode=ignore \
--depth=1 --branch "$BRANCH" "$REMOTE" "$ZSH" || {
error "git clone of oh-my-zsh repo failed"
exit 1
}
echo
}
setup_zshrc() {
# Keep most recent old .zshrc at .zshrc.pre-oh-my-zsh, and older ones
# with datestamp of installation that moved them aside, so we never actually
# destroy a user's original zshrc
echo "${BLUE}Looking for an existing zsh config...${RESET}"
# Must use this exact name so uninstall.sh can find it
OLD_ZSHRC=~/.zshrc.pre-oh-my-zsh
if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]; then
if [ -e "$OLD_ZSHRC" ]; then
OLD_OLD_ZSHRC="${OLD_ZSHRC}-$(date +%Y-%m-%d_%H-%M-%S)"
if [ -e "$OLD_OLD_ZSHRC" ]; then
error "$OLD_OLD_ZSHRC exists. Can't back up ${OLD_ZSHRC}"
error "re-run the installer again in a couple of seconds"
exit 1
fi
mv "$OLD_ZSHRC" "${OLD_OLD_ZSHRC}"
echo "${YELLOW}Found old ~/.zshrc.pre-oh-my-zsh." \
"${GREEN}Backing up to ${OLD_OLD_ZSHRC}${RESET}"
fi
echo "${YELLOW}Found ~/.zshrc.${RESET} ${GREEN}Backing up to ${OLD_ZSHRC}${RESET}"
mv ~/.zshrc "$OLD_ZSHRC"
fi
echo "${GREEN}Using the Oh My Zsh template file and adding it to ~/.zshrc.${RESET}"
cp "$ZSH/templates/zshrc.zsh-template" ~/.zshrc
sed "/^export ZSH=/ c\\
export ZSH=\"$ZSH\"
" ~/.zshrc > ~/.zshrc-omztemp
mv -f ~/.zshrc-omztemp ~/.zshrc
echo
}
setup_shell() {
# Skip setup if the user wants or stdin is closed (not running interactively).
if [ $CHSH = no ]; then
return
fi
# If this user's login shell is already "zsh", do not attempt to switch.
if [ "$(basename "$SHELL")" = "zsh" ]; then
return
fi
# If this platform doesn't provide a "chsh" command, bail out.
if ! command_exists chsh; then
cat <<-EOF
I can't change your shell automatically because this system does not have chsh.
${BLUE}Please manually change your default shell to zsh${RESET}
EOF
return
fi
echo "${BLUE}Time to change your default shell to zsh:${RESET}"
# Prompt for user choice on chang ing the default login shell
printf "${YELLOW}Do you want to change your default shell to zsh? [Y/n]${RESET} "
read opt
case $opt in
y*|Y*|"") echo "Changing the shell..." ;;
n*|N*) echo "Shell change skipped."; return ;;
*) echo "Invalid choice. Shell change skipped."; return ;;
esac
# Check if we're running on Termux
case "$PREFIX" in
*com.termux*) termux=true; zsh=zsh ;;
*) termux=false ;;
esac
if [ "$termux" != true ]; then
# Test for the right location of the "shells" file
if [ -f /etc/shells ]; then
shells_file=/etc/shells
elif [ -f /usr/share/defaults/etc/shells ]; then # Solus OS
shells_file=/usr/share/defaults/etc/shells
else
error "could not find /etc/shells file. Change your default shell manually."
return
fi
# Get the path to the right zsh binary
# 1. Use the most preceding one based on $PATH, then check that it's in the shells file
# 2. If that fails, get a zsh path from the shells file, then check it actually exists
if ! zsh=$(which zsh) || ! grep -qx "$zsh" "$shells_file"; then
if ! zsh=$(grep '^/.*/zsh$' "$shells_file" | tail -1) || [ ! -f "$zsh" ]; then
error "no zsh binary found or not present in '$shells_file'"
error "change your default shell manually."
return
fi
fi
fi
# We're going to change the default shell, so back up the current one
if [ -n "$SHELL" ]; then
echo $SHELL > ~/.shell.pre-oh-my-zsh
else
grep "^$USER:" /etc/passwd | awk -F: '{print $7}' > ~/.shell.pre-oh-my-zsh
fi
# Actually change the default shell to zsh
if ! chsh -s "$zsh"; then
error "chsh command unsuccessful. Change your default shell manually."
else
export SHELL="$zsh"
echo "${GREEN}Shell successfully changed to '$zsh'.${RESET}"
fi
echo
}
main() {
# Run as unattended if stdin is closed
if [ ! -t 0 ]; then
RUNZSH=no
CHSH=no
fi
# Parse arguments
while [ $# -gt 0 ]; do
case $1 in
--unattended) RUNZSH=no; CHSH=no ;;
--skip-chsh) CHSH=no ;;
esac
shift
done
setup_color
if ! command_exists zsh; then
echo "${YELLOW}Zsh is not installed.${RESET} Please install zsh first."
exit 1
fi
if [ -d "$ZSH" ]; then
cat <<-EOF
${YELLOW}You already have Oh My Zsh installed.${RESET}
You'll need to remove '$ZSH' if you want to reinstall.
EOF
exit 1
fi
setup_ohmyzsh
setup_zshrc
setup_shell
printf "$GREEN"
cat <<-'EOF'
__ __
____ / /_ ____ ___ __ __ ____ _____/ /_
/ __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \
/ /_/ / / / / / / / / / / /_/ / / /_(__ ) / / /
\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/
/____/ ....is now installed!
Please look over the ~/.zshrc file to select plugins, themes, and options.
p.s. Follow us on https://twitter.com/ohmyzsh
p.p.s. Get stickers, shirts, and coffee mugs at https://shop.planetargon.com/collections/oh-my-zsh
EOF
printf "$RESET"
if [ $RUNZSH = no ]; then
echo "${YELLOW}Run zsh to try it out.${RESET}"
exit
fi
exec zsh -l
}
main "$@"
shell神器
首先安装 git,安装方式同上,把 zsh 换成 git 即可。
安装「oh my zsh」可以自动安装也可以手动安装。
自动安装:
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
手动安装:
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
相关推荐
以下是对低端交换机MAC绑定常见步骤的详细解释: 首先,我们来看华为S2126-EI系列低端交换机的MAC绑定步骤: 1. **第一步:限制端口学习MAC地址的数量** 在华为交换机上,你需要进入目标端口的配置模式,例如e0/8...
安装任何必要的更新,然后你就可以开始在VMware上使用Mac OS了。 ### 注意事项: - 在安装过程中,确保VMware Tools是最新版本,它可以优化虚拟机性能。 - 由于版权原因,安装和使用Mac OS虚拟机可能存在法律风险,...
在开始MAC地址绑定之前,请确保已经做好以下准备工作: 1. **访问权限**:确保拥有对思科交换机的管理员访问权限。 2. **连接方式**:准备一台能够通过Telnet或SSH协议连接到思科交换机的计算机。 3. **设备信息**...
【MAC操作系统安装步骤详解】 苹果公司的Mac操作系统以其独特的设计美学和稳定的性能深受用户喜爱。本文将详细介绍在非苹果硬件上安装Mac OS X Snow Leopard(雪豹系统)的步骤,为那些想体验Mac操作系统的Windows...
"Mac Big Sur安装柯尼卡美能达驱动步骤" 概述:本文将指导用户在Mac Big Sur系统下安装柯尼卡美能达驱动的步骤,涵盖从打开柯美官网到安装完成的每一个步骤。 1. 打开柯美官网,选择支持与下载,搜索c368驱动,...
SmartSVN for mac 破解版 附带详细破解步骤
Mac Air 双系统多分区安装步骤 本文将详细介绍 Mac Air 安装 Mac 和 Win10 双系统,并实现 Win 系统多分区安装步骤。整个安装过程不需要 U 盘作为启动盘。 一、安装准备 在开始安装之前,需要准备好安装所需的...
输入“yes”,然后会出现一大串内容,最后跳出两个选项:1-生成密钥字符串;最后打开浏览器,输入localhost:8081,接下来就会出现一个需要密钥的窗口,
通过以上步骤,用户便可以成功搭建起适合自己的Node.js开发环境,开始进行Web开发等相关工作。对于新手来说,整个过程可能稍显复杂,但通过逐步实践,很快就能掌握。 此外,虽然本文主要介绍了Node.js环境的安装...
以下是一个详细的TransMac制作Mac安装U盘的步骤解析: 首先,你需要下载并安装TransMac软件。确保你的U盘容量至少为8GB,因为Mac OS的安装文件通常需要足够的空间。安装完成后,将U盘插入电脑的USB接口。 以管理员...
全志编码MAC地址串口烧录教程通常会包含以下步骤: 1. **准备工作**:首先,确保你的设备已正确连接到电脑的串口,可能需要使用USB转串口线。同时,确保电脑上安装了对应的串口驱动程序,以便能够识别并通信。 2. ...
通过以上步骤,即可完成Delphi Mac OS/iOS开发环境的搭建工作。需要注意的是,在整个安装过程中,可能会遇到各种问题,建议参照官方文档或社区资源进行故障排查。此外,为了保证开发工作的顺利进行,定期更新开发...
在虚拟机上安装MAC OS步骤:详尽指南 在虚拟机上安装MAC OS,特别是针对初学者,是一项既挑战又充满乐趣的任务。本篇将基于标题“在虚拟机上安装MAC10.6,详细步骤,适合初学者”,提供一份详实的操作指南,帮助您...
本教程将详细讲解如何在虚拟机上安装Mac iOS系统,以及涉及的相关软件如Python和unlocker206的安装步骤。 首先,我们需要一个虚拟机软件,如VMware或VirtualBox,它们提供了在Windows、Linux等平台上运行其他操作...
这是一篇通过使用docker服务容器进行安装oracle11g的教程.因为大家都知道在Macos上是没有对应的oracle版本的.后期还是希望能更新出更多适配Mac的软件,更多的Mac软件需求,文件中有联系方式哦~
通过以上步骤,你将在Macbook Pro上成功安装Mac OS X、Windows XP和Linux Ubuntu三系统。记得在每个安装阶段保持耐心,确保正确执行每个步骤,避免数据丢失。此外,如果有网络连接,建议在安装完成后对各个系统进行...
MAC地址更改步骤涉及到了网络设备的身份标识,通常它是固化在网络接口卡(NIC)上的一串由12个十六进制数表示的数字,用来唯一标识网络上的设备。MAC地址更改通常是为了适应网络安全策略或者网络配置的需要。下面将...
详细步骤,介绍如何在mac环境下如何顺利编译FFMPEG,并且将编译成功后的.a文件添加到XCode的项目工程中
在本文中,我们将详细探讨如何在Mac上使用VMware Fusion安装Linux...通过以上步骤,你将在Mac上成功安装并配置了多台使用NAT网络模式的Linux虚拟机。记住,当共享虚拟机时,确保遵循版权法规,合法使用和分享软件。
Mamp for mac pro 如何配置虚拟域名详细步骤,或者如何配置多站点访问,只要按照步骤来,绝对OK没问题。