-
# 基本部署
### 基础命令
```Bash
# root
apt-get update
```
### 创建用户
```bash
# root
adduser deploy # 默认生成的 用户组 和 用户名 相同
groups deploy # 查看用户属于哪些用户组
usermod -a -G root deploy # 将deploy加入root组
# v…
-
基础命令
```bash
$ apt-get update
```
添加SSH 到服务器
```bash
$ cd ~
$ mkdir .ssh
$ cd .ssh
$ vim authorized_keys # 将本机id_rsa.pub中的key粘贴进去
```
服务器生成ssh key
```bash
$ ssh-keygen -t rsa -b 409…
-
Hi,
I want to use Capistrano without SSH access. Capistrano-locally looks great but when I add plugin whenever, I have an error with the SSHKit.
Capfile:
require "whenever/capistrano"
cap produ…
-
At my organization we have multiple deployment methods (Capistrano, Nomad, Kubernetes, Salt).
The Capistrano deploys are the oldest and are effectively just using `scp` to copy code to the servers. …
-
If you're using the [maintenance](https://github.com/capistrano/maintenance/) capistrano plugin, it would be nice to have a datapoint for the `maintenance:enable` and `maintenance:disable` tasks.
-
With the new number format in front of every command i.e. '01' ,'02', ... it becomes very hard to tell where the command was executed when performing a Capistrano deployment with multiple roles.
It …
-
I am not totally sure if this bug is related with this gem, but when rbenv_path is not set, the default is defined here[ (capistrano rbenv config)](https://github.com/capistrano/rbenv/blob/1fdb93a6dd4…
-
When running with capistrano 3.8.1, I receive the warning:
```
[Deprecation Notice] `set :scm, :gitcopy` is deprecated.
To ensure this custom SCM will work with future versions of Capistrano,
p…
-
Now run "sudo /etc/init.d/nginx reload" when capistrano-unicorn-nginx reload nginx.
but this command was failed on CentOS7.
because "/etc/init.d/nginx" is not exist on CentOS7.
I want to run this com…
waura updated
8 years ago
-
The extensibility in Delayed Job is a great, enabling developers to add all kinds of cool functionality. The only problem is it can be really hard to find Delayed Job plugins to do what you're looking…