原创 CentOs Redis 安裝、 密碼設置和查看密碼

Redis Redis 是完全開源免費、遵守 BSD 協議的一個高性能 key-value 數據庫。 Redis 與其他 key - value 緩存產品有以下三個特點 1、Redis 支持數據的持久化,可以將內存中的數據保存在磁

原创 A component required a bean of type 'com.xxx.xxx.entity.User' that could not be found.

在啓動類添加 @ComponentScan(basePackages = {"com.xxx.xxx.service"}) 具體的是爲什麼,有人可以解釋一下嗎,我也不懂原因,歡迎大家留言

原创 docker 部署 nginx鏡像啓動失敗 外加一些常用操作

今天在docker裏部署nginx遇到一個坑,如下: [emerg] “user” directive is not allowed here in /etc/nginx/conf.d/nginx.conf:2 # 直接運行ngi