Upload
others
View
20
Download
0
Embed Size (px)
Citation preview
SEEM3490 Information Systems Management Lecture 03 – Managing Information System III
Email Server
! For sending emails, three important terminologies: ! Blacklist
! Whitelist
! Graylist
! Two good links: ! http://www.senderbase.org/
! http://mxtoolbox.com/blacklists.aspx
Copyright (c) 2012. Gabriel Fung. All rights reserved.
Email Server (cont'd)
! Common reasons that an email cannot reach the client: ! Email server contains a virus and has been sending out spam.
! Email server may be misconfigured.
! You are using a dynamic IP address and the address was previously utilized by a known spammer.
! Your users in your network are sending out build emails. ! The definition of bulk is subjective
Copyright (c) 2012. Gabriel Fung. All rights reserved.
Email Server (cont'd)
! Setting up email server is not difficult. ! A common and well known one is Postfix
! http://www.postfix.org/
! Mac OS X already shipped with an email server. What you need to do is to enable it!
Copyright (c) 2012. Gabriel Fung. All rights reserved.
File Server
! Usually, a web server is setup in a remote location in a data center
! Question: ! How to upload files to a web server?
! E.g. how to upload html documents and images?
! A common and easy solution: ! Set up a file server together with the web server in the same
computer.
Copyright (c) 2012. Gabriel Fung. All rights reserved.
File Server (cont'd)
! A file server: ! Designed primarily to enable the rapid storage and retrieval of
files (such as documents, sound files, photographs, movies, images, databases, etc.)
! Does not perform any calculations
! Does not run any programs on behalf of the clients.
! Note: ! By default, a web server uses port 80 for communication.
! By default, a file server uses port 25 for communication.
Copyright (c) 2012. Gabriel Fung. All rights reserved.
FileZilla
! There are many products that will make you computer to become a file server ! Search them by yourself!
! One of the most popular products is called FileZilla: ! https://filezilla-project.org/
! Unfortunately, it only supports Windows…
! Another common one for Mac and Linux is Pureftpd ! http://jeanmatthieu.free.fr/pureftpd/
Copyright (c) 2012. Gabriel Fung. All rights reserved.
Mac SFTP
! The latest version of Mac OS X does not ship along with any FTP server…
! Fortunately, it has SFTP (secure-FTP) ! To setup:
! http://www.maclife.com/article/howtos/how_make_your_mac_sftp_server
Copyright (c) 2012. Gabriel Fung. All rights reserved.
To Connect to a FTP Server
! Use a software with GUI: ! FileZilla Client
! Transmit
! Via command prompt: ! Open a terminal, type:
! E.g., ftp 127.0.0.1
Copyright (c) 2012. Gabriel Fung. All rights reserved.
Database Server
! Many database servers exists. One of the most common one is definitely MySQL ! MySQL is currently owned by Oracle Corporation
! MySQL compiles on a number of platforms
! MySQL is free to download and use
Copyright (c) 2012. Gabriel Fung. All rights reserved.
Database Server (cont'd)
Copyright (c) 2012. Gabriel Fung. All rights reserved.
MySQL
! MySQL is named after a co-founder Michael Widenius's daughter ! Michael has a daughter called My (so MySQL is developed) and
a son Max (so maxDB is developed)
Copyright (c) 2012. Gabriel Fung. All rights reserved.
My Widenius Michael Widenius
MySQL Setup
! Simply go to the official website, download and install it! ! http://www.mysql.com
Copyright (c) 2012. Gabriel Fung. All rights reserved.
Accessing MySQL
! Like most DBMS, MySQL it does not have any GUI
! To visualize the database and help you to do managements, you may need GUI. Many tools can help you to do. One of the most useful and handly one is phpMyAdmin: ! http://www.phpmyadmin.com
! A free and open source tool written in PHP intended to handle the administration of MySQL with the use of a web browser.
Copyright (c) 2012. Gabriel Fung. All rights reserved.
Some "Bugs" Related to Database
! Have you ever heard about the "Year 2000 Problem"? ! Also known as "Y2K Bug", "Millennium Bug"
! Similarly, in MySQL and some other DBMS: ! For the data type "Year",
! If you set it to handle 2-digits, you can input year from 1970 – 2069 ! Year 2070 Problem!
! If you set it to handle 4-digits, you can input year from 1901 – 2155 ! Year 2156 Problem!
Copyright (c) 2012. Gabriel Fung. All rights reserved.
Year 2038 Problem
! The original Unix timestamp datatype stores a date and time as a signed 32-bit integer representing the number of seconds since 1 January 1970.
! During and after 2038, this number will exceed 231 � 1, the largest number representable by a signed 32-bit integer, causing the Year 2038 problem. ! The Unix Millennium bug or Y2K38.
! To solve this problem, many systems and languages have switched to a 64-bit timestamp or supplied 64-bit alternatives.
Copyright (c) 2012. Gabriel Fung. All rights reserved.
Leap Year Problem
! A year is a leap year if: ! Divisible by four, and
! If it is divisible by 100, then it must also be divisible by 400 (Gregorian Calendar/Western Calendar/Christian Calendar). ! E.g., 1600 was a leap year, but 1700, 1800 and 1900 were not.
! Some programs may have relied on the oversimplified rule that a year divisible by four is a leap year. ! 2000 is a leap year but 2100 is not a leap year.
! Many programs contained incorrect leap year logic, assuming for instance that no year divisible by 100 could be a leap year.
Copyright (c) 2012. Gabriel Fung. All rights reserved.
Short Review
! Up to now, you have learned: ! Web Server
! FTP Server
! Email Server
! DB Server
! All of them are crucial in the field of information systems management in nowadays Internet world. ! Managing them is usually regarded as "managing web hosting"
Copyright (c) 2012. Gabriel Fung. All rights reserved.
Hosting Solutions
! There are some nice tools to help us manage web hosting, so that we do not need to install the components one by one by ourselves. ! XAMPP http://www.apachefriends.org/en/xampp.html
! AMPPS http://www.ampps.com/
! MAMP http://www.mamp.info/
! …
Copyright (c) 2012. Gabriel Fung. All rights reserved.
Web Hosting Control Panels
! If we need to manage multiple websites, those hosting solutions in the previous page may not be enough.
! Software such as "Web Hosting Control Panel" thus appears. ! It is usually a web-based GUI that allows customers to manage
various hosted services in a single place.
! A good introductory point: http://en.wikipedia.org/wiki/Comparison_of_web_hosting_control_panels
Copyright (c) 2012. Gabriel Fung. All rights reserved.
Web Hosting Control Panels (cont'd)
! One of the most common ones is cPanel (http://cpanel.net/)
! Some free ones are ISPConfig (http://www.ispconfig.org/) and webmin (http://www.webmin.com/)
Copyright (c) 2012. Gabriel Fung. All rights reserved.