程序员的 Windows 参考手册,2024年最新面试一路绿灯Offer拿到手软

先自我介绍一下,小编浙江大学毕业,去过华为、字节跳动等大厂,目前阿里P7

深知大多数程序员,想要提升技能,往往是自己摸索成长,但自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!

因此收集整理了一份《2024年最新Linux运维全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友。
img
img
img
img
img

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上运维知识点,真正体系化!

由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新

如果你需要这些资料,可以添加V获取:vip1024b (备注运维)
img

正文


#### Useful tools


✨ **PSReadLine**: [zsh-autosuggestion]( ) alternative for powershell



> 
> Github: https://github.com/PowerShell/PSReadLine
> 
> 
> 


Install from PowerShellGallery



get posh version

Get-Host

install the latest PowerShellGet

Install-Module -Name PowerShellGet -Force

After installing PowerShellGet, you can get the latest prerelease version of PSReadLine by running

Install-Module PSReadLine -AllowPrerelease -Force


Add Config: `notepad $PROFILE`



PSReadLine

Import-Module PSReadLine

Enable Prediction History

Set-PSReadLineOption -PredictionSource History

Advanced Autocompletion for arrow keys

Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward
Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward


✨ **zoxide**: zoxide is a **smarter cd command**, inspired by `z` and `autojump`.



> 
> Github: https://github.com/ajeetdsouza/zoxide
> 
> 
> 


Install:



not work for me

winget install ajeetdsouza.zoxide

I use choco

choco install zoxide


Add Config: `notepad $PROFILE`



zoxide

Invoke-Expression (& { (zoxide init powershell | Out-String) })


#### Windows Terminal Hotkeys




| Operation | Hotkey |
| --- | --- |
| Copy | Ctrl + Shift + C |
| Past | Ctrl + Shift + V |


### VSCode



> 
> Official Site: https://code.visualstudio.com/
> 
> 
> 


#### Install


* Option1: Download Installer from official site.
* Option2: Install with Chocolatey



vscode

choco install vscode

vscodium

choco install vscodium


#### Preferences


* Theme: One Dark Pro
* Icons: Material icon theme
* Font: JetBrainsMono Nerd Font
* Auto Save
* Change Hotkey: Format Document: `Shift+Alt+F ---> Alt+F`


#### Codeium


✨ **Codeium**: A free AI powered toolkit for developers



> 
> Official Site: https://codeium.com/
> 
> 
> 


* Register an account
* Download extension
* Login


#### VSCodium


VSCodium is a community-driven, freely-licensed binary distribution of Microsoft’s editor VS Code.


Microsoft’s `vscode` source code is open source (MIT-licensed), but the product available for download (Visual Studio Code) is licensed under [this not-FLOSS license]( ) and contains telemetry/tracking. According to [this comment]( ) from a Visual Studio Code maintainer.



> 
> VSCodium Site: https://vscodium.com/
> 
> 
> 



> 
> **Warning**: VSCodium can not use `code` command.
> 
> 
> 


#### Hotkey


Hotkeys May Change due to extension or customizing.




| Operation | Hotkey |
| --- | --- |
| Comment/Uncomment | Ctrl + / |
| Multiline Comment | Alt + Shift + A |
| Copy Line | Ctrl + L |
| Move Line Up/Down | Alt + up/down |
| Copy line to Up/Down | Shift + Alt + up/down |
| Delete line | Ctrl + X |
| Add / Reduce Indent | Ctrl + ]/[ |
| New Line at Any Position | Ctrl + Enter |
| Rename Variable | Ctrl + D (N times) |
| Format Document | Shift + Alt + F (Alt + F) |
| Goto File Head/End | Ctrl + Home/Ctrl + End |
| Switch Tab | Ctrl + Tab |
| Show all symbols | Ctrl +Shift + O |
| Multi Cursor | Alt + Left Click |
| Multi Cursor | Ctrl + Alt + Up/Down |
| Block Select | Shift + Alt + Left Drag |


### Python



> 
> Python Official Site: https://www.python.org/downloads/
> 
> 
> 


#### Install


* Option1: Download from official site and run installer.
* Option2: Install with Chocolatey



choco install python


#### Config


[PyPI tuna mirror]( ):



once

pip install scrapy -i https://pypi.tuna.tsinghua.edu.cn/simple some-package

set as default

python -m pip install --upgrade pip
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple


#### VSCode Extension


* Python
* Black formatter
* Pylance


#### conda


👉 **conda (miniconda)**



> 
> Official Site: https://docs.anaconda.com/free/miniconda/miniconda-install/
> 
> 
> tuna: https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/
> 
> 
> 


👉 **Config**



> 
> tuna: https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/
> 
> 
> 


edit or create `.condarc` 。Windows can run `conda config --set show_channel_urls yes` to generate `.condarc` then change it:



channels:

  • defaults
    show_channel_urls: true
    default_channels:
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
    custom_channels:
    conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    pytorch-lts: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    deepmodeling: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/

👉 **Usage**:



create a environment with specified python version and packages

conda create -n myenv python=3.9 numpy=1.23.5 astropy

activate the environment:

conda activate myenv

list envs

conda env list

export all packages in myenv environment

conda activate myenv
conda env export > myenv.yml

create a new environment from a myenv.yml

conda env create -f myenv.yml


👉 **Windows Terminal**:


Add miniconda prompt to windows terminal:



{
“altGrAliasing”: true,
“antialiasingMode”: “grayscale”,
“closeOnExit”: “automatic”,
“colorScheme”: “Campbell”,
“commandline”: "%windir%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy ByPass -NoExit -Command "& ‘C:\Users\zuiai\miniconda3\shell\condabin\conda-hook.ps1’ ; conda activate ‘C:\Users\zuiai\miniconda3’ “”,
“cursorShape”: “bar”,
“font”: {
“size”: 12
},
“guid”: “{3ba1b1d8-9de1-41b7-bb7a-f7903c2e68d6}”,
“hidden”: false,
“historySize”: 9001,
“icon”: “ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png”,
“name”: “MiniConda3”,
“padding”: “8, 8, 8, 8”,
“snapOnInput”: true,
“startingDirectory”: “%USERPROFILE%\Desktop”,
“useAcrylic”: false
}


### Docker



> 
> Official Site: https://www.docker.com/products/docker-desktop/
> 
> 
> Download Link: https://docs.docker.com/desktop/install/windows-install/
> 
> 
> Docker Hub:https://hub.docker.com/
> 
> 
> 


#### Setup WSL 2



> 
> Documents:
> 
> 
> https://docs.docker.com/desktop/wsl/
> 
> 
> https://learn.microsoft.com/en-us/windows/wsl/install
> 
> 
> 


* Installed the WSL 2 feature on Windows. Search At Start: `Turn Windows features on and off`, Check both:



Virtual Machine Platform
Windows Subsystem for Linux


* Update WSL



install update

wsl --update


Download and install the latest package: [WSL2 Linux kernel update package for x64 machines]( ).


* Install Linux distros.



list installed Linux distributions and check the version of WSL

wsl -l -v

install update

wsl --update

list available distros

wsl -l -o

install a distro

wsl --install -d

set default distr

wsl --set-default

upgrade the Linux distro to v2

wsl.exe --set-version 2

set v2 as the default version for future installations

wsl.exe --set-default-version 2


* Set up your Linux user info


Once you have installed WSL, you will need to create a user account and password for your newly installed Linux distribution.


Just run your linux distro from start menu.


#### Install



> 
> Documents:
> 
> 
> https://docs.docker.com/desktop/install/windows-install/
> 
> 
> https://docs.docker.com/desktop/wsl/
> 
> 
> 


Download and install the latest version of [Docker Desktop for Windows]( ).


#### Config


Change Mirrors: Settings—Docker Engine



{
“builder”: {
“gc”: {
“defaultKeepStorage”: “20GB”,
“enabled”: true
}
},
“experimental”: false,
“registry-mirrors”: [
“https://mirror.ccs.tencentyun.com/”
]
}


#### Possible Error



Installing, this may take a few minutes…
WslRegisterDistribution failed with error: 0x8004032d
Error: 0x8004032d (null)
Press any key to continue…


Solution: [Enable `Virtual Machine Platform` Windows Feature]( ).


### Windows Hotkeys


#### Windows 11 New Features




| Operation | Hotkey |
| --- | --- |
| Open Snap Layout | Win + Z |
| Open Microsoft Copilot | Win + C |


#### Document Edit




| Operation | Hotkey |
| --- | --- |
| Cut | Ctrl + X |
| Copy | Ctrl + C |
| Paste | Ctrl + V |
| Clipboard History | Win + V |
| Undo | Ctrl + Z |
| Redo | Ctrl + Y |
| Bold | Ctrl + B |
| Italic | Ctrl + I |
| Underline | Ctrl + U |
| Move cursor to Head of line | Home |
| Move cursor to End of line | End |


为了做好运维面试路上的助攻手,特整理了上百道 **【运维技术栈面试题集锦】** ,让你面试不慌心不跳,高薪offer怀里抱!

这次整理的面试题,**小到shell、MySQL,大到K8s等云原生技术栈,不仅适合运维新人入行面试需要,还适用于想提升进阶跳槽加薪的运维朋友。**

![](https://img-blog.csdnimg.cn/img_convert/2f4d94040aba6358ff831fea4711d858.png)

本份面试集锦涵盖了

*   **174 道运维工程师面试题**
*   **128道k8s面试题**
*   **108道shell脚本面试题**
*   **200道Linux面试题**
*   **51道docker面试题**
*   **35道Jenkis面试题**
*   **78道MongoDB面试题**
*   **17道ansible面试题**
*   **60道dubbo面试题**
*   **53道kafka面试**
*   **18道mysql面试题**
*   **40道nginx面试题**
*   **77道redis面试题**
*   **28道zookeeper**

**总计 1000+ 道面试题, 内容 又全含金量又高**

*   **174道运维工程师面试题**

> 1、什么是运维?

> 2、在工作中,运维人员经常需要跟运营人员打交道,请问运营人员是做什么工作的?

> 3、现在给你三百台服务器,你怎么对他们进行管理?

> 4、简述raid0 raid1raid5二种工作模式的工作原理及特点

> 5、LVS、Nginx、HAproxy有什么区别?工作中你怎么选择?

> 6、Squid、Varinsh和Nginx有什么区别,工作中你怎么选择?

> 7、Tomcat和Resin有什么区别,工作中你怎么选择?

> 8、什么是中间件?什么是jdk?

> 9、讲述一下Tomcat8005、8009、8080三个端口的含义?

> 10、什么叫CDN?

> 11、什么叫网站灰度发布?

> 12、简述DNS进行域名解析的过程?

> 13、RabbitMQ是什么东西?

> 14、讲一下Keepalived的工作原理?

> 15、讲述一下LVS三种模式的工作过程?

> 16、mysql的innodb如何定位锁问题,mysql如何减少主从复制延迟?

> 17、如何重置mysql root密码?

**网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。**

**需要这份系统化的资料的朋友,可以添加V获取:vip1024b (备注运维)**
![img](https://img-blog.csdnimg.cn/img_convert/0d387110a58c0dd09c1b8b926b1f0ec7.jpeg)

**一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!**
、HAproxy有什么区别?工作中你怎么选择?

> 6、Squid、Varinsh和Nginx有什么区别,工作中你怎么选择?

> 7、Tomcat和Resin有什么区别,工作中你怎么选择?

> 8、什么是中间件?什么是jdk?

> 9、讲述一下Tomcat8005、8009、8080三个端口的含义?

> 10、什么叫CDN?

> 11、什么叫网站灰度发布?

> 12、简述DNS进行域名解析的过程?

> 13、RabbitMQ是什么东西?

> 14、讲一下Keepalived的工作原理?

> 15、讲述一下LVS三种模式的工作过程?

> 16、mysql的innodb如何定位锁问题,mysql如何减少主从复制延迟?

> 17、如何重置mysql root密码?

**网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。**

**需要这份系统化的资料的朋友,可以添加V获取:vip1024b (备注运维)**
[外链图片转存中...(img-ftJM19nJ-1713260447436)]

**一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!**
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值