November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Fedora 20 INSTALL

Fedora 001 Fedora 002 Fedora 003 Fedora 004 Fedora 005 Fedora 006 Fedora 007 Fedora 008 Fedora 009 Fedora 010 Fedora 011 Fedora 012 Fedora 013 Fedora 014 Fedora 015 Fedora 016 Fedora 017 Fedora 018 Fedora 019 Fedora 020 Fedora 021 Fedora 022 Fedora 023

[root@fedora ~]# systemctl | grep firewall
firewalld.service loaded active running firewal d – dynamic firewall daemon
[root@fedora ~]#

[root@fedora ~]# systemctl stop firewalld.service
[root@fedora ~]# systemctl start firewalld.service
[root@fedora ~]#
[root@fedora ~]# systemctl disable firewalld.service
rm ‘/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service’
rm ‘/etc/systemd/system/basic.target.wants/firewalld.service’
[root@fedora ~]#
[root@fedora ~]# sed -i ‘s/^SELINUX=.*/SELINUX=disabled/g’ /etc/sysconfig/selinux && cat /etc/sysconfig/selinux

# 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 loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted – Targeted processes are protected,
# minimum – Modification of targeted policy. Only selected processes are protected.
# mls – Multi Level Security protection.
SELINUXTYPE=targeted

[root@fedora ~]# setenforce 0

[root@fedora ~]# systemctl disable NetworkManager.service
rm ‘/etc/systemd/system/multi-user.target.wants/NetworkManager.service’
rm ‘/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service’
rm ‘/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service’

Move to init3 runlevel

# remove the default systemd target, which is (probably) the graphical.target
rm /etc/systemd/system/default.target
# now, let’s make the SystmV’s runlevel 3 to be the default one
ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
# switch back to graphical (SystemV runlevel 5)
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>