安装一台新的Ubuntu机器,从硬件到软件,这里主要是给出软件

ssh安装

sudo apt update
sudo apt install openssh-server
sudo systemctl status ssh
sudo systemctl enable ssh
sudo ufw allow ssh

nvidia驱动

https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-22-04

Open the Software & Updates application window. Select TAB Additional Drivers and choose any proprietary NVIDIA driver. The higher the driver number the latest the version.

v2ray

https://github.com/v2fly/v2ray-core/releases/tag/v4.31.0

Two ways for install v2ray in ubuntu ,as follows:

v2ray -h
Command 'v2ray' not found, but can be installed with:
sudo snap install v2ray  # version 2.37, or
sudo apt  install v2ray  # version 4.34.0-5
See 'snap info v2ray' for additional versions.


[Unit]
Description=V2Ray Service
Documentation=https://www.v2fly.org/
After=network.target nss-lookup.target

[Service]
User=nobody
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
NoNewPrivileges=true
ExecStart=/home/deipss/v2ray/v2ray -config /home/deipss/v2ray/config.json
Restart=on-failure
RestartPreventExitStatus=23

[Install]
WantedBy=multi-user.target

问题一:配置和版本不不兼容:

VLESS users: "flow" doesn't support "xtls-rprx-vision" in this version
exit status 255

过低的版本不支持reality的协议,所以版本最低是 4.45.2

问题二:执行权限

因为User=nobody,所以要把文件在系统通用的目录下,如usr/local这个目录

如果你不确定当前使用的是哪个版本(v2ray 还是 xray),运行:

v2ray -version

1panel

docker

the best installation of docker on ubuntu is using snap tools.

  • The recommended way to install Docker on Ubuntu is via Snap.
  • The most convenient way to install Docker on Ubuntu is by using Snap.

开发

  • jetbrain
  • idea
  • pycharm
  • vscode
  • 对应的插件安装
  • trae (暂时没有linux发行版)
  • conda
  • node
  • frp
  • conda env
  • v2ray的安装
  • git

测试

发现在使用pymovie时,写入的速度,并没有想象中那么快


Back to top

Press ctrl+k to search

Page last modified: Jul 5 2025 at 12:00 AM.