January 18 - January 25, 2007 (Class Meetings Jan 16 and 25)

Jan 16 Class
  • Reading:
  • Course Review (syllabus overview and comments)
  • Schedule and Readings
  • Linux Cert
  • What is Linux
  • Open Source
  • Internet Services
  • UNIX Files and Directories
  • Managing files and Directory Permissions
  • Text Editors
  • TCP/IP
  • Means of connecting to the Internet (DSL, Cablemodem, Dial-up, etc)

    Jan 25 Class

  • Reading:
  • Selecting Project Teams
  • Installing Fedora, Basic Steps - Assignment 1
  • Example of installing Fedora Core 6 (view pages 1 and 2)
  • Another good reference for installing FC6
  • Setting up IP and DNS (DHCP), DNS Records
  • GNOME Graphic User Interface (GUI)
  • Terminal Window (command mode)
  • Creating User Accounts - Root (super user)
  • Secure Shell (SSH/SFTP) - remote access via termainal - puttyssh) - run program and login into your system
  • Turning Off remote ROOT access to ssh (security improvement)
    1. edit 
    2. Change 
       #PermitRootLogin yes
       PermitRootLogin no
    3. Save File
    4. Restart sshd
        /etc/init.d/sshd restart
  • Controlling Firewall
      Use the Security Control Panel
  • Internet Services/Ports (turning them on and off)
      Use the Services Control Panel
  • Enabling the YUM Patcher (Auto-Updating - A MUST!)
    1. edit the file
    2. change
        # automatically install updates
        do_update = yes
        # automatically download updates
        do_download = yes
        # automatically download deps of updates
        do_download_deps = yes
  • Getting sendmail to send off
    1. Setting up sendmail to handle the UNT mailhost 
               (allows for sending mail off campus)
         # yum install sendmail-cf
              delete dnl from line:
                   dnl define(`SMART_HOST',`smtp.your.provider')
              and change to:
              add dnl to the line:
    	          dnl DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')dnl
              save and exit
         make the changes
              # make -C /etc/mail
         restart sendmail
    	     # /sbin/service sendmail restart
    2. Setting the .forward file so that all group members get 
             daily watch logs on system security
         cd /root
         edit .forward
         on each line enter the e-mail address of each group member
    3. Mail a message to root as a test
         # mail root
    	 Subject: Test to the Group
    	 This is a test message
    	 (return on cc)
    	 This will send an e-mail to root that should then get sent 
    	       to all in the .forward file for root.

    Assignment 1 Due
    (Install Server, User Accounts, SSH/SFTP Service, Firewall)

  • World Wide Web
  • HTML (standard authoring language) and HTTP (protocol)
  • Apache Web Server, Enabling public_html spaces
         1. edit
    		  Look for the setting for public_html
    		     UserDir disable
    		     #UserDir disable
              and Change
    		     #UserDir public_html
    		     UserDir public_html
         2. save and exit
    	 3. Use the Services Control Panel to Start Apache
  • Public_Html Creation Manage Sites
  • 	 1. ssh into your server and login into you account 
    	 2. Create a public_html under each user directory
    	     mkdir public_html
    	 3. use the chcon command to set httpd permission for the public_html dir
    	      chcon -R -t httpd_sys_content_t public_html
    	 4. open your home directory to apache access (see presenation concerning security issues)
    	      chmod a+x .
    	 5. save a index.html into your public_html.  It will appear on your URL

  • Testing public_html
  • Creating a Basic Web Site

    January 26 - February 8, 2007 (Class Meeting Feb 8)

  • Reading:
  • Assignment 2 Due - (Apache)

  • Basic Linux Usage
  • Getting on-line help and the man pages
  • bash
  • Command Line Network Tools (ifconfig, ping, netstat, route)
  • Graphical Network Tools
  • Run Levels
  • Maganging Linux Processes
  • Firewalls
  • Controlling Access
  • General Security
  • VNC and Wiki ( Assignment 3

  • VNCSERVER First Time, Starting, and Stoping
  • March 15, 2007

  • Exam
  • February 9 - March 15, 2007 (Class Meeting March 15)

  • Reading:
  • Assignment 3 Due - (VNC / Wiki)

  • Databases
  • MySQL and PHP Configuration
    	1. To Install Mysql
    	      yum install mysql mysql-devel mysql-server
    	2. Create the system startup links for MySQL and start the MySQL server:
    	      chkconfig --levels 235 mysqld on
    	3. Start Mysql
    	      /etc/init.d/mysqld start
    	4. Set the Root Password
    	      mysqladmin -u root password yourrootsqlpassword
    	5. Install Apache2 with PHP 5 Support
    	      yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel
    	6. Edit /etc/httpd/conf/httpd.conf
              change DirectoryIndex to
                   DirectoryIndex index.html index.htm index.php
    		  Add the following line under #AddType application/x-tar .tgz
                   AddType application/x-httpd-php .php .html
    	7. Configure start Apache at boot time
    	      chkconfig --levels 235 httpd on
    	8. Start Apache
    		  /etc/init.d/httpd start 
  • Install Mysql Control Panel
    	use the FC6 installer and find mysqladmin, select it for install.

    March 17 - 25, 2007

  • Spring Break
  • March 16 - April 5, 2007 (Class meeting April 5)

  • Reading:
  • Assignment 4 Due - (Mysql, Php5, Apache2, Joomla Content)

  • Dynamic Web Web Pages
  • Basic Server Security
  • Choosing the right educational application
  • Assignment 5 Discussion

    April 6 - April 26, 2007 (Class meeting April 26)

    Assignment 5 Due - (Dynamic Web Content)

  • Discussion of Take Home Exam
  • Printers
  • Server Backup
  • RAID technology
  • Advance Topic (TBD)

    Final Exam Due

  • May 5, 2007, midnight