Fedora: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 42: Zeile 42:
 
==apache installieren==
 
==apache installieren==
 
  yum install httpd
 
  yum install httpd
 +
==apache starten==
 +
systemctl start httpd.service
 +
==apache stoppen==
 +
systemctl stop httpd.service
  
 
=systemd=
 
=systemd=
 
*http://fedoraproject.org/wiki/Systemd
 
*http://fedoraproject.org/wiki/Systemd

Version vom 21. März 2013, 13:50 Uhr

Installation

Netzbootmedium auswählen

URL

Minimal Installation

Nach der Installation

hostname setzen

echo crass.xinux > /etc/hostname

statische ip setzen

cat /etc/sysconfig/network-scripts/ifcfg-eth0 
HWADDR=52:54:00:8D:69:D5
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPADDR=192.168.244.6
NETMASK=255.255.248.0
GATEWAY=192.168.240.100
NAME=eth0
UUID=fb591324-af14-433b-8b67-aaae56b97f58
ONBOOT=yes

nameserver setzen

cat /etc/resolv.conf 
nameserver 192.168.240.21
search xinux

network stop

systemctl stop NetworkManager.service

netzwerk disable

systemctl disable NetworkManager.service

network start

systemctl start NetworkManager.service

netzwerk enable

systemctl enable NetworkManager.service

Yum howto

openssh installieren

yum install openssh

net-tools installieren

yum install net-tools

apache installieren

yum install httpd

apache starten

systemctl start httpd.service

apache stoppen

systemctl stop httpd.service

systemd