27 Search results

For the term "ssh".

How To Harden Debian Server

Its not enough to harden just Debain. Its necessary to harden the rest of Apache-MySQL-PHP as well. Harden MYSQL sudo mysql_secure_installation answer Yes to all questions (but no need to change password) Disabling SSH root login and settings sudo vi /etc/ssh/sshd_config change PermitRootLogin yes to PermitRootLogin no LoginGraceTime 120 to LoginGraceTime 30 add line AllowUsers username username username Consider disabling...

GPG PGP Keys

Generate an SSH Key pair and upload public key to remote host

Magento Backend Blank Screen

Seems there are a lot of reasons you run into this distressing problem with Magento. So no one thing is certain to solve everyone’s problem. So here is a triag/list of things to do until the problem is solved. REMEMBER TO RESTART APACHE AFTER EACH CHANGE sudo service apache2 restart Uncomment to enable Error Reporting in Magento’s index.php and at...

Magento 1.7 Multiple Sites Install on Ubuntu Linux

How To Install Multiple Stores in Magento 1.7 These are my notes. I do not profess to be a professional Magento developer. This guide is for a pure SSH install using Rsync. Now given that you are proficient with SSH and command line Linux, the install of Magento is not difficult if you also can: Create a MySQL database, user...

Enable Pre-login Warning Message on Linux Server

Enable Pre-Login Message Should you wish to display a warning message at the SSH prompt of your server, follow these instructions: Login to your server: sudo vi /etc/ssh/sshd_config uncommment this line #Banner /etc/issue.net add this line to end of file AllowUsers username sudo vi /etc/issue.net enter your warning message. re: ————- W A R N I N G ————- THIS...

Setup Fail2ban for Debian and Ubuntu

My Notes Only taken from various sources. There are other much more complete guides for Fail2ban available. Install Fail2ban sudo apt-get install fail2ban filter definitions located in /etc/fail2ban/filter.d action definitions located in /etc/fail2ban/action.d The following is a minimal setup. Configure Fail2ban sudo vi /etc/fail2ban/jail.conf Configuration for jail.conf destemail = you@example.com # Email of where alerts should be sent to ignoreip...

Migrate WordPress

How To Migrate a WordPress instance to a New Server Backup Site internally (slice1) sudo cp -Rf /var/www/www.example.com /home/username/sites Backup MYSQL database mysqldump -u root -p www_example_com > www_example_com.sql sudo mv www_example_com.sql /home/username/sites It is convenient to put everything into one directory so all files can be moved at once. I use /home/username/sites Copy site and SQL file back to...