SlideShare una empresa de Scribd logo
1 de 19
Descargar para leer sin conexión
Awesome CLI
Tool for geeky Plesk admins
Unix only
Captain Obvious
A lot of time in console
Completion, aliases, own scripts
Plesk has rich CLI interface
There are some problems with it ;)
Not So Obvious
I waste spend
~50% of time at console
typing...
typing...
typing...
Typical Commands
mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa
/usr/local/psa/bin/domain ...
/usr/local/psa/bin/sw-engine-pleskrun /usr/local...
tail -f /var/log/sw-cp-server/error_log
...
(taken from history file)
Motivation
Previous problems
Book
Tool for own use
Welcome To “plesk”
Plesk CLI Wrapper
One utility named “plesk” for every task
Self-documenting
Manual page (man plesk, right!)
Bundled with Plesk 11.5
One-click installer for older versions
Commands vs. Suites
Too much commands
/usr/local/psa/bin/domain
mysql
cat, tail and etc.
Unification
plesk - single command for everything
plesk help subcommand - self documenting
Command Suites Examples
git
svn
rails
rake
...
Available Commands
plesk help
plesk bin
plesk sbin
plesk db
plesk php
plesk conf
plesk log
plesk version
Old Way
#	
  cat	
  /etc/issue
CentOS	
  release	
  5.9	
  (Final)..
#	
  cat	
  /usr/local/psa/version	
  
11.5.22	
  CentOS	
  5	
  115130325.19
#	
  cat	
  /usr/local/psa/.revision	
  
319415
#	
  uname	
  -­‐a
Linux	
  hp-­‐demo.sb.plesk.ru	
  ...
New Way
#	
  plesk	
  version
Product	
  version:	
  11.5.22
	
  	
  	
  	
  	
  Build	
  date:	
  2013/03/25	
  19:00
	
  	
  	
  Build	
  target:	
  CentOS	
  5
	
  	
  	
  	
  	
  	
  	
  Revision:	
  319415
	
  	
  	
  Architecture:	
  32-­‐bit
Wrapper	
  version:	
  1.0
Old Way
#	
  mysql	
  -­‐uadmin	
  -­‐p`cat	
  /etc/
psa/.psa.shadow`	
  psa
Welcome	
  to	
  the	
  MySQL	
  monitor...
...
Type	
  'help;'	
  or	
  'h'	
  for	
  help...
mysql>	
  
New Way
#	
  plesk	
  db
Welcome	
  to	
  the	
  MySQL	
  monitor...
...
Type	
  'help;'	
  or	
  'h'	
  for	
  help...
mysql>	
  
Old Way
#	
  /usr/local/psa/bin/sw-­‐engine-­‐
pleskrun	
  /usr/local/psa/bin/client	
  -­‐h
Usage:	
  client	
  command	
  <login_name>	
  ..
	
  	
  	
  	
  Available	
  commands:
	
  	
  	
  	
  -­‐-­‐create	
  or	
  -­‐c	
  	
  	
  	
  	
  <login_name>	
  	
  	
  	
  
Creates	
  a	
  new	
  customer	
  account..
#	
  /usr/local/psa/bin/sw-­‐engine-­‐
pleskrun	
  /usr/local/psa/bin/client	
  -­‐-­‐
create	
  ...
New Way
#	
  plesk	
  bin	
  cl<TAB>
client	
  	
  	
  	
  	
  	
  	
  client_pref	
  	
  cloning
#	
  plesk	
  bin	
  client	
  -­‐-­‐create<TAB>
-­‐-­‐create	
  	
  	
  	
  	
  -­‐-­‐create-­‐gapps-­‐account
Results
Use it everyday by myself
Save time
Really like it (getting fun :))
Easy to extend with new commands
Integrated into Plesk 11.5
Try It!
On your installation of Plesk 11.5
Using one-click installer for older versions
Project Repo
https://github.com/sibprogrammer/plesk-ctl
Thank You
Questions & suggestions:
sibprogrammer@gmail.com

Más contenido relacionado

La actualidad más candente

Refactoring.the.ruby.way
Refactoring.the.ruby.wayRefactoring.the.ruby.way
Refactoring.the.ruby.wayShouichi KAMIYA
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to AnsibleCoreStack
 
Compcon 2016 Workshop
Compcon 2016 WorkshopCompcon 2016 Workshop
Compcon 2016 WorkshopSteven Cooper
 
Virtual Infrastructure
Virtual InfrastructureVirtual Infrastructure
Virtual InfrastructureBryan McLellan
 
Modern Perl toolchain (help building microservices)
Modern Perl toolchain (help building microservices)Modern Perl toolchain (help building microservices)
Modern Perl toolchain (help building microservices)Jose Luis Martínez
 
Installing Drupal 7 in Debian Environment
Installing Drupal 7 in Debian EnvironmentInstalling Drupal 7 in Debian Environment
Installing Drupal 7 in Debian EnvironmentEleison Cruz
 
Ansible basics workshop
Ansible basics workshopAnsible basics workshop
Ansible basics workshopDavid Karban
 
Getting instantly up and running with Docker and Symfony
Getting instantly up and running with Docker and SymfonyGetting instantly up and running with Docker and Symfony
Getting instantly up and running with Docker and SymfonyAndré Rømcke
 
Puppet Intfrastructure as Code
Puppet Intfrastructure as CodePuppet Intfrastructure as Code
Puppet Intfrastructure as CodeSamir Chekkal
 
Drupal cambs ansible for drupal april 2015
Drupal cambs ansible for drupal april 2015Drupal cambs ansible for drupal april 2015
Drupal cambs ansible for drupal april 2015Ryan Brown
 
Effective ansible
Effective ansibleEffective ansible
Effective ansibleWu Bigo
 
Composer Tutorial (PHP Hampshire Sept 2013)
Composer Tutorial (PHP Hampshire Sept 2013)Composer Tutorial (PHP Hampshire Sept 2013)
Composer Tutorial (PHP Hampshire Sept 2013)James Titcumb
 

La actualidad más candente (18)

Refactoring.the.ruby.way
Refactoring.the.ruby.wayRefactoring.the.ruby.way
Refactoring.the.ruby.way
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
 
Compcon 2016 Workshop
Compcon 2016 WorkshopCompcon 2016 Workshop
Compcon 2016 Workshop
 
Docker
DockerDocker
Docker
 
Virtual Infrastructure
Virtual InfrastructureVirtual Infrastructure
Virtual Infrastructure
 
Modern Perl toolchain (help building microservices)
Modern Perl toolchain (help building microservices)Modern Perl toolchain (help building microservices)
Modern Perl toolchain (help building microservices)
 
Drupal from scratch
Drupal from scratchDrupal from scratch
Drupal from scratch
 
Installing Drupal 7 in Debian Environment
Installing Drupal 7 in Debian EnvironmentInstalling Drupal 7 in Debian Environment
Installing Drupal 7 in Debian Environment
 
Drupal7 MEMCACHE
Drupal7 MEMCACHE Drupal7 MEMCACHE
Drupal7 MEMCACHE
 
Hadoop presentation
Hadoop presentationHadoop presentation
Hadoop presentation
 
Less
LessLess
Less
 
PowerShell - PowerForensics
PowerShell - PowerForensicsPowerShell - PowerForensics
PowerShell - PowerForensics
 
Ansible basics workshop
Ansible basics workshopAnsible basics workshop
Ansible basics workshop
 
Getting instantly up and running with Docker and Symfony
Getting instantly up and running with Docker and SymfonyGetting instantly up and running with Docker and Symfony
Getting instantly up and running with Docker and Symfony
 
Puppet Intfrastructure as Code
Puppet Intfrastructure as CodePuppet Intfrastructure as Code
Puppet Intfrastructure as Code
 
Drupal cambs ansible for drupal april 2015
Drupal cambs ansible for drupal april 2015Drupal cambs ansible for drupal april 2015
Drupal cambs ansible for drupal april 2015
 
Effective ansible
Effective ansibleEffective ansible
Effective ansible
 
Composer Tutorial (PHP Hampshire Sept 2013)
Composer Tutorial (PHP Hampshire Sept 2013)Composer Tutorial (PHP Hampshire Sept 2013)
Composer Tutorial (PHP Hampshire Sept 2013)
 

Similar a Plesk CLI Wrapper

IT Automation with Ansible
IT Automation with AnsibleIT Automation with Ansible
IT Automation with AnsibleRayed Alrashed
 
PM : code faster
PM : code fasterPM : code faster
PM : code fasterPHPPRO
 
How we used ruby to build locaweb's cloud (http://presentations.pothix.com/ru...
How we used ruby to build locaweb's cloud (http://presentations.pothix.com/ru...How we used ruby to build locaweb's cloud (http://presentations.pothix.com/ru...
How we used ruby to build locaweb's cloud (http://presentations.pothix.com/ru...Willian Molinari
 
Hadoop meet Rex(How to construct hadoop cluster with rex)
Hadoop meet Rex(How to construct hadoop cluster with rex)Hadoop meet Rex(How to construct hadoop cluster with rex)
Hadoop meet Rex(How to construct hadoop cluster with rex)Jun Hong Kim
 
Vmware Command Line
Vmware   Command LineVmware   Command Line
Vmware Command Linelifeit
 
Automating complex infrastructures with Puppet
Automating complex infrastructures with PuppetAutomating complex infrastructures with Puppet
Automating complex infrastructures with PuppetKris Buytaert
 
Introduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command lineIntroduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command lineBehzod Saidov
 
From Dev to DevOps - Codemotion ES 2012
From Dev to DevOps - Codemotion ES 2012From Dev to DevOps - Codemotion ES 2012
From Dev to DevOps - Codemotion ES 2012Carlos Sanchez
 
Automating Complex Setups with Puppet
Automating Complex Setups with PuppetAutomating Complex Setups with Puppet
Automating Complex Setups with PuppetKris Buytaert
 
Really useful linux commands
Really useful linux commandsReally useful linux commands
Really useful linux commandsMichael J Geiser
 
Ultimate Unix Meetup Presentation
Ultimate Unix Meetup PresentationUltimate Unix Meetup Presentation
Ultimate Unix Meetup PresentationJacobMenke1
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentationJohn Lynch
 
2009 cluster user training
2009 cluster user training2009 cluster user training
2009 cluster user trainingChris Dwan
 
Testing Wi-Fi with OSS Tools
Testing Wi-Fi with OSS ToolsTesting Wi-Fi with OSS Tools
Testing Wi-Fi with OSS ToolsAll Things Open
 
Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)Ata Rehman
 

Similar a Plesk CLI Wrapper (20)

IT Automation with Ansible
IT Automation with AnsibleIT Automation with Ansible
IT Automation with Ansible
 
PM : code faster
PM : code fasterPM : code faster
PM : code faster
 
How we used ruby to build locaweb's cloud (http://presentations.pothix.com/ru...
How we used ruby to build locaweb's cloud (http://presentations.pothix.com/ru...How we used ruby to build locaweb's cloud (http://presentations.pothix.com/ru...
How we used ruby to build locaweb's cloud (http://presentations.pothix.com/ru...
 
Hadoop meet Rex(How to construct hadoop cluster with rex)
Hadoop meet Rex(How to construct hadoop cluster with rex)Hadoop meet Rex(How to construct hadoop cluster with rex)
Hadoop meet Rex(How to construct hadoop cluster with rex)
 
Vmware Command Line
Vmware   Command LineVmware   Command Line
Vmware Command Line
 
Automating complex infrastructures with Puppet
Automating complex infrastructures with PuppetAutomating complex infrastructures with Puppet
Automating complex infrastructures with Puppet
 
PowerShell Remoting
PowerShell RemotingPowerShell Remoting
PowerShell Remoting
 
Introduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command lineIntroduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command line
 
From Dev to DevOps - Codemotion ES 2012
From Dev to DevOps - Codemotion ES 2012From Dev to DevOps - Codemotion ES 2012
From Dev to DevOps - Codemotion ES 2012
 
Automating Complex Setups with Puppet
Automating Complex Setups with PuppetAutomating Complex Setups with Puppet
Automating Complex Setups with Puppet
 
J+s
J+sJ+s
J+s
 
Puppet @ Seat
Puppet @ SeatPuppet @ Seat
Puppet @ Seat
 
UnixShells.ppt
UnixShells.pptUnixShells.ppt
UnixShells.ppt
 
Really useful linux commands
Really useful linux commandsReally useful linux commands
Really useful linux commands
 
Ultimate Unix Meetup Presentation
Ultimate Unix Meetup PresentationUltimate Unix Meetup Presentation
Ultimate Unix Meetup Presentation
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
 
2009 cluster user training
2009 cluster user training2009 cluster user training
2009 cluster user training
 
Automating with Ansible
Automating with AnsibleAutomating with Ansible
Automating with Ansible
 
Testing Wi-Fi with OSS Tools
Testing Wi-Fi with OSS ToolsTesting Wi-Fi with OSS Tools
Testing Wi-Fi with OSS Tools
 
Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)
 

Último

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 

Último (20)

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 

Plesk CLI Wrapper

  • 1. Awesome CLI Tool for geeky Plesk admins Unix only
  • 2. Captain Obvious A lot of time in console Completion, aliases, own scripts Plesk has rich CLI interface There are some problems with it ;)
  • 3. Not So Obvious I waste spend ~50% of time at console typing... typing... typing...
  • 4. Typical Commands mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa /usr/local/psa/bin/domain ... /usr/local/psa/bin/sw-engine-pleskrun /usr/local... tail -f /var/log/sw-cp-server/error_log ... (taken from history file)
  • 6. Welcome To “plesk” Plesk CLI Wrapper One utility named “plesk” for every task Self-documenting Manual page (man plesk, right!) Bundled with Plesk 11.5 One-click installer for older versions
  • 7. Commands vs. Suites Too much commands /usr/local/psa/bin/domain mysql cat, tail and etc. Unification plesk - single command for everything plesk help subcommand - self documenting
  • 9. Available Commands plesk help plesk bin plesk sbin plesk db plesk php plesk conf plesk log plesk version
  • 10. Old Way #  cat  /etc/issue CentOS  release  5.9  (Final).. #  cat  /usr/local/psa/version   11.5.22  CentOS  5  115130325.19 #  cat  /usr/local/psa/.revision   319415 #  uname  -­‐a Linux  hp-­‐demo.sb.plesk.ru  ...
  • 11. New Way #  plesk  version Product  version:  11.5.22          Build  date:  2013/03/25  19:00      Build  target:  CentOS  5              Revision:  319415      Architecture:  32-­‐bit Wrapper  version:  1.0
  • 12. Old Way #  mysql  -­‐uadmin  -­‐p`cat  /etc/ psa/.psa.shadow`  psa Welcome  to  the  MySQL  monitor... ... Type  'help;'  or  'h'  for  help... mysql>  
  • 13. New Way #  plesk  db Welcome  to  the  MySQL  monitor... ... Type  'help;'  or  'h'  for  help... mysql>  
  • 14. Old Way #  /usr/local/psa/bin/sw-­‐engine-­‐ pleskrun  /usr/local/psa/bin/client  -­‐h Usage:  client  command  <login_name>  ..        Available  commands:        -­‐-­‐create  or  -­‐c          <login_name>         Creates  a  new  customer  account.. #  /usr/local/psa/bin/sw-­‐engine-­‐ pleskrun  /usr/local/psa/bin/client  -­‐-­‐ create  ...
  • 15. New Way #  plesk  bin  cl<TAB> client              client_pref    cloning #  plesk  bin  client  -­‐-­‐create<TAB> -­‐-­‐create          -­‐-­‐create-­‐gapps-­‐account
  • 16. Results Use it everyday by myself Save time Really like it (getting fun :)) Easy to extend with new commands Integrated into Plesk 11.5
  • 17. Try It! On your installation of Plesk 11.5 Using one-click installer for older versions
  • 19. Thank You Questions & suggestions: sibprogrammer@gmail.com