https://avatars.githubusercontent.com/u/6058558

程式狂想筆記

keystore 小記

最近研究憑證,知道 Java 管理憑證機制是用自己的
keystore 這個是 Java 用的憑證
本篇不實作,簡單整理網路上的資訊

使用 command line 上傳檔案到 HFS

最近要使用 Linux 下載憑證下來看
主機沒有裝 vsftpd 想說用 WinSCP 下載
但又發現沒有使用 root 權限無法進去資料夾
有想到有沒有 sudo 方法
Winscp使用sudo user登录-阿里云开发者社区
但不太想改這個設定…
最後突然想到有 Windows HFS 來接檔案
原本有想到 nc 接檔案,但好像很麻煩 哈哈
Ubuntu 用 nc 指令互傳檔案
Windows 也沒 nc 指令

vagrant 啟動無法自動掛載解決方法

最近發現 Ubuntu 某一版就不能做自動掛載
會出現

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:

mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant

The error output from the command was:

/sbin/mount.vboxsf: mounting failed with the error: No such device