find . -type f -exec sed -i 's/VESTA/HESTIA/g' {} + && \
find . -type f -exec sed -i 's/Vesta/Hestia/g' {} + && \
find . -type f -exec sed -i 's/vesta/hestia/g' {} + && \
rename 's/VESTA/HESTIA/' * && \
rename 's/vesta/hestia/' *
When upgrading to Hestia CP v1.1.0+ it is also required to edit the following file: /usr/local/hestia/web/templates/admin/panel.html
Find last element of <div class="l-menu clearfix noselect">
=> <div class="l-menu__item <?php if($TAB == 'SERVER' )
Add the following code on a new line right after </div> <div class="l-menu__item <?php if($TAB == 'CSF' ) echo 'l-menu__item--active' ?>"><a href="/list/csf/"><?=_('CSF')?></a></div>
If your version is 1.2.4 or older use: <div class="l-menu__item <?php if($TAB == 'CSF' ) echo 'l-menu__item--active' ?>"><a href="/list/csf/"><?=__('CSF')?></a></div>
Hi
Have tried the guide on fresh install on debian 9.11. But get errors
root@server1:/usr/src/csf# find . -type f -exec sed -i ‘s/VESTA/HESTIA/g’ {} + &&
find . -type f -exec sed -i ‘s/Vesta/Hestia/g’ {} + &&
find . -type f -exec sed -i ‘s/vesta/hestia/g’ {} + &&
rename ‘s/VESTA/HESTIA/’ * &&
rename ‘s/vesta/hestia/’ *
sed: -e expression #1, char 1: unknown command: `▒’
root@server1:/usr/src/csf#
Installing Perl web modules is optional - depending on your CSF configuration. However I do strongly recommend installing them as all future CSF updates will be done over HTTPS instead of HTTP.
If you enjoy CSF integration in Hestia CP - please consider visiting CSF FORUM to secure native CSF & Hestia support in the future.
@zulfianto - Unfortunately, I don’t have much free time to create a video. If you happen to find some - feel free to create one using asciinema … You could really help others - by verifying that the provided snippet works flawlessly.
@entiti - Why do I prefer CSF over Fail2ban? Simply put, I’m fan of very complex things
On embedded devices I do use only iptables, obviously…