我有一个 Debian 服务器,我只需要在启动时运行一个脚本。
我读到:https : //www.debian-administration.org/article/28/Making_scripts_run_at_boot_time_with_Debian
我现在得到:insserv:警告:脚本'缺少 LSB 标签和覆盖
所以看起来我现在必须添加:
### BEGIN INIT INFO
# Provides: scriptname
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable service provided by daemon.
### END INIT INFO
Run Code Online (Sandbox Code Playgroud)
现在看起来很疯狂:就像 30 行脚本只是为了在启动时运行程序。
有没有一种工具可以简单地做到这一点?
问候
我可以将 146.112.61.106 IP 地址映射到我的 127.0.0.1 地址吗?
所以当我输入 146.112.61.106 时,我被重定向到 127.0.0.1 ?(也许是一些 netsh 命令?)
我正在尝试在我的专用服务器上托管域名 (pressemag.com)。
我不知道这 3 个步骤中哪一个是错误的:
是否有一些诊断工具可以让我知道哪一步出错了: 注册提供的DNS?我的 DNS A 参数还是我的 apache 配置?
我使用 openDNS 服务器:208.67.222.123 / 208.67.220.123 作为我的 PC 的 DNS 提供商。
当我访问不适当的 http://(成人内容)时,我被重定向到 https:// open dns 站点。
我只是想知道 DNS 服务器如何从 HTTP 内容重定向到 HTTPS 内容?
(最终如何禁用它?)
看起来像 IP 地址的 HTTPS 证书而不是域名的 HTTPS 证书是可能的。
我的目标是在 IP 地址上使用 HTTPS,例如:https://XX.YY.WW.ZZ
但是我找不到任何提供此类服务的公司:有什么建议吗?
我有一个专用服务器,我将它用作我 PC 的 DNS。(安装了 BIND 的 Linux 服务器)。
我的想法是使用 opendns 过滤网页内容。
我的电脑<---->我的DNS服务器<----->OpenDNS<-----> Web
这可能吗?我从哪里开始?
我尝试在 Debian 8.9 上安装一些库
apt-get install libnice-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libc6-dev : Breaks: binutils (< 2.26) but 2.25-5+deb8u1 …Run Code Online (Sandbox Code Playgroud) 我需要一种简单的方法来在重新启动时运行一些脚本:
我读到 crontab 中的 @reboot 可以工作,但看起来有些 linux 不接受它:
debian ×3
https ×2
apache-2.2 ×1
bind ×1
cron ×1
dns-hosting ×1
domain-name ×1
hosting ×1
ip ×1
netsh ×1
reboot ×1
ssl ×1
windows ×1