Here’s the simple steps for you to connect to a Cisco VPN in Ubuntu 18.04 LTS.

Cisco, an American company is the leading provider and manufacturer of enterprise network devices, telecommunication hardware, networking security and networking software.
According to computer profile as of April 2018, Cisco holds a 73.9% market which makes it the undisputed leader in its industry. Without further ado here
are the steps.

1. Install vpnc and network-manager-vpnc-gnome

sudo apt install vpnc network-manager-vpnc-gnome

2. Enter your password

3. Confirm installation

4. After successfully installing the required software it is time to configure it.

In this code snippet, I would like to run an application with a URL payload based on date and time. This
code will be executed in a specific schedule everyday and I would like to dynamically inject the date and time in
the program argument when the program executes.

My approach in standardizing SQLite in a Spring framework project

In a software development world were rapid project delivery is needed. The only way for us, developer having a sense of sanity is to build standardize code for future development. In doing so, it shortens the development time but having tested and functioning code base.

ISqliteObjectAssembler.java

This interface will serve as my IOC to have my own implementation of parsing from resultset to my specific Object

Background

I would like to share my experience in replacing my broken MacBook Pro late 2013 trackpad. One day, when I started using my MacBook pro I realize that the trackpad doesn’t work and my keyboard acting strange when I am moving my fingers across the trackpad. I tried doing the PRAM and SMC reset but to no avail. Then I when online and did my research. My research concluded in 3 possible scenarios. My keyboard still works fine so the keyboard is out of the equation.

I initially purchased the trackpad cable and installed it. Installing it is pretty easy but that didn’t resolve the problem. I then proceed with replacing the trackpad and my MacBook is now back in working condition. Replacing a trackpad requires some effort especially in removing the adhesive that binds the battery into the laptop casing.

Firewall-cmd reload

I would like to share how I use Cloudflare as Dynamic DNS. I am using Dynamic DNS service from No-IP for three years until a colleague of mine mentioned about Cloudflare’s really fast global DNS. Initially, I thought that Cloudflare was just a CDN and an Internet company that protects websites from Distributed Denial-of-Service (DDoS) attack, upon further investigation I found out that Cloudflare also provides a DNS service with a REST-API for you to update your DNS records.

I migrated most of my domain to CloudFlare DNS and then uses their API to update my domain’s DNS records once my ISP changed the IP address.

To know my router’s IP address I use the service of ipinfo.io. You may use other provider or other technique to know your router’s public IP address.

Disclaimer

If you are using the core version of Apache Tomcat and would like auto-start it on Linux here are the simple steps. I assume that you already have a running Apache Tomcat and know how to navigate to the terminal and have necessary system permission to proceed with this tutorial. Depending on the distribution that you are using you may need to find a specific location for the configuration or init.d folder.

1. Start by creating startup script into folder /etc/init.d/ or /etc/rc.d depending on what Linux distribution you are using.

In case you’re wondering, what S or K means: S is to start the application and K stands for to kill or shutdown the application. The number denotes the order. There are a lot of articles already available on the Internet about Linux Runlevel. You can check out Linux Runlevels Explained and Understanding init scripts

Distribution Notes

SLES 11 SP4
In SLES11, once you created the files tomcat1 and tomcat2 inside init.d folder you don’t need to create the symbolic link manually. Instead, execute the following command

$chkconfig --set tomcat1 on
$chkconfig --set tomcat2 on

To verify type the following code

$chkconfig

The output should look like this.

runlevel services via chkconfig

Search

Search for:

About This Site

Hi! Welcome to my website. Feel free to look around on things that may or may not interest you.