SlideShare une entreprise Scribd logo
1  sur  69
(   :server)




Wikipedia( http://ja.wikipedia.org/wiki/%E3%82%B5%E3%83%BC%E3%83%90 )
Apache     Nginx    IIS
http

DB         MySQL    PostgreSQL Oracle



             Sendmail    Qmail     Postfix
                           (POP        IMAP)
  (SMTP)

FTP        vsftp   ProFTPD
http://www.google.co.jp/



                    http://www.google.co.jp/




                                                                Iconfinder




                                                          ...
         DNS   IP                          GET POST ...
http://www.google.co.jp/



                    http://www.google.co.jp/




                                                                Iconfinder




                                                          ...
         DNS   IP                          GET POST ...
traceroute   Google

Firefox          Live HTTP headers   Google
OS Linux
                 Enterprise
 Red hat Enterprise

Windows Server   MacOSX Server
C




Google Google
URL

URL
   http://www.google.com:80/index.html
http ⇒           www ⇒
google.com ⇒         80 ⇒
index.html ⇒
DNS                 IP



               IP



IP                        8

                              http   ftp
ssh   telnet   pop smtp

               IP
PHP   JSP   Ruby   Python Perl   ..




        Google
DB




     Cookie SQLite
OS

VMWare   VirtualBox
                                      OS



     VirtualBox

                  https://www.virtualbox.org/wiki/
Downloads
CentOS 6    http://ftp.riken.jp/Linux/centos/6.0/isos/
i386/CentOS-6.0-i386-bin-DVD.iso

Apache     PHP   MySQL   vsftpd

       WordPress



※Linux     Apache   MySQL   PHP
LAMP
OS
PC
CentOS 6
Enter
Skip   Tab   Space
root
root   Enter
(          )
LINUX
ifconfig :

ping [Server] : [Server]

cd [dir] :                           root



pwd :

cp [base] [to] :

rm [-options] [file] :

vi [file]:                  i   esc          :w
       :q

ls :
OS




iptables           SELinux
               w

service iptables stop

setenforce 0
SSH      PC
ifconfig        IP

PC Mac              Windows       TeraTerm
  Poderosa

Mac                           /


ssh root@IP
          IP
yes                                    root
MYSQL

LAMP                      MySQL→Apache→PHP



yum -y install mysql-server



service mysqld start

chkconfig mysqld on
APACHE                 PHP

Apache    PHP    mbstring               mysql   MySQL



yum -y install httpd
yum -y install php php-mbstring php-mysql php-mcrypt
service httpd start
chkconfig httpd on
                            http://IP
       Apache
VSFTPD


FTP            vsftpd

yum -y install vsftpd

service vsftpd start

chkconfig vsftpd on
FTP


useradd -d /var/www/
                       WordPress
-d



passwd
                                   2
chown -R    /var/www/
           wordpress
FTP



Mac    FileZilla   Windows   FFFTP



         IP
MYSQL

                   MySQL
MySQL    root



mysql -u root -p

SET PASSWORD FOR
root@localhost=PASSWORD('wordpress');

CREATE DATABASE wordpress charset=utf8;
WORDPRESS


            http://IP
WordPress
ノンエンジニアがウェブサーバーを構築するまで

Contenu connexe

Tendances

商派信息安全解决方案
商派信息安全解决方案商派信息安全解决方案
商派信息安全解决方案wanglei999
 
Clustering j boss7
Clustering j boss7Clustering j boss7
Clustering j boss7UAT
 
TCA Änderungen in TYPO3 6.2 am Beispiel einer Erweiterung der News Extension
TCA Änderungen in TYPO3 6.2 am Beispiel einer Erweiterung der News ExtensionTCA Änderungen in TYPO3 6.2 am Beispiel einer Erweiterung der News Extension
TCA Änderungen in TYPO3 6.2 am Beispiel einer Erweiterung der News ExtensionPeter Kraume
 
Windows Sever 2003
Windows Sever 2003Windows Sever 2003
Windows Sever 2003phaisack
 

Tendances (6)

商派信息安全解决方案
商派信息安全解决方案商派信息安全解决方案
商派信息安全解决方案
 
Ep3 ff994
Ep3 ff994Ep3 ff994
Ep3 ff994
 
Clustering j boss7
Clustering j boss7Clustering j boss7
Clustering j boss7
 
TCA Änderungen in TYPO3 6.2 am Beispiel einer Erweiterung der News Extension
TCA Änderungen in TYPO3 6.2 am Beispiel einer Erweiterung der News ExtensionTCA Änderungen in TYPO3 6.2 am Beispiel einer Erweiterung der News Extension
TCA Änderungen in TYPO3 6.2 am Beispiel einer Erweiterung der News Extension
 
Windows Sever 2003
Windows Sever 2003Windows Sever 2003
Windows Sever 2003
 
Jugando con docker
Jugando con dockerJugando con docker
Jugando con docker
 

ノンエンジニアがウェブサーバーを構築するまで

  • 1.
  • 2. ( :server) Wikipedia( http://ja.wikipedia.org/wiki/%E3%82%B5%E3%83%BC%E3%83%90 )
  • 3. Apache Nginx IIS http DB MySQL PostgreSQL Oracle Sendmail Qmail Postfix (POP IMAP) (SMTP) FTP vsftp ProFTPD
  • 4. http://www.google.co.jp/ http://www.google.co.jp/ Iconfinder ... DNS IP GET POST ...
  • 5. http://www.google.co.jp/ http://www.google.co.jp/ Iconfinder ... DNS IP GET POST ...
  • 6. traceroute Google Firefox Live HTTP headers Google
  • 7. OS Linux Enterprise Red hat Enterprise Windows Server MacOSX Server
  • 9. URL URL http://www.google.com:80/index.html http ⇒ www ⇒ google.com ⇒ 80 ⇒ index.html ⇒
  • 10. DNS IP IP IP 8 http ftp ssh telnet pop smtp IP
  • 11. PHP JSP Ruby Python Perl .. Google
  • 12. DB Cookie SQLite
  • 13.
  • 14.
  • 15. OS VMWare VirtualBox OS VirtualBox https://www.virtualbox.org/wiki/ Downloads
  • 16. CentOS 6 http://ftp.riken.jp/Linux/centos/6.0/isos/ i386/CentOS-6.0-i386-bin-DVD.iso Apache PHP MySQL vsftpd WordPress ※Linux Apache MySQL PHP LAMP
  • 17. OS
  • 18.
  • 19.
  • 20. PC
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 33.
  • 34. Enter
  • 35. Skip Tab Space
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48. root
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54. root Enter ( )
  • 55.
  • 56. LINUX ifconfig : ping [Server] : [Server] cd [dir] : root pwd : cp [base] [to] : rm [-options] [file] : vi [file]: i esc :w :q ls :
  • 57. OS iptables SELinux w service iptables stop setenforce 0
  • 58.
  • 59. SSH PC ifconfig IP PC Mac Windows TeraTerm Poderosa Mac / ssh root@IP IP yes root
  • 60.
  • 61. MYSQL LAMP MySQL→Apache→PHP yum -y install mysql-server service mysqld start chkconfig mysqld on
  • 62. APACHE PHP Apache PHP mbstring mysql MySQL yum -y install httpd yum -y install php php-mbstring php-mysql php-mcrypt service httpd start chkconfig httpd on http://IP Apache
  • 63. VSFTPD FTP vsftpd yum -y install vsftpd service vsftpd start chkconfig vsftpd on
  • 64. FTP useradd -d /var/www/ WordPress -d passwd 2
  • 65. chown -R /var/www/ wordpress
  • 66. FTP Mac FileZilla Windows FFFTP IP
  • 67. MYSQL MySQL MySQL root mysql -u root -p SET PASSWORD FOR root@localhost=PASSWORD('wordpress'); CREATE DATABASE wordpress charset=utf8;
  • 68. WORDPRESS http://IP WordPress

Notes de l'éditeur

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. \n
  41. \n
  42. \n
  43. \n
  44. \n
  45. \n
  46. \n
  47. \n
  48. \n
  49. \n
  50. \n
  51. \n
  52. \n
  53. \n
  54. \n
  55. \n
  56. \n
  57. \n
  58. \n
  59. \n
  60. \n
  61. \n
  62. \n
  63. \n
  64. \n
  65. \n
  66. \n
  67. \n