You’ll not be able to directly access your guest virtual machine in
RDP if it’s under
NAT network. For this you’ll have to configure port forwarding as detailed below;
$ ssh -p2022 [email protected] Warning: Permanently added '[127.0.0.1]:2022' (ECDSA) to the list of known hosts. [email protected]'s password: Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-83-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage 0 packages can be updated. 0 updates are security updates. Last login: Fri Jul 7 09:29:30 2017 [email protected]:~$
SSH is used to test the forwarding rule as
SSH is listening on port
22 of the guest VM.
SMART or Self-Monitoring, Analysis, and Reporting Technology is used to monitor the hard drives for reliability. Hard drive’s failure can be anticipated and appropriate action can be taken before the hard drive fail completely.
To check your hard drive’s health status in Linux, the tool
smartctl can be used. It is available in the
smartmontools package, and in Ubuntu running the command at the terminal will install the package
sudo apt-get install smartmontools
Assuming your hard drive is
/dev/sda, running the following command will return the SMART’s health status of your hard drive
sudo smartctl -H /dev/sda
A healthy hard drive will return the following output
smartctl 5.40 2010-03-16 r3077 [x86_64-unknown-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED
The following is an example output of a problematic hard drive
smartctl 5.40 2010-03-16 r3077 [x86_64-unknown-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net Log Sense failed, IE page [scsi response fails sanity test]
Vim can perform syntax highlighting for various file formats. You can enable it with these steps if it’s not currently enabled;
Vimwith support for syntax highlighting is installed.
:syntax onin your
Google Analytics is a great tool for web analytics. Its uses range from tracking the number of visitors to a site, to tracking effectiveness of online marketing campaign. One of the other feature of Google Analytics is to track earnings from Google AdSense program.
While Google AdSense has its own reporting tool, there are just things that Google Analytics can do better. This includes page-level details of earning tracking that is not available from the Google AdSense member page. Google AdSense reporting tools in the other hand has
Custom channel and
URL channel reporting option that’s not available in Google Analytics.
Both tools complement each other, and using them both would give better insight of your AdSense earnings and optimization strategy.
To start viewing Google AdSense data in Google Analytics, follow these steps.