摘要:
```sh [root@prod-php-s010 www]# sqlite3 /var/lib/grafana/grafana.db sqlite> .tables sqlite> select * from user; sqlite> update user set password = '59 阅读全文
```sh [root@prod-php-s010 www]# sqlite3 /var/lib/grafana/grafana.db sqlite> .tables sqlite> select * from user; sqlite> update user set password = '59 阅读全文
posted @ 2023-06-12 10:45
安生丶
阅读(131)
评论(0)
推荐(0)
摘要:
```sh 1.修改ssh端口 vim /etc/ssh/sshd_config #Port 22 Port 20199 #指定端口 Port 20100 #ListenAddress 0.0.0.0 #ListenAddress :: 2.添加ssh白名单 [root@small ~]# vim 阅读全文
```sh 1.修改ssh端口 vim /etc/ssh/sshd_config #Port 22 Port 20199 #指定端口 Port 20100 #ListenAddress 0.0.0.0 #ListenAddress :: 2.添加ssh白名单 [root@small ~]# vim 阅读全文
posted @ 2023-06-12 10:44
安生丶
阅读(99)
评论(0)
推荐(0)
摘要:
```sh [root@localhost luban]# netstat -anp|grep "8999" tcp6 0 0 :::8999 :::* LISTEN 93234/./luban #这里的93234就是占用8999端口进程的pid [root@localhost luban]# ps 阅读全文
```sh [root@localhost luban]# netstat -anp|grep "8999" tcp6 0 0 :::8999 :::* LISTEN 93234/./luban #这里的93234就是占用8999端口进程的pid [root@localhost luban]# ps 阅读全文
posted @ 2023-06-12 10:43
安生丶
阅读(29)
评论(0)
推荐(0)
摘要:
history命令是被保存在内存中的,当退出或者登录shell时,会自动保存或读取。在内存中,历史命令仅能够存储1000条历史命令,该数量是由环境变量 HISTSIZE进行控制。默认是不显示命令的执行时间,命令的执行时间,history 已经记录,只是没有显示。 ``` # 不记录命令 export 阅读全文
history命令是被保存在内存中的,当退出或者登录shell时,会自动保存或读取。在内存中,历史命令仅能够存储1000条历史命令,该数量是由环境变量 HISTSIZE进行控制。默认是不显示命令的执行时间,命令的执行时间,history 已经记录,只是没有显示。 ``` # 不记录命令 export 阅读全文
posted @ 2023-06-12 10:42
安生丶
阅读(323)
评论(0)
推荐(0)

sshd限制 1.修改ssh端口 vim /etc/ssh/sshd_config #Port 22 Port 20199 #指定端口 Port 20100 #ListenAddress 0.0.0.0 #ListenAddress :: 2.添加ssh白名单 [root@small ~]# vim
[root@prod-php-s010 www]# sqlite3 /var/lib/grafana/grafana.db sqlite> .tables sqlite> select * from user; sqlite> update user set password = '59acf18b
history命令是被保存在内存中的,当退出或者登录shell时,会自动保存或读取。在内存中,历史命令仅能够存储1000条历史命令,该数量是由环境变量 HISTSIZE进行控制。默认是不显示命令的执行时间,命令的执行时间,history 已经记录,只是没有显示。 # 不记录命令 export HIS
location /dyl-server/ { if ($request_method = 'OPTIONS') { add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Methods GET,POST,
#安装工具 yum -y install nc #监听端口 nc -lp 8080 #案例:大数据服务走8080端口,外网监听。安全组开过了。但是访问不了。关掉服务,nc开启8080,外网访问,还是访问不了。说明跟服务没关系,后面发现8080端口为特殊端口,需要备案。问题解决
#参数 -b:以批处理模式操作; -c:显示完整的治命令; -d:屏幕刷新间隔时间; -I:忽略失效过程; -s:保密模式; -S:累积模式; -i<时间>:设置间隔时间; -u<用户名>:指定用户名; -p<进程号>:指定进程; -n<次数>:循环显示的次数。 #交互命令 M:根据驻留内存大小进行
浙公网安备 33010602011771号