shell 基本运算符
算数运算符
算数运算符 | 说明 |
---|---|
+ | 加 |
- | 减 |
* | 乘 |
/ | 除 |
% | 取余 |
= | 赋值 |
== | 相等 |
!= | 不相等 |
虚拟机网络设置为桥接模式
systemctl enable sshd.service 开机启动
systemctl start sshd.service 立即启动
systemctl restart sshd.service 立即重启
ssh命令
ssh username@remote_ip
之后输入密码即可
ssh连接失败
ssh-keygen -R 服务器地址
纤云弄巧,
飞星传恨,
银汉迢迢暗度。
金风玉露一相逢,
便胜却人间无数。
柔情似水,
佳期如梦,
忍顾鹊桥归路。
两情若是久长时,
又岂在朝朝暮暮。
在 algolia 注册登录后,打开 dashboard
Indices -> new index,注意 indexName 中不要有英文引号,避免不必要的麻烦
API Keys 中查看 id/keys,需要:
1 | Application ID |
My Dear Arthur
You never showed up, and now. After looking at the newspaper I understand why I don’t imaging you will receive this letter, but I nonetheless must send it.
报错Exception during pool initialization.
java.sql.SQLException: Unable to load authentication plugin ‘caching_sha2_password’.
报错与数据库有关的,应该是从MySQL 8.0.4开始, 默认的认证插件从mysql_native_password 变为caching_sha2_password.
参考 https://dev.mysql.com/doc/refman/8.0/en/caching-sha2-pluggable-authentication.html
创建新用户和密码参考sql:
CREATE USER ‘yourusername‘@’localhost’ IDENTIFIED WITH mysql_native_password BY ‘youpassword’;