When i transfer my private key file to my new Mac OS X, i got an error message below:-
If you are getting this error then you probably reset the permissions on your hidden .ssh directory in your user folder.
So, the solution for this is, make that file(id_rsa) readable or writable only for the owner with private key. Below is the command
sudo chmod 600 ~/.ssh/id_rsa
After change the permission, my problem is solved.
Dig command is a command line tool use for querying DNS nameservers for information about host addresses, mail exchanges, nameservers, and related information. This tool is available on any Linux (unix) or Mac OS X operating system.
Example of using Dig Command
munkwais-MacBook-Pro:~ munkwai$ dig www.google.com
; <<>> DiG 9.8.3-P1 <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32350
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.google.com. IN A
;; ANSWER SECTION:
www.google.com. 299 IN A 18.104.22.168
www.google.com. 299 IN A 22.214.171.124
www.google.com. 299 IN A 126.96.36.199
www.google.com. 299 IN A 188.8.131.52
www.google.com. 299 IN A 184.108.40.206
;; Query time: 44 msec
;; SERVER: 220.127.116.11#53(18.104.22.168)
;; WHEN: Thu Apr 16 04:29:00 2015
;; MSG SIZE rcvd: 112
Today i received an email from our customer said that they do not know how to restart the Apache Web Server graceful. Restarting Apache Web Server also known as gracefully restarting the Apache httpd daemon.
Gracefully restarting httpd daemon will ensures that existing processes are allowed to finish serving the current page. Besides, it will reduce the chance of disrupting a user’s browsing experience.
How do i gracefully restart Apache Web Server?
To gracefully restart Apache web server. Please enter following command as the root user:-
Under Debian / Ubuntu Linux
Under RedHat / Centos / Fedora Linux
apachectl -k graceful