我想在我的VPS上启用SELinux,但我做不到。
/etc/selinux/config :
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is lo
我正在运行一个德国供应商的VPS,并希望从Ubuntu切换到CentOS。在那里,我试图安装firewalld (没有预先安装),但是它总是因为错误而失败。
ERROR: Failed to load nf_conntrack module: modprobe: ERROR: could not find module by name='nf_conntrack'
modprobe: ERROR: could not insert 'nf_conntrack': Function not implemented
modprobe: ERROR: Error ru
一直试图在VPS上安装OpenVPN,但在尝试启动openvpn服务器时遇到了一些问题:
Service deferred error: IPTablesServiceBase: failed to run iptables-restore [status=1]: ['FATAL: Could not load /lib/modules/2.6.18-028stab070.14/modules.dep: No such file or directory', 'FATAL: Could not load /lib/modules/2.6.18-028stab070.14
我想使用ufw和fail2ban来阻止端口扫描。在我设置它们之后,fail2ban显示了一些IP被阻塞,但实际上没有。我发现了ufw的问题,因为fail2ban确实禁止那些想破解ssh的ip。
我的测试
ifconfig结果:(可能有用吗?)我隐藏真实的ip地址)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Me
我在USB驱动器上复制了整个VPS (Debian on OpenVZ)的备份,并希望从这个USB启动来在我的服务器上测试一些东西(实际上是它的副本)。但是,在引导目录中没有任何东西(我不知道OpenVZ是如何引导操作系统的)。我怎样才能使USB引导?
我需要在USB上安装GRUB吗?如果是的话,我怎么做才能不影响我的硬盘(我的主计算机)的GRUB。我不想做双引导,它只是暂时启动从USB。