sshfs -odebug,sshfs_debug,loglevel=debug -o allow_other,default_permissions ...
SSHFS version 2.8
FUSE library version: 2.9.7
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
executing
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
ssh: Could not resolve hostname [email protected]: Name or service not known
read: Connection reset by peer
Monthly Archives: October 2020
windows powershell list listen port
netstat -ano | findStr "8080"
AH01067: Failed to read FastCGI header timeout
AH01067: Failed to read FastCGI header timeout
(104)Connection reset by peer: [client xx.xx.xx.xx:37642] AH01075: Error dispatching request to
Check if request_terminate_timeout is not set to small value like a few seconds
percona upgrade 5.7 to 8.0
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’)
woof share files
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.
package teamviewer-15.11.6-0.x86_64 cannot be verified and repo teamviewer is GPG enabled: failed to lookup digest in keyring for /var/cache/PackageKit/32/metadata/teamviewer-32-x86_64/packages/teamviewer_15.11.6.x86_64.rpm
wget https://dl.teamviewer.com/download/linux/signature/TeamViewer2017.asc
sudo rpm --import TeamViewer2017.asc
php can not find php headers
yum install php-devel
teamviewer fedora
wget https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm
sudo dnf -y install teamviewer.x86_64.rpm
libedit-devel centos 8
dnf config-manager --set-enabled PowerTools
Command: MLSD Error: Connection timed out after 60 seconds of inactivity
pure-ftpd passive port range for Ubuntu:
echo "40110 40210" > /etc/pure-ftpd/conf/PassivePortRange
service pure-ftpd restart
remi php missing /usr/bin/php56
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}
acme.sh without install-cert
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:
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.
curlftpfs
modprobe fuse
mkdir /root/ftp
curlftpfs ftp.srv24x7.com /root/ftp/ -o user=username:password
vsftpd the data connection could not be established: ECONNREFUSED
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