SlideShare a Scribd company logo
Linux Server Start (Cent OS) related use in project deployments
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 .
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
Common Command
Config IP /etc/sysconfig/network-scripts/ifcfg-device /etc/resolve.conf /etc/hosts /etc/init.d/network start/restart Linux Network Configuration
Touch Server VNCServer  配置及 VNCView 的使用 SSH  - putty 的使用 FileZilla
Domain Related DNS   Doman -> IP Hosting
JDK get JDK  -  wget  commond config JDK
DataBase(Mysql) rpm -ivh MySQL-server-5.0.16-0.i386.rpm grant all privileges on *.* to root@&quot;%&quot; 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
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
Apache  & Nginx apche config nginx config
NTP Network Time Protocol(NTP) ntpdate www.ntp.org date -s 20061010
Auto Start & Firewall tomcat auto start after server restart /etc/init.d/iptables start/stop /etc/sysconfig/iptables
Thanks

More Related Content

What's hot (20)

PDF
How to ride a 100GbE LAN -MEMO-
Naoto MATSUMOTO
 
PDF
Nginx
Shaopeng He
 
ODP
LSA2 - 02 Control Groups
Marian Marinov
 
PPT
Installation of application server 10g in red hat 4
uzzzle
 
PPTX
Quick Start Guide using Virtuozzo 7 (β) on AWS EC2
Kentaro Ebisawa
 
ODP
LSA2 - 02 Namespaces
Marian Marinov
 
PDF
Common linuxcommandspocketguide07
Teja Bheemanapally
 
PDF
New Ways to Find Latency in Linux Using Tracing
ScyllaDB
 
PPTX
От sysV к systemd
Denis Kovalev
 
ODP
LSA2 - 01 Virtualization with KVM
Marian Marinov
 
PDF
How to install OpenStack MITAKA --allinone - cheat sheet -
Naoto MATSUMOTO
 
DOCX
Lamp configuration u buntu 10.04
mikehie
 
PDF
RabbitMQ Server - cheat sheet -
Naoto MATSUMOTO
 
PDF
Velocity 2017 Performance analysis superpowers with Linux eBPF
Brendan Gregg
 
ODT
Squid file
Nalin Peiris
 
PDF
How to twist a IPv6 over Bluetooth (6lowpan)
Naoto MATSUMOTO
 
PDF
Eduardo Silva - monkey http-server everywhere
StarTech Conference
 
PDF
1 m+ qps on mysql galera cluster
OlinData
 
PDF
T.Pollak y C.Yaconi - Prey
StarTech Conference
 
PPTX
Web sockets
bodokaiser
 
How to ride a 100GbE LAN -MEMO-
Naoto MATSUMOTO
 
LSA2 - 02 Control Groups
Marian Marinov
 
Installation of application server 10g in red hat 4
uzzzle
 
Quick Start Guide using Virtuozzo 7 (β) on AWS EC2
Kentaro Ebisawa
 
LSA2 - 02 Namespaces
Marian Marinov
 
Common linuxcommandspocketguide07
Teja Bheemanapally
 
New Ways to Find Latency in Linux Using Tracing
ScyllaDB
 
От sysV к systemd
Denis Kovalev
 
LSA2 - 01 Virtualization with KVM
Marian Marinov
 
How to install OpenStack MITAKA --allinone - cheat sheet -
Naoto MATSUMOTO
 
Lamp configuration u buntu 10.04
mikehie
 
RabbitMQ Server - cheat sheet -
Naoto MATSUMOTO
 
Velocity 2017 Performance analysis superpowers with Linux eBPF
Brendan Gregg
 
Squid file
Nalin Peiris
 
How to twist a IPv6 over Bluetooth (6lowpan)
Naoto MATSUMOTO
 
Eduardo Silva - monkey http-server everywhere
StarTech Conference
 
1 m+ qps on mysql galera cluster
OlinData
 
T.Pollak y C.Yaconi - Prey
StarTech Conference
 
Web sockets
bodokaiser
 

Similar to Linux Server Start (20)

DOCX
Kickstart
Dhananjayan Ezhumalai
 
PDF
Deployment of WebObjects applications on CentOS Linux
WO Community
 
PDF
Lamp Server With Drupal Installation
franbow
 
PPTX
Presentation Linux Server setup Advance Networking
Tariqul Islam Shohag
 
DOC
X64服务器 lnmp服务器部署标准 new
Yiwei Ma
 
PDF
Belvedere
Colin Panisset
 
DOCX
Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...
JohnWilson47710
 
KEY
/etc/rc.d配下とかのリーディング勉強会
Naoya Nakazawa
 
PDF
linux installation.pdf
MuhammadShoaibHussai2
 
PDF
DNS (BIND) on CentOS
Md Tanjil Islam Bappi
 
PDF
Magento Imagine eCommerce Conference February 2011: Optimizing Magento For Pe...
varien
 
PDF
Magento's Imagine eCommerce Conference 2011 - Hosting Magento: Performance an...
MagentoImagine
 
PPT
How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
Matt Dunlap
 
PDF
Hp ux-security-check
Mohamed Kajamoideen
 
PDF
Deploying to Ubuntu on Linode
WO Community
 
PPT
linux
Ajay Chawda
 
PDF
Web Server Free Bsd
Kwanchai Charoennet
 
PDF
Section 3 topics-Linux Servers Book.pdf
MuhammadFaizan377959
 
PDF
Linux Containers From Scratch: Makfile MicroVPS
joshuasoundcloud
 
PDF
OSインストーラーの自作方法
LINE Corporation
 
Deployment of WebObjects applications on CentOS Linux
WO Community
 
Lamp Server With Drupal Installation
franbow
 
Presentation Linux Server setup Advance Networking
Tariqul Islam Shohag
 
X64服务器 lnmp服务器部署标准 new
Yiwei Ma
 
Belvedere
Colin Panisset
 
Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...
JohnWilson47710
 
/etc/rc.d配下とかのリーディング勉強会
Naoya Nakazawa
 
linux installation.pdf
MuhammadShoaibHussai2
 
DNS (BIND) on CentOS
Md Tanjil Islam Bappi
 
Magento Imagine eCommerce Conference February 2011: Optimizing Magento For Pe...
varien
 
Magento's Imagine eCommerce Conference 2011 - Hosting Magento: Performance an...
MagentoImagine
 
How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
Matt Dunlap
 
Hp ux-security-check
Mohamed Kajamoideen
 
Deploying to Ubuntu on Linode
WO Community
 
Web Server Free Bsd
Kwanchai Charoennet
 
Section 3 topics-Linux Servers Book.pdf
MuhammadFaizan377959
 
Linux Containers From Scratch: Makfile MicroVPS
joshuasoundcloud
 
OSインストーラーの自作方法
LINE Corporation
 
Ad

Linux Server Start

  • 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
  • 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@&quot;%&quot; 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

Editor's Notes

  • #4: 现场 Linux 演示
  • #5: 图片可点击
  • #6: 现场 Linux 演示
  • #7: 现场 Linux 演示
  • #8: 拿到了主机,获取了 IP ,上架,域名设置,虚拟主机
  • #10: 现场演示 mysqldump
  • #11: tomcat 别忘记删 manager, 现场演示 GlassFish 的配置
  • #12: 现场演示配置