摘要:
#!/bin/bash chattr -ia /root/.ssh/authorized_keys echo "自己定义rsa" > /root/.ssh/authorized_keys chattr +ia /root/.ssh/authorized_ke... 阅读全文
摘要:
grep -r "newdat.sh" /* 阅读全文
摘要:
命令:vi /etc/profile export PROMPT_COMMAND='{ msg=$(history 1 | { read x y; echo $y; });echo "[euid=$(whoami)]":$(who am i):[`pwd`]... 阅读全文
摘要:
linux top命令下发现php*几个文件运行,我并没有安装php相关文件,所以可疑, ps -ef|grep php* 查找相关文件目录等,追踪到/etc文件夹下 crontab 这个文件被修改过,需要修改回去并加入特殊权限 chmod 644 /etc/... 阅读全文
MYSQL ParseException line 2:833 mismatched input ‘;‘ expecting ) near ‘“景区) comment “‘ in create tab
摘要:
错误:ParseException line 2:833 mismatched input ';' expecting ) near '"景区) comment "' in create table statement 字段太多了,用了group_concat... 阅读全文
摘要:
阅读全文
摘要:
hive-site.xml 登录mysql 使用hive配置的数据库(见上图) select * from COLUMNS_V2; alter table COLUMNS_V2 modify column COMMENT varchar(256) cha... 阅读全文
摘要:
错误:java.lang.RuntimeException: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure 原因:因为我的服务器在内网,mys... 阅读全文
MYSQL Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.
摘要:
错误:Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is au... 阅读全文
摘要:
. 阅读全文