FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


languages:java:index.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
languages:java:index.html [2018/03/09 01:01]
kurihara
languages:java:index.html [2019/02/11 00:48] (current)
kurihara
Line 17: Line 17:
  
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
-$ fab  -H $H auth.pro  java.install_yum+$ fab  -H $H   java.install_yum
 </sxh> </sxh>
  
Line 62: Line 62:
     """ java.add_etc_profile:/usr/java/jdk1.8.0_74"""     """ java.add_etc_profile:/usr/java/jdk1.8.0_74"""
     # Backup     # Backup
-    sudo("cp -p /etc/pfofile /etc/pfofile.`date -d '1day ago' +%Y%m%d`")+    sudo("cp -p /etc/profile /etc/profile.`date -d '1day ago' +%Y%m%d`")
     # Add /etc/profile     # Add /etc/profile
     sudo('echo "" >> /etc/profile')     sudo('echo "" >> /etc/profile')


languages/java/index.html.1520524899.txt.gz ยท Last modified: 2018/03/09 01:01 by kurihara