跳转到帖子
在手机APP中查看

一个更好的浏览方法。了解更多

PHP论坛人

主屏幕上的全屏APP,带有推送通知、徽章等。

在iOS和iPadOS上安装此APP
  1. 在Safari中轻敲分享图标
  2. 滚动菜单并轻敲添加到主屏幕
  3. 轻敲右上角的添加按钮。
在安卓上安装此APP
  1. 轻敲浏览器右上角的三个点菜单 (⋮) 。
  2. 轻敲添加到主屏幕安装APP
  3. 轻敲安装进行确认。

DD Linux完成後,SSH無法連入,可能網路卡無法配置

精选回复

发布于

-------------------------------------------------------------
DD Debian 12完成後,SSH無法連入,可能網路卡無法配置?
-------------------------------------------------------------

這需要主機商有提供noVNC,可藉由noVNC並用root帳號登入

 

DD完成後,無法SSH登入,如果是IP設置跑掉的情況,要自己修改靜態IP

如果DD前沒記下,只能Reinstall後,記下自己的VPS IP配置,再DD一次

Debian網路卡配置在 /etc/network/interfaces

 

vi /etc/network/interfaces

這些設置參考用,每一家主機商的配置都不一樣

# This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 47.1.1.18
gateway 47.1.1.255
netmask 255.255.255.0
dns-nameservers 8.8.8.8 8.8.4.4

 

ESC儲存並離開
:wq

 

重開機
reboot

 

查看公網IP有無設置上
ip addr
 

 

-----------------
關閉IPv6
-----------------

DD之後,好像IPv6跑出來了,還是關閉IPv6


關閉IPv6,修改
vi /etc/sysctl.conf

 

底下加入
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

 

ESC儲存並離開
:wq

 

重開機
reboot


再次加載/etc/sysctl.conf的設置
sysctl -p
 

本帖最后于,由Jack编辑

创建帐户或登录后发表意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.