apt-get remove transmission-daemon apt-get remove transmission apt-get install transmission-daemon apt-get install transmission
Solution: Change the owner of /etc/phpMyAdmin to admin
Tested on Centos 6.9 + VestaCP
- The uppercase of i in utf8_turkish_ci is not I.
- Order by clauses result differently.
The icon files larger than 128×128 pixels cause display problems in Microsoft Windows.
Never ever use 256×256 or more in your executables!
(machine learning, deep learning, big data)
AWS (EC2, Lightsail)
[http-get-dos] enabled = true port = http,https filter = http-get-dos logpath = /var/log/apache2/YOUR_WEB_SERVER_ACCESS_LOG # maxretry is how many GETs we can have in the findtime period before getting narky maxretry = 300 # findtime is the time period in seconds in which we're counting "retries" (300 seconds = 5 mins) findtime = 300 # bantime is how long we should drop incoming GET requests for a given IP for, in this case it's 5 minutes bantime = 300 action = iptables[name=HTTP, port=http, protocol=tcp]
Create new file /etc/fail2ban/filters.d/http-get-dos.conf
[Definition] # Option: failregex # Note: This regex will match any GET entry in your logs, so basically all valid and not valid entries are a match. # You should set up in the jail.conf file, the maxretry and findtime carefully in order to avoid false positives. failregex = ^ -.*"(GET|POST).* # Option: ignoreregex # Notes.: regex to ignore. If this regex matches, the line is ignored. # Values: TEXT # ignoreregex =
Create private and public SSH keys:
ssh-keygen -t rsa For a more secure 4096-bit key, run:
ssh-keygen -t rsa -b 4096
chmod 700 ~/.ssh chmod 600 ~/.ssh/id_rsa
cat id_rsa.pub >> ~/.ssh/authorized_keys
Note: once you’ve imported the public key, you can delete it from the server.
and finally set file permissions on the server:
$ chmod 700 ~/.ssh $ chmod 600 ~/.ssh/authorized_keys
# Disable password authentication forcing use of keys PasswordAuthentication no
Create ppk file using PuttyGen
Conversionsfrom the PuTTY Key Generator menu and select
- Navigate to the OpenSSH private key and click
Save the generated key, select
Save private key.
- Choose an optional passphrase to protect the private key.
- Save the private key to the desktop as
Connect to server using Putty and Private Key
- Enter the remote server Host Name or IP address under
- Navigate to
Private key file for authentication.
- Locate the
id_rsa.ppkprivate key and click
- Finally, click
Openagain to log into the remote server with key pair authentication.
Tested on CentOS6 i386
yum -y update yum clean all wget http://software.virtualmin.com/gpl/scripts/install.sh /bin/sh install.sh
Tested on CentOS 6 x64