Step One:
Step Two:
Install Softaculous with SSH
wget -N http://files.softaculous.com/install.sh chmod 755 install.sh ./install.sh
Done!
Step One:
Step Two:
Install Softaculous with SSH
wget -N http://files.softaculous.com/install.sh chmod 755 install.sh ./install.sh
Done!
Problems:
Solution:
use sudo as the text file is indeed not executable.
sudo vi /etc/ssh/sshd_config
Problems:
Solution:
Run following commands:
./build apache
./build php
./build rewrite_confs
CSF with Brute Force Monitor (BFM) will provide extra benefit of BFM to find some extra cases which triggers the blocks using CSF.
It will use the iptables configuration, and all features of CSF, plus the added benefit of the BFM
wget http://files.directadmin.com/services/all/csf/csf_install.sh /bin/sh ./csf_install.sh
A quick way to reset public_html data to 755 for directories and 644 for files:
cd /home/user/domains/domain.com/public_html
find . -type d -exec chmod 0755 {} \;
find . -type f -exec chmod 0644 {} \;
additionally, if you know php runs as the user and not as “apache”, then you can set php files to 600, for an extra level of security, eg:
find . -type f -name '*.php' -exec chmod 600 {} \;