Presentation is loading. Please wait.

Presentation is loading. Please wait.

COP 4343 Unix System Administration

Similar presentations


Presentation on theme: "COP 4343 Unix System Administration"— Presentation transcript:

1 COP 4343 Unix System Administration
Unit 2: yum network access webserver

2 Yellowdog updater modified
Based on Redhat package manager uses rpm files downloads rpm files from repositories Configuration: /etc/yum.repos.d default: retrieve mirror list from redhat.com optional: setup local fedora and fedora-updates repositories

3 /etc/yum.repos.d fedora.repo fedora-updates.repo
baseurl=ftp://mirror.cs.fiu.edu/pub/mirrors/fedora/$releasever/$basearch/os fedora-updates.repo baseurl=ftp://mirror.cs.fiu.edu/pub/mirrors/fedora/updates/$releasever/$basearch/

4 Yellowdog updater modified
yum check-update checks for available updates yum update updates all installed packages also: yum update yum yum install package-name installs new package

5 Network access Your machine will be given full Internet access if:
You have installed all current patches available for your distribution You send to with Your machines IP number don’t send the root password Your machine passes a security assessment administered by SCS support personnel

6 Apache Webserver Install with: Configuration file:
yum install httpd Configuration file: /etc/httpd/conf/httpd.conf Make part of run-level: chkconfig --add httpd chkconfig httpd on Start webserver service httpd start Configure access through firewall /etc/sysconfig/iptables

7 Apache Webserver /etc/httpd/conf/httpd.conf Global: Main server:
Server root Interface and port Main server: User/group Admin, name Document root Userdir Directory index and access Logs Cgi handling

8 Apache Webserver /etc/httpd/conf/httpd.conf Virtual hosts Name
Document root logs


Download ppt "COP 4343 Unix System Administration"

Similar presentations


Ads by Google