编程日志 | nohup.net

实践是检验真理的唯一标准

navicat SSH隧道报错: ssh tunnel:server does not support diffie-hellman-group1-sha1

解决方法如下:

1、编辑 /etc/ssh/sshd_config 在最后面添加:

KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1

Linux宝塔上部署laravel项目报错403/404/500

403:

解决brew install nginx慢到报错Operation too slow. Less than 100 bytes/sec transferred the last 5 seconds

linux删除目录下以点开头的所有文件

描述很简单,操作很抓狂,有没有?


删除之前先查找:

find screenshots/ -type f -name .\*

没问题,然后

find screenshots/ -type f -name .\* -exec rm {} \;

最后ls -la看一下

Ubuntu安装图形界面

二、安装图形界面

1、依次执行如下命令行


sudo apt-get update

sudo apt-get upgrade -y

sudo apt-get install

2、运行tasksel

tasksel


sudo apt install lightdm

sudo service lightdm start

cat /etc/X11/default-display-manager

windows、linux、macos的远程桌面登陆方法

传送门:

https://cloud.tencent.com/document/product/1207/44579


ftp共享目录实现方式

ftp用户存在资源隔离,为了访问安全。

但是有时候我们需要共享,那么就难受了,复制多份数据,占用硬盘空间,而且加长操作时间,时间就是钱。

如果熟悉Linux,最容易想到的就是软链接,即ln -s。

实测发现,是个快捷方式,下载提示权限不足,于是对原始文件进行chmod 777(图简单测试,实际上不要加入写入的权限!)

于是就可以下载了,但是很遗憾是个快捷方式(虽然下载后不显示快捷方式的样子,但是内容是空白)

image.png

iptables正确打开和关闭姿势

1) 重启后生效 

开启: chkconfig iptables on 

关闭: chkconfig iptables off 


2) 即时生效,重启后失效 

开启: service iptables start 

关闭: service iptables stop 



报错Host is blocked because of many connection errors. Unblock with mysqladmin flush hosts.

一个英文回答,意思就不翻译了,也很好懂。

Solution:

The error faced while creating a MySQL data source "Database Reported: Null message from the server. Host is blocked because of many connection errors. Unblock with mysqladmin flush hosts" is a database side error and occurs due to multiple connections created while connecting the database. To resolve the above error, you need to execute "Flush hosts " command. You can execute the command as per below syntax.

centos7安装nasm汇编

yum install build-essential nasm

<< 1 2 3 4 5 > >>

Powered By Z-BlogPHP 1.7.2

© 2013-2022 nohup.net , All Rights Reserved. 豫ICP备20020372号-1