2009-1-13w

  • Uploaded by: aorigin
  • 0
  • 0
  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View 2009-1-13w as PDF for free.

More details

  • Words: 394
  • Pages: 17
LAMP

LAMP refers to a solution stack of software free and open source software used to run dynamic Web sites or servers Linux – operating system Apache – Web server MySQL – database management system(database server) PHP/Perl/Python – scripting languages

Apache

http://news.netcraft.com/archives/2009/04/06/april_2009_web_server_survey.html

Installing LAMP(method 1) $ sudo tasksel install lamp-server tasksel a user interface for installing tasks shows all available tasks and allows to user to select ones to install tasksel install tasksel remove tasksel [option]

Installing LAMP(method 2) # apt-get update Install Apache + PHP # apt-get install apache2 php5 libapache2-mod-php5 /var/www/test.php http://localhost/test.php

Installing LAMP(method 2) Install MySQL Database Server # apt-get install mysql-server mysql-client php5-mysql /etc/mysql/my.cnf $ mysql -u root mysql> use mysql; mysql> update user set password=password('newpassword') where user='root'; mysql> FLUSH PRIVILEGES;

Installing LAMP(method 2) PhpMyAdmin Installation $ sudo apt-get install phpmyadmin /etc/phpmyadmin/ $ sudo vim /etc/apache2/apache2.conf Include /etc/phpmyadmin/apache.conf http://localhost/phpmyadmin

Webmin Webmin web-based interface for system administration for Unix Preparing your system sudo aptitude install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

Installing Webmin Method 1

wget http://prdownloads.sourceforge.net/webadmin/webmin sudo dpkg -i webmin_1.470_all.deb

Installing Webmin Method 2 sudo vi /etc/apt/sources.list deb http://download.webmin.com/download/repository sarge contrib wget http://www.webmin.com/jcameron-key.asc sudo apt-key add jcameron-key.asc sudo apt-get update sudo apt-get install webmin

Running Webmin http://host-name:10000

FTP File Transfer Protocol To promote sharing of files To encourage indirect or implicit use of remote computers To shield a user from variations in file storage systems among different hosts To transfer data reliably, and efficiently

FTP Connection methods active, passive, extended passive mode

Security problems SSL(Secure Sockets Layer)

Anonymous FTP Data format ASCII, Binary

FTP and web browsers

Installing FTP Server vsftpd GPL licensed FTP server for Unix systems, including Linux secure and extremely fast, stable $ sudo apt-get install vsftpd /etc/vsftpd.conf

Installing FTP Server ProFTPD high-performance, with a focus toward simplicity, security, and ease of configuration features a very Apache-like configuration syntax, modules highly customizable server infrastructure, including support for multiple 'virtual' FTP servers, anonymous FTP, and permission-based directory visibility $ sudo apt-get install proftpd /etc/proftpd/proftpd.conf

DNS server DNS(Domain Name Service) stores and associates many types of information with domain names translates domain names to IP addresses lists mail exchange servers accepting e-mail for each domain

DNS server BIND(Berkeley Internet Name Domain) open reference implementation of the Domain Name System(DNS) protocol provides a redistributable implementation of the major components of the Domain Name System

More Documents from "aorigin"

Upgrade Ubuntu
May 2020 2
2009-1-linux-w11
May 2020 4
2009-1-13w
May 2020 3
2009-1-7w
May 2020 1
2009-1-6w
May 2020 2
2009-1-3w
May 2020 1