投影片 1

Similar documents
目 錄 第 一 章 weberp 簡 介... 6 第 一 節 概 述... 6 第 二 節 安 全 性... 7 第 三 節 功 能... 7 一 銷 售 及 訂 單... 7 二 稅... 8 三 應 收 帳 款... 8 四 存 貨... 8 五 購 買... 9 六 應 付 帳 款... 9

Microsoft Word - PS2_linux_guide_cn.doc

Pchome

Linux Ubuntu Part Linux Ubuntu Linux UNIX...19 Linux...19 Linux Linux...21 Linux GNU FSF Open So urce.

epub 61-2

untitled

.. 3 N

untitled

ebook140-11

快 速 入 门 (Linux) 概 述 文 档 目 的 本 文 档 介 绍 了 如 何 快 速 创 建 Linux 系 统 实 例 远 程 连 接 实 例 部 署 环 境 等 旨 在 引 导 您 一 站 式 完 成 实 例 的 创 建 登 录 和 快 速 环 境 部 署 云 服 务 器 ECS 实

06 C H A P T E R 6-1 WWW 6-2 WWW WWW WWW

投影片 1

穨IC-1000

IC-900W Wireless Pan & Tilt Wireless Pan & Tilt Remote Control / Night Vision FCC ID:RUJ-LR802UWG

WebSphere Studio Application Developer IBM Portal Toolkit... 2/21 1. WebSphere Portal Portal WebSphere Application Server stopserver.bat -configfile..

UDP 8.2 TCP/IP OSI OSI 3 OSI TCP/IP IP TCP/IP TCP/IP Transport Control Protocol TCP User Datagram Protocol UDP TCP TCP/IP IP TCP TCP/IP TC

IP505SM_manual_cn.doc

穨CAS1042快速安速說明.doc

ebook 185-6

QVM330 多阜寬頻路由器

untitled

PowerPoint 演示文稿

自由軟體教學平台

QVM330 多阜寬頻路由器

ebook140-9


Chapter 2

93年各縣國中教師甄試最新考情.doc

CA Nimsoft Monitor Snap 快速入门指南

AL-M200 Series

RunPC2_.doc

Web

PowerPoint Presentation

ebook140-8

訪 談 後 的 檢 討 ~~~~~~~~~~~~~~~~p.18,19 2

untitled

QL1880new2.PDF

Basic System Administration

HOL-CHG-1695

本文由筱驀釹贡献

05_資源分享-NFS及NIS.doc

Windows XP

2005 Sun Microsystems, Inc Network Circle, Santa Clara, CA U.S.A. Sun Sun Berkeley BSD UNIX X/Open Company, Ltd. / Sun Sun Microsystems Su

untitled

软件概述

lect03.ppt

Windows 2000 Server for T100

Microsoft Word htm

IPv6移轉機制之介紹

MP801H V2 使 用 指 南 Dragon 2010, 保 留 所 有 权 利 第 2 页 共 80 页

Microsoft Word - template.doc

目 录 第 五 部 分 第 六 部 分 第 七 部 分 第 八 部 分 投 标 邀 请 投 标 人 须 知 附 表 评 标 方 法 和 评 分 细 则 项 目 需 求 和 技 术 方 案 要 求 1

校友会系统白皮书feb_08

BYOD IP+Optical (IP NGN) API 4. End-to-End (Service Aware) 5. IP NGN (IP Next Generation Network) ( ) Prime Carrier Management Access Edge Co

PL600 IPPBX 用户手册_V2.0_.doc

untitled

2004 Sun Microsystems, Inc Network Circle, Santa Clara, CA U.S.A. Sun Sun Berkeley BSD University of California UNIX X/Open Company, Ltd.

VioCard-300 user manual

LTM Management Console

PowerPoint Presentation

05 01 X Window X Window Linux Linux X Window X Window Webmin Web Linux Linux X Window X Window Notebook PC X Window X Window module Linux Linux kernel

ansoft_setup21.doc

项目采购需求编写模板

untitled

ebook70-13

ebook71-13

《计算机网络》实验指导书

Windows 2000 Server for T100

升 级 过 程 概 述 Cisco 集 中 无 线 网 络 架 构 中,AP 工 作 在 瘦 AP(LAP) 模 式 LAP 关 联 到 无 线 控 制 器 (WLC), 控 制 器 管 理 着 配 置 软 件 升 级 以 及 802.1X 认 证 等 控 制 处 理 ; 此 外, 控 制 器 还

ebook35-2

網路安全:理論與實務 第二版

1 IT IT IT IT Virtual Machine, VM VM VM VM Operating Systems, OS IT

專業式報告

1 SQL Server 2005 SQL Server Microsoft Windows Server 2003NTFS NTFS SQL Server 2000 Randy Dyess DBA SQL Server SQL Server DBA SQL Server SQL Se

<55342D323637CBB5C3F7CAE92E786C73>

Symantec™ Sygate Enterprise Protection 防护代理安装使用指南

User Guide

Cadence SPB 15.2 VOICE Cadence SPB 15.2 PC Cadence 3 (1) CD1 1of 2 (2) CD2 2of 2 (3) CD3 Concept HDL 1of 1

Powermail2安装与配置手册.PDF

● 源起

ArcIMS ArcIMS Shape ArcIMS Monitor ArcIMS Tasker ArcIMS Windows NT UNIX ArcIMS ArcIMS MapService ArcIMS ArcIMS ArcIMS ArcIMS JAVA Windows NT UNIX ArcI

Data Server_new_.doc

天津天狮学院关于修订2014级本科培养方案的指导意见

软件测试(TA07)第一学期考试

第一章 Linux與網路資源

Microsoft Word - WebGoat用户指南-beta2.doc

2005 3

2004 Sun Microsystems, Inc Network Circle, Santa Clara, CA U.S.A. Sun Sun Berkeley BSD UNIX X/Open Company, Ltd. / SunSun MicrosystemsSun

untitled

<4D F736F F D D352DBED6D3F2CDF8D7E9BDA8D3EBB9DCC0EDCFEEC4BFBDCCB3CCD5FDCEC42E646F63>

Microsoft Word - SPEC


(Microsoft Word -

目 录 推 荐 文 章 1 1. 关 于 我 校 信 息 化 服 务 开 展 的 一 些 思 考 ( 人 事 处 周 礼 ) 1 2. 围 绕 协 同 创 新 理 念 构 建 科 研 服 务 管 理 信 息 化 新 体 系 ( 科 研 院 史 红 兵 钱 秀 红 方 令 超 )4 3. 协 同 科

turbomail方案

ebook

Microsoft Word - 武術-定稿.doc

资源管理软件TORQUE与作业调度软件Maui的安装、设置及使用

Abstract arm linux tool-chain root NET-Start! 2

Parallels Plesk Panel 安裝與升級指南

Transcription:

FreeBSD A 95/10/11 19:00~21:00 95/10/11 FreeBSD 練 1

Services Setup SSH, lighttpd, PHP, MySQL, FTP, Postfix, phpmyadmin, Blog, Gallery 95/10/11 FreeBSD 練 2

1. 2. # FreeBSD # 3. vi ee joe nano etc 95/10/11 FreeBSD 練 3

95/10/11 FreeBSD 練 4

PC-BSD http://www.pcbsd.org 95/10/11 FreeBSD 練 5

PC-BSD FreeBSD BSD KDE (PBI) http://www.pbidir.com 95/10/11 FreeBSD 練 6

Exercise 0 PBI PC-BSD Firefox 95/10/11 FreeBSD 練 7

95/10/11 FreeBSD 練 8

Service 95/10/11 FreeBSD 練 9

SSH Secure Shell http://zh.wikipedia.org/wiki/ssh 95/10/11 FreeBSD 練 10

SSH (Telnet FTP) SSH 95/10/11 FreeBSD 練 11

SSH /etc/rc.conf sshd_enable="yes" SSH /etc/rc.d/sshd start 95/10/11 FreeBSD 練 12

SSH /etc/ssh/sshd_config Port 22 PermitRootLogin no 95/10/11 FreeBSD 練 13

Windows SSH FreeBSD 95/10/11 FreeBSD 練 14

Open Source A Free Telnet/SSH Client putty http://www.putty.nl 95/10/11 FreeBSD 練 15

PieTTY http://www.csie.ntu.edu.tw/~piaip/pietty/ 95/10/11 FreeBSD 練 16

A secure, fast, compliant, and very flexible Web Server lighttpd Light footprint + httpd = LightTPD http://www.lighttpd.net/ 95/10/11 FreeBSD 練 17

lighttpd cd /usr/ports/www/lighttpd make install clean Options for lighttpd [ X ] MYSQL 95/10/11 FreeBSD 練 18

Options for lighttpd 95/10/11 FreeBSD 練 19

95/10/11 FreeBSD 練 20

lighttpd /etc/rc.conf lighttpd_enable="yes mkdir /usr/local/www/data ( ) && cd /var/log touch lighttpd.access.log lighttpd.error.log chown www:www lighttpd.access.log chown www:www lighttpd.error.log 95/10/11 FreeBSD 練 21

lighttpd /usr/local/etc/lighttpd.conf mod_fastcgi, (# ) fastcgi.server = (.php => ( "localhost" => ( "socket" => "/tmp/php-fastcgi.socket", "bin-path" => "/usr/local/bin/php-cgi" ) ) ) lighttpd /usr/local/etc/rc.d/lighttpd start 95/10/11 FreeBSD 練 22

PHP: Hypertext Preprocessor PHP http://php.net Personal HomePage 95/10/11 FreeBSD 練 23

PHP cd /usr/ports/lang/php5 make install clean Options for php5 95/10/11 FreeBSD 練 24

php5-extensions php5-extensions cd /usr/ports/lang/php5-extensions make install clean Options for php5-extensions [ X ] MYSQL MySQL database support lighttpd /usr/local/etc/rc.d/lighttpd restart 95/10/11 FreeBSD 練 25

/usr/local/www/data/index.php [IP]/index.php HTML PHP Exercise 1 PCBSD Firefox Konqueror http://localhost/index.php 95/10/11 FreeBSD 練 26

The World s Most Popular Open Source Database MySQL http://mysql.org 95/10/11 FreeBSD 練 27

MySQL cd /usr/ports/databases/mysql51-server/ make install clean /etc/rc.conf mysql_enable="yes" MySQL /usr/local/etc/rc.d/mysql-server start 95/10/11 FreeBSD 練 28

MySQL MySQL ( ) mysqladmin -u root password [ ] MySQL mysqladmin -u root -p password [ ] Enter password: 95/10/11 FreeBSD 練 29

ProFTPD vsftpd FTP pure-ftpd File Transfer Protocol wu-ftpd 95/10/11 FreeBSD 練 30

proftpd cd /usr/ports/ftp/proftpd make install clean Options for proftpd 95/10/11 FreeBSD 練 31

proftpd /etc/rc.conf proftpd_enable="yes" proftpd /usr/local/etc/rc.d/proftpd start 95/10/11 FreeBSD 練 32

95/10/11 FreeBSD 練 33

proftpd - IPv4 getaddrinfo ' sata.localdomain ' error: hostname nor servname provided, or not known - warning: unable to determine IP address of 'sata.localdomain' - error: no valid servers configured - Fatal: error processing configuration file '/usr/local/etc/proftpd.conf' 95/10/11 FreeBSD 練 34

FTP Server 95/10/11 FreeBSD 練 35

( ) /etc/hosts 127.0.0.1 Ex: 127.0.0.1 localhost localhost.my.domain sata.localdomain proftpd 95/10/11 FreeBSD 練 36

postfix http://www.postfix.org 95/10/11 FreeBSD 練 37

postfix cd /usr/ports/mail/postfix make install clean Options for postfix 95/10/11 FreeBSD 練 38

postfix You need user "postfix" added to group "mail". Would you like me to add it [y]? yes Would you like to activate Postfix in /etc/mail/mailer.conf [n]? yes 95/10/11 FreeBSD 練 39

postfix rc.conf postfix_enable="yes" sendmail_enable="none" postfix /usr/local/etc/rc.d/postfix start 95/10/11 FreeBSD 練 40

mail -s [ ] [ ] < [ ] Ex: mail -s 955004001@cc.ncu.edu.tw < /etc/rc.conf Exercise 2 rc.conf 95/10/11 FreeBSD 練 41

phpmyadmin http://www.phpmyadmin.net 95/10/11 FreeBSD 練 42

phpmyadmin cd /usr/ports/databases/phpmyadmin make install clean Options for phpmyadmin 95/10/11 FreeBSD 練 43

phpmyadmin cd /usr/local/www/data ln -s../phpmyadmin/ phpmyadmin phpmyadmin http://[ip]/phpmyadmin/ 95/10/11 FreeBSD 練 44

phpmyadmin cd /usr/local/www/phpmyadmin cp config.sample.inc.php config.inc.php config.inc.php $cfg['servers'][$i]['auth_type'] = 'http'; $cfg['servers'][$i]['controluser'] = ' '; $cfg['servers'][$i]['controlpass'] = ' '; 裡 95/10/11 FreeBSD 練 45

Blog 95/10/11 FreeBSD 練 46

Wordpress http://wordpress.org 95/10/11 FreeBSD 練 47

Wordpress cd /usr/ports/www/wordpress make install clean 95/10/11 FreeBSD 練 48

Wordpress MySQL 95/10/11 FreeBSD 練 49

Second Step admin Now you can log in with the username "admin" and password "df5fc1". http://[ip]/wordpress/ create a wp-config.php file through a web interface 95/10/11 FreeBSD 練 50

95/10/11 FreeBSD 練 51

Gallery http://gallery.menalto.com 95/10/11 FreeBSD 練 52

Gallery2 cd /usr/ports/www/gallery2 make install clean cd /usr/local/www/data ln -s../gallery2/ gallery2 95/10/11 FreeBSD 練 53

Gallery2 MySQL 95/10/11 FreeBSD 練 54

http://[ip]/gallery2/ 95/10/11 FreeBSD 練 55

The End shell scripts - tcsh, bash 95/10/11 FreeBSD 練 56