percona-release enable ps-80 release
apt-get update
apt-get install percona-server-server
mysql_upgrade
service mysql start
mysql -V
mysql Ver 8.0.21-12 for Linux on x86_64 (Percona Server (GPL), Release ’12’, Revision ‘7ddfdfe’)
percona-release enable ps-80 release
apt-get update
apt-get install percona-server-server
mysql_upgrade
service mysql start
mysql -V
mysql Ver 8.0.21-12 for Linux on x86_64 (Percona Server (GPL), Release ’12’, Revision ‘7ddfdfe’)
apt install woof
Woof is a simple application for sharing files between hosts on a small local network. It consists of a tiny HTTP server that can serve a specified file for a given number of times (default is once) and then terminates.
wget https://dl.teamviewer.com/download/linux/signature/TeamViewer2017.asc
sudo rpm --import TeamViewer2017.asc
yum install php-devel
wget https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm
sudo dnf -y install teamviewer.x86_64.rpm
dnf config-manager --set-enabled PowerTools
pure-ftpd passive port range for Ubuntu:
echo "40110 40210" > /etc/pure-ftpd/conf/PassivePortRange
service pure-ftpd restart
php
-bash: php: command not found
source /opt/remi/php56/enable
echo "source /opt/remi/php56/enable" | tee -a /root/.bashrc
php -v
PHP 5.6.40 (cli) (built: Sep 29 2020 11:31:13)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
cat /opt/remi/php56/enable
export PATH=/opt/remi/php56/root/usr/bin:/opt/remi/php56/root/usr/sbin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/opt/remi/php56/root/usr/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
export MANPATH=/opt/remi/php56/root/usr/share/man:${MANPATH}
v1.diavolesa.lt:~$ cat /opt/remi/php56/enable
export PATH=/opt/remi/php56/root/usr/bin:/opt/remi/php56/root/usr/sbin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/opt/remi/php56/root/usr/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
export MANPATH=/opt/remi/php56/root/usr/share/man:${MANPATH}
You need add Le_ReloadCmd manually to reload Nginx or Apache service:
vi /var/lib/acme/.acme.sh/domain.com/domain.com.conf
Le_ReloadCmd='sudo /usr/sbin/service nginx restart
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Make sure sudo command is correct.
modprobe fuse
mkdir /root/ftp
curlftpfs ftp.srv24x7.com /root/ftp/ -o user=username:password
pasv_enable=YES
pasv_max_port=10100
pasv_min_port=10000
port_enable=YES
pasv_address=192.168.1.111
-A INPUT -m state --state NEW -m tcp -p tcp --dport 20:21 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 10000:10100 -j ACCEPT
cat /etc/hostname
SRV1
echo "SRV1 127.0.0.1" >> /etc/hosts
yum install python-pip
pip install ngxtop
ngxtop parses your nginx access log and outputs useful, top-like, metrics of your nginx server. So you can tell what is happening with your server in real-time
ngxtop
running for 411 seconds, 64332 records processed: 156.60 req/sec
Summary:
| count | avg_bytes_sent | 2xx | 3xx | 4xx | 5xx |
|---------+------------------+-------+-------+-------+-------|
| 64332 | 2775.251 | 61262 | 2994 | 71 | 5 |
autoresponse[66556]: Unauthenticated attempt to set autoresponse message for mailer-daemon from 127.0.0.1!
Authentication-Warning: autoresponse set sender to mailer-daemon using -f
SYSERR(autoresponse): Too many hops 27 (25 max): from mailer-daemon via localhost, to
DSN: Too many hops 27 (25 max): from mailer-daemon via localhost, to
relay=autoresponder, delay=0.18, delays=0.06/0/0/0.13, dsn=5.3.0, status=bounced (service unavailable)
yum remove sendmail
service postfix restart