Have you come up to a situation that you need FTP on your server? Well, its easy. First thing we have to do is install…
Knowledge from writing codes and a bit of managing linux servers.
Have you come up to a situation that you need FTP on your server? Well, its easy. First thing we have to do is install…
Have you encounter the problem when you are hosting on GoDaddy, and your domain is using GoDaddy’s workspaces as its email server? If so, then…
Syntax:
1 |
scp <source> <destination> |
To copy a file from B to A while logged into B:
1 |
scp /path/to/file username@a:/path/to/destination |
To copy a file from B to A while logged into A:
1 |
scp username@b:/path/to/file /path/to/destination |
1 2 |
git config core.fileMode false |
From git-config(1):
1 2 3 4 5 |
core.fileMode If false, the executable bit differences between the index and the working copy are ignored; useful on broken filesystems like FAT. See git-update-index(1). True by default. |
The -c flag can be used to set this option for one-off commands:
1 2 |
git -c core.fileMode=false diff |
And the –global flag will make it…
let’s say, we want to configure two domains example1.com and example2.com in our server with Centos7 + httpd installation. So we have a dedicated IP…
Workflow guidelines: master branch is always production-ready, deployable, 100% green test suite New development is done on feature branches, with frequent rebasing onto master Clean…
Workflow guidelines: Production branch is always production ready, deployable, 100% green test suite Staging branch is where all development and new feature works takes place…
This is due to the server running SuPHP and the files having higher permissions than allowed, to fix this problem you need to make sure…
You can instruct ssh to try multiple keys in succession when connecting. Here’s how: create a config file in ssh folder:
1 2 3 4 |
$ cat ~/.ssh/config IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa_old IdentityFile ~/.ssh/id_ed25519 |
If an error…