Check the current timezone[root@linuxserver ~]# ls -lt /etc/localtime lrwxrwxrwx. 1 root root 38 Aug 25 14:15 /etc/localtime -> ../usr/share/zoneinfo/America/New_York As you can see the current timezone is NY timezone, if we...
Category - Quick Tips & Tricks
linux tips and tricks
SSH Remote Host Identification has changed Error and Fixes Normally you see this message by remotely accessing via ssh on target systems like Cisco, Juniper or Linux/Unix for possible reasons like: a.The target systems’...
Important note to remember: a. capture it in full length, using the -s 0 options b. save it in a file, better to make the extension as .pcap so wireshark can associate directly 1.Identify which interface you want to listen...
There is some instance during the Linux installation that you did not bother to set the correct timezone for any reasons like sometimes you are just lazy to set it, you’re in a rush to finish what your boss want you to...
There are few ways to set the date and time on Linux command line. In order to do this, you must login as root and execute the following methods as follow: For you to remember the syntax, issue the command “date”...
Here’s one trick to do that: Step 1. Install FreeTDS FreeTDS Website: choose FreeTDS source distribution Compile parameter: –prefix=/usr/local/freetds –enable-msdblib Then, copy /etc/ld.so.conf, to...
1. FTP & Telnet daemons are controlled by the inetd, so to simply stop the service, just comment the lines under /etc/inetd.conf ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l telnet stream tcp6 nowait root...
Relaying to Gmail via smtp.gmail.com can be accomplished by configuring your Postfix with SASL authentication and TLS encryption. The common errors you will encounter if sending from your postfix mail server failing to gmail.com...
If you have multiple virtual hosts in your server and you specified different log files for each, it is more organized and easy to locate, but the downside is Linux has so called file descriptors or the number of files that it...
Wondering how blogger website gives you a subdomain from the blogspot.com domain based on your username of your choice? Well, the concept for this tutorial is somewhat related with it on setting up unlimited subdomains...