原创 mysql 8 用戶密碼丟失

 mysqld --shared-memory --skip-grant-tables  清除密碼 此時root用戶對應的authentication_string是爲空的,如果不爲空則使用命令 update user set authe

原创 vant 圖片地址問題 調用遠程圖片問題

<div v-for="(good ,i) in goods" :key="i" > <van-image round width="10rem" he

原创 goland 代碼自動補全問題

golang  >1.13.3    go  mod  download  go   mod  vendor  

原创 remote: fatal: could not read Username for xxxx No such device or address

remote: fatal: could not read Username for xxx  No such device or address 出現的原因之一 是git 用戶的用戶名密碼 問題 解決方法存儲git 用戶名密碼 出現的原

原创 gogs 服務開機自啓動

gogs  服務開機自啓動用到的命令   systemctl enable gogs.service   systemctl start  gogs.service 把/usr/local/src/gogs/scripts/init/c

原创 gogs 安裝 配置

下載安裝 https://gogs.io/docs/installation/install_from_binary 我感覺https 下載的速度還快點  然後 user add  git   su  git   wget  https

原创 gitlab nginx 無法啓動解決辦法

vim   /opt/gitlab/sv/nginx/run   cd /var/opt/gitlab/nginx #exec chpst -P /opt/gitlab/embedded/sbin/nginx -p /var/opt/gi

原创 Yii2 路由問題-- nginx配置隱藏入口文件index.php

location / { # Redirect everything that isn't a real file to index.php try_files $uri $uri/ /index

原创 linux 常用命令

tty  控制檯終端   pts  虛擬終端 rhel6    tty1   ~ tty6        tty 就是圖形界面從圖形切換到字符   ctrl +  shift + alt  f2     -6從字符切換到 圖形      a

原创 文件權限設置

1、        創建 文件a.txt 設置爲 rwx  r_xChmod 750 a.txt方法2  chmod g+x  a.txt2、        修改/root/a.txt   擁有者爲 qiming 所屬組爲 xuegodCh

原创 修改

1、設置系統時間 爲 2016 -1-1  11:11      date -s "2016-1-1 11:11"                       2、顯示時間 爲 2016 -1-1  11:11 date  "+%F %H:

原创 我的友情鏈接

學神IT教育-講師MK

原创 linux 常用命令

tty  控制檯終端   pts  虛擬終端 rhel6    tty1   ~ tty6        tty 就是圖形界面從圖形切換到字符   ctrl +  shift + alt  f2     -6從字符切換到 圖形      a

原创 修改 linux 默認啓動級別 設置系統時間   定時關機

1、設置系統時間 爲 2016 -1-1  11:11      date -s "2016-1-1 11:11"                       2、顯示時間 爲 2016 -1-1  11:11 date  "+%F %H:

原创 修改 linux 默認啓動級別 設置系統時間   定時關機

1、設置系統時間 爲 2016 -1-1  11:11      date -s "2016-1-1 11:11"                       2、顯示時間 爲 2016 -1-1  11:11 date  "+%F %H: