Run EasyApache with DEFAULT profile via SSH
Hello, we want run EasyApache to fix the vulnerabilities that correct the last version.
We want do via SSH, not connecting to the WHM.
Is it possible to run the DEFAULT profile with only 1 command? not any intervention to select some extra options. Just run the command and wait to finish.
Thanks.
-
You can build the last profile by: # /scripts/easyapache --build You can build a specific profile by: # /scripts/easyapache --build --profile=profile_name The profile name must match the file found in /var/cpanel/easy/apache/profile/custom/ without the .yaml extension. The --profile parameter also accepts a fully qualified file name. 0 -
Many thanks! 0 -
There are any parameter to run in background? 0 -
]There are any parameter to run in background?
No, there isn't. What I do is use a terminal multiplexer, like screen or tmux. Then I can start easyapache, and either continue work in a different session, or just close my connection. easyapache will continue running in your screen or tmux session. Screen: [url=http://www.gnu.org/software/screen/]GNU Screen - GNU Project - Free Software Foundation tmux: [url=http://tmux.sourceforge.net/]tmux Either should be available on CentOS (yum install screen; yum install tmux - pick one)0
Please sign in to leave a comment.
Comments
4 comments