x2ray端口转发-解决端口被强
执行命令,将40000:60000的流量转发到本地443端口
iptables -t nat -A PREROUTING -p tcp --dport 40000:60000 -j REDIRECT --to-ports 443
📁
技术实践
📅
2025-05-10
共 6 篇文章
执行命令,将40000:60000的流量转发到本地443端口
iptables -t nat -A PREROUTING -p tcp --dport 40000:60000 -j REDIRECT --to-ports 443
安装软件curl时提示以下内容
下列软件包有未满足的依赖关系:
curl : 依赖: libcurl4 (= 7.64.0-2ubuntu1.2) 但是 7.65.3-1ubuntu3 正要被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
这是由于版本不符的导致的,可能是以前卸载的时候未卸载干净。所以我们需要使用purge选项来重新卸载一次。
sudo apt-get purge libcurl4
然后重新安装,解决问题!!

bash: /dev/fd/63: 没有那个文件或目录
原因:<(…)运算符称为进程替换,是运行命令的一种方式,其输出进入匿名管道。这就是/dev/fd/63。其思想是允许外部命令(这里是bash)将另一个命令输出视为一个文件。通常形式是使用<将伪文件对象重定向到bash的输入流中。

解决方案,使用两个<
别问为什么出现这个问题,,,
重启进恢复模式
选择root用户
添加用户至sudo组
adduser username sudo

天哪,为啥我的电脑老是出现些奇怪的问题。
-sudo apt update-
sudo apt install gnome-control-center

sudo wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt update
sudo apt install google-chrome-stable
19年12月18日:现在觉得火狐也不错
不然美化界面太慢了
安装工具
sudo apt-get update
sudo apt-get install gnome-tweak-tool
sudo apt-get install gnome-shell-extensions
sudo apt-get install gnome-shell-extension-dashtodock

实在是不喜欢默认输入法
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo rm -f /etc/apt/sources.list
sudo vi /etc/apt/sources.list
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse

我们都知道,微信开发者工具是没有linux版的,还是有点难受。好在有大神迁移了。
git clone https://github.com/cytle/wechat_web_devtools.git
cd wechat_web_devtools
nw.js , 同时部署目录 ~/.config/微信web开发者工具/
./bin/wxdt install
最好先切换npm淘宝源npm太慢使用淘宝npm镜像
./bin/wxdt
解决方案:
apt-get install wine-binfmt