linux ssh免密登录

以下操作均采用root账号客户端:ssh-keygen -m PEM -t rsa -b 4096 -C "ssh" 一路回车确认,即可,如果提示已存在,也可以用现有的 在~/.ssh 目录下会生成文件 id_rsa.pub和id_rsa id_rsa 密钥,连接服务器时使用 id_rsa.pub 公钥,要放在服务器上的服务器: 将id_rsa.pub复制到~/.ssh cat id

- 阅读全文 -

vagrant up 挂载文件夹失败

在部署homestead时提示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 G

- 阅读全文 -

homestead vagrant up 报VERR_ALREADY_EXISTS

今天在部署homestead时发现vagrant up 报错The name of your virtual machine couldn't be set because VirtualBox is reporting another VM with that name already exists. Most of the time, this is because of an error w

- 阅读全文 -

docker 开启tcp服务

sudo vi /lib/systemd/system/docker.serviceExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2375sudo service docker restart

- 阅读全文 -

gitlab 发布composer包

制作composer包请先自行制作composer包代码上传到gitlab将composer代码上传到gitlab我这边是采用ci/cd的方式进行composer提交的.gitlab-ci.ymlpublish: tags: - public image: curlimages/curl:latest stage: build variables: URL: &q

- 阅读全文 -