ubuntu22 桌面版基本使用
双系统
1.关闭bios的快速启动fast boot功能
2.关闭windows11的快速启动:控制面板>电源管理>电源按钮》“更改当前不可用设置”>取消勾选快速启动。
3.将ubuntu烧录到u盘,然后启动安装盘,安装时选择保存两个系统。
#安装好后可能遇到重启会失败,尽量使用关机
梯子
我使用varay
核心:https://github.com/v2fly/v2ray-core/releases/tag/v4.31.0
下载地址:https://github.com/v2fly/v2ray-core/releases/download/v4.31.0/v2ray-linux-64.zip
qv2rya:https://github.com/Qv2ray/Qv2ray/releases/tag/v2.7.0
下载地址:`https://github.com/Qv2ray/Qv2ray/releases/download/v2.7.0/Qv2ray-v2.7.0-linux-x64.AppImage\
给 Qv2ray-v2.7.0-linux-x64.AppImage 移动到软件目录文件赋予执行权限,并打开
#如果无法打开 ,先安装sudo apt install libfuse2
使用命令行打开会提示具体错误
解压核心文件,记住目录,在内核设置中设置内核执行路径(内核文件夹的varay文件),和资源目路(内核文件夹)
入站设置,勾选系统代理和 socks设置,设置端口
#若需全局使用代理,在系统的网络中手动设置代理即可,chrome好像不支持soc5,可以开启http
创建快捷方式
在/usr/share/applications 目录创建一个 v2rayN.desktop
[Desktop Entry]
Name=V2RayN
Comment=V2Ray
Exec=/usr/bin/v2rayN
Icon=/usr/share/icons/hicolor/scalable/apps/v2rayN.svg
Type=Application
Categories=Network;Internet;
安装deb
使用火狐设置,底部网络设置使用代理后,下载chrome.deb
然后使用dpkg命令安装deb:cd /home/li/下载
sudo dpkg -i chrome.deb
//如果不行可尝试使用root,sudo -i
配置python
sudo apt install python3-pip
#安装pip工具
安装wine
sudo dpkg --add-architecture i386
开启32位支持
sudo mkdir -pm755 /etc/apt/keyrings
#下载添加仓库密钥
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
#添加仓库源
#下面的二选一
sudo apt install --install-recommends winehq-stable
#安装稳定版
sudo apt install --install-recommends winehq-devel
#安装开发版
sudo apt install winetricks
#安装插件对net环境有用
#安装好后,wine是没有任何应用图标的,但是它已安装,在打开exe文件的时候选择使用wine打开即可
winecfg
#wine设置命令
#支持中文字体:
准备好simsun.ttc字体
ubuntu的文件管理器,菜单显示隐藏文件
将字体复制到/home/li/.wine/drive_c/windows/Fonts
新建一个文件font.reg:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\NT\CurrentVersion\FontSubstitutes]
"Arial"="simsun"
"Arial CE,238"="simsun"
"Arial CYR,204"="simsun"
"Arial Greek,161"="simsun"
"Arial TUR,162"="simsun"
"Courier New"="simsun"
"Courier New CE,238"="simsun"
"Courier New CYR,204"="simsun"
"Courier New Greek,161"="simsun"
"Courier New TUR,162"="simsun"
"FixedSys"="simsun"
"Helv"="simsun"
"Helvetica"="simsun"
"MS Sans Serif"="simsun"
"MS Shell Dlg"="simsun"
"MS Shell Dlg 2"="simsun"
"System"="simsun"
"Tahoma"="simsun"
"Times"="simsun"
"Times New Roman CE,238"="simsun"
"Times New Roman CYR,204"="simsun"
"Times New Roman Greek,161"="simsun"
"Times New Roman TUR,162"="simsun"
"Tms Rmn"="simsun"
然后在这个文件的目录下执行:
regedit font.reg
完成注册表更改,此时可尝试打开中文应用
SSH远程
ssh -p 22 ubuntu@101.35.11.24