id_rsa’ are too open.
I get the following error and I can no longer connect to SSH. The problem was solved by restricting the privileges of the private key. Read more
I get the following error and I can no longer connect to SSH. The problem was solved by restricting the privileges of the private key. Read more
$ tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz tar (child): gzip: Cannot exec: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now The problem was solved by including the dependency package gzip. Read more
which java と sudo which java でパスが違ったのでその解決 参考: sud Read more
This is a note when Rails was installed on CentOS7. The final Nginx nginx.conf file can be found here.
I used it when I wanted to check the response header when sending JSON in post with curl. If you add --include at the end, the response header is also shown. Read more
How to post json from Mac terminal with curl command. I often use it when I'm developing locally and want to check the APIs. curl http://localhost:3000/api/url -X POST -H "Content-Type: application/json" -d '{"email":"kabigon@swiswiswift. Read more
Here's a note to ban root login, which is the first thing you do after renting a VPS. Log in to the server as root and enter your password. Read more