1:开启root登入
sudo su
cd /root
修改authorized_keys文件(即ssh证书)vi .ssh/authorized_keys
把ssh-rsa之前的文件都删除掉.
编辑ssh配置文件nano /etc/ssh/sshd_config
找到PermitRootLogin, 把前面的#去掉 改成下面这样PermitRootLogin yes
ctrl+x 保存退出 选择y 然后回车
然后reboot
重启服务器。就可以使用root用户名配合秘钥登入了
sudo su
cd /root
修改authorized_keys文件(即ssh证书)vi .ssh/authorized_keys
把ssh-rsa之前的文件都删除掉.
编辑ssh配置文件nano /etc/ssh/sshd_config
找到PermitRootLogin, 把前面的#去掉 改成下面这样PermitRootLogin yes
ctrl+x 保存退出 选择y 然后回车
然后reboot
重启服务器。就可以使用root用户名配合秘钥登入了
XRAY搭建教程
准备工作
1、VPS 准备 Debian 9+ / Ubuntu 22
2、域名解析到VPS 的IP 上
申请SSL证书
apt update -y
apt install -y curl
apt install -y socat
curl https://get.acme.sh | sh
~/.acme.sh/acme.sh --register-account -m xxx@xxx.xxx
#replace xx@xxx.xxx to your email
举个例子:
例如,openwrt 的固件分区为 16MB + 300MB 在系统启动时,会将 Firmware 部分拷贝到 Overlay 中
Overlay 的空间使用的是 sda2 分区的剩余空间
假如 Firmware 的大小为 120MB,sda2 的实际使用空间为120MB(Firmware)+ 120MB(Firmware 副本)
所以 sda2 实际使用空间则只剩余为 60MB
那么 Overlay 给我带来的好处就是,Firmware 部分可以相当于一个系统备份,而我们所有的操作都是在 Overlay 上面。同样,我们也可以随时进行系统恢复。
由上可以看出,Overlay 的弊端就是会占用两倍的 Firmware 空间。
例如一台路由器的内存为 256MB,那么我们实际能使用的空间则仅剩大概 256MB – 120MB * 2,也就是 10MB 左右
所以我们就需要将 Overlay 的空间指向一个外部存储设备。
注意:只有 Squash 格式的固件支持 Overlay,etx4 格式的固件不支持
支持Xray/Trojan-Go/Hysteria/NaiveProxy的多用户Web管理面板
source <(curl -L https://github.com/trojanpanel/install-script/raw/main/install_script.sh)
source <(curl -L https://github.com/trojanpanel/install-script/raw/main/install_script_standalone.sh)
Following Steps can help you stop then uninstall the Active Insight & Hybrid Share.
synopkg stop ActiveInsight && synopkg uninstall ActiveInsight
then click OK.This will ensure that every time your synology server starts up, the super admin (root
) will automatically attempt to remove Active Insight. Since Active Insight should only come back with future software updates, which require a reboot to complete, this task will only run when necessary (or anytime you manually reboot your server).
Same as the steps above to get rid of Hybrid Share with the following commands: synopkg stop HybridShare && synopkg uninstall HybridShare
/volume1/Certs/acme.sh
)How To Enable Missing High Performance Plan Ultimate Performance Power Plan Windows 10. to give an extra boost to high-power systems (think workstations and servers) by optimizing the High-Performance power plan. It’s geared toward reducing or eliminating micro-latencies associated with fine-grained power management techniques. Microsoft has added an “Ultimate Performance” power scheme to Windows 10 April 2018 Update. It’s built upon the High-Performance power
Ultimate Performance:
powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61
High Performance:
powercfg -duplicatescheme 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
Balanced:
powercfg -duplicatescheme 381b4222-f694-41f0-9685-ff5bb260df2e
Power saver:
powercfg -duplicatescheme a1841308-3541-4fab-bc81-f71556f20b4a
1. 搞笑的图片合成:http://www.pichacks.com
2.人声模拟器:https://dood.al/pinktrombone
3.回归大自然:https://rainyscope.com
4.AutoDraw:https://www.autodraw.com
5.从未出现过的人:https://thispersondoesnotexist.com
6.迷宫生成器:https://www.mazegenerator.net
7.流体模拟器:https://david.li/fluid
8.六十秒冥想::https://pixelthoughts.co
prefs:root=APPLE_ACCOUNT
prefs:root=APPLE_ACCOUNT&path=APPLE_ACCOUNT_CONTACT
prefs:root=APPLE_ACCOUNT&path=PASSWORD_AND_SECURITY
prefs:root=APPLE_ACCOUNT&path=PAYMENT_AND_SHIPPING
prefs:root=APPLE_ACCOUNT&path=SUBSCRIPTIONS
prefs:root=CASTLE
or prefs:root=APPLE_ACCOUNT&path=ICLOUD_SERVICE
prefs:root=CASTLE&path=com.apple.Dataclass.KeychainSync
or prefs:root=APPLE_ACCOUNT&path=ICLOUD_SERVICE/com.apple.Dataclass.KeychainSync
prefs:root=CASTLE&path=BACKUP
or prefs:root=APPLE_ACCOUNT&path=ICLOUD_SERVICE/BACKUP
prefs:root=APPLE_ACCOUNT&path=LOCATION_SHARING
prefs:root=APPLE_ACCOUNT&path=FAMILY
prefs:root=APPLE_ACCOUNT&path=ICLOUD_SERVICE/PRIVATE_EMAIL_MANAGE
There is a long list of shortcut codes. All shortcuts are created in the same way, only the code you need to change. All codes start with prefs: root
iCloud
Wireless Radios
Personal Hotspot
VPN