Your SlideShare is downloading. ×

Linux Server Start

650

Published on

给team新人做的一次入门分享

给team新人做的一次入门分享

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
650
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • 现场 Linux 演示
  • 图片可点击
  • 现场 Linux 演示
  • 现场 Linux 演示
  • 拿到了主机,获取了 IP ,上架,域名设置,虚拟主机
  • 现场演示 mysqldump
  • tomcat 别忘记删 manager, 现场演示 GlassFish 的配置
  • 现场演示配置
  • Transcript

    • 1. Linux Server Start (Cent OS) related use in project deployments
    • 2. Agenda
      • Common Command
      • Config IP
      • Touch Server
      • Domain Related
      • JDK
      • DataBase(Mysql)
      • Web Container ( Tomcat+GlassFish )
      • Apache & Nginx
      • NTP(Network Time Procotol)
      • Auto Start & Firewall
      • .
    • 3. Common Command
      • cat /proc/version(cpuinfo,meminfo)
      • cp /opt/test.txt /opt/test/
      • find / -name httpd.conf
      • ps aux|grep java
      • ls -al
      • rm -rf ...
      • vi/vim
      • top
      • scp (remote copy)
      • man
    • 4. Common Command
    • 5. Config IP
      • /etc/sysconfig/network-scripts/ifcfg-device
      • /etc/resolve.conf
      • /etc/hosts
      • /etc/init.d/network start/restart
      • Linux Network Configuration
    • 6. Touch Server
      • VNCServer 配置及 VNCView 的使用
      • SSH - putty 的使用
      • FileZilla
    • 7. Domain Related
      • DNS Doman -> IP
      • Hosting
    • 8. JDK
      • get JDK - wget commond
      • config JDK
    • 9. DataBase(Mysql)
      • rpm -ivh MySQL-server-5.0.16-0.i386.rpm
      • grant all privileges on *.* to root@"%" identified by 'passwd'
      • mysqldump -u root -p renrendai > /opt/renrendai.sql
      • mysql -u root -p renrendai < renrendai.sql
      • mysql 8 hours problems
      • MySQL on Linux Tutorial
    • 10. Web Container ( Tomcat+GlassFish )
      • tar -zxvf apache-tomcat-6.0.29.tar.gz
      • unzip apache-tomcat-6.0.29.zip
      • http://dlc.sun.com.edgesuite.net/glassfish/v3/release/
      • ./bin asadmin start-domain domain1
      • ./bin asadmin stop-domain domain1
    • 11. Apache & Nginx
      • apche config
      • nginx config
    • 12. NTP
      • Network Time Protocol(NTP)
      • ntpdate www.ntp.org
      • date -s 20061010
    • 13. Auto Start & Firewall
      • tomcat auto start after server restart
      • /etc/init.d/iptables start/stop
      • /etc/sysconfig/iptables
    • 14. Thanks

    ×