Author: Rahul

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

While working with the bash shell scripting, Many times you may require to get your system version or codename or operating system architecture. In this article, you will learn, how to find Ubuntu Version, Codename, and OS Architecture in a shell script. 1. Get Ubuntu Version To get ubuntu version details, Use -r with lsb_release command. $ lsb_release -r Release: 14.04 Also use -s or –short to get details in short format $ lsb_release -r –short 14.04 2. Get Ubuntu Codename To get ubuntu version details, Use -c with lsb_release command. $ lsb_release -c Codename: trusty Also use -s or…

Read More

If you have added a new hard disk to your system or you are planning to add a new disk to your system. You will need to make file-system on newly created disks before using them. This article will help you to create partitions on disk in Linux system and format disk partitions to create a file system. Step 1 – Create Disk Partitions If you have added a new disk to your system, You can simply format entire disk and create it as a single disk. But it’s a good idea to create smaller partitions on large size disks.…

Read More

In the realm of software development, Git is an indispensable tool. It’s a distributed version control system that allows multiple developers to work on a project simultaneously without overwriting each other’s changes. One of Git’s many features is the ability to make, and more importantly, change commit messages. This article will walk you through the process of altering Git commit messages to ensure your project’s history is clean, clear, and understandable. 1. Understanding Git Commit Messages Before we delve into changing Git commit messages, let’s quickly review what a commit message is. In Git, every time you make a change…

Read More

UFW (Uncomplicated Firewall) is a frontend command-line utility for managing iptables rules on a Linux system. It provides a user-friendly, easy-to-manage console command as well as a GUI interface for desktop systems. It is designed to provide easy-to-manage firewalls, even if the user does not have many ideas about firewalls. The UFW aims to provide easy (complicated) commands (although it has GUIs available) for users. This tutorial will help you to set up a firewall with UFW on Ubuntu and Debian Linux systems. Let’s begin with the installation of UFW on your system. How to Install UFW Firewall The Ubuntu…

Read More

Network Time Protocol (NTP) is a protocol used to synchronize computer clock times in a network of computers. NTP uses Coordinated Universal Time (UTC) to synchronize computer clock times to a millisecond, and sometimes to a fraction of a millisecond. Setting up an NTP Server on Ubuntu & Linux Mint involves a series of steps which are detailed below. Pre-requisites: Before we begin, please ensure you have the following: A machine running Ubuntu or Linux Mint. Sudo or root access to run privileged commands. A stable internet connection. Step 1: Update Your System First, update your system to the latest…

Read More

LAMP (Linux, Apache, MySQL and PHP ) Stack is the most popular environment in PHP website development and hosting. Linux is the operating system, Apache is the popular web server developed by Apache Foundation. MySQL is relational database management system used for storing data and PHP is an development language. This article will help you to Install Apache 2.4, MySQL 5.5 and PHP 5.5 on Ubuntu 14.04 Systems. Thanks to Ondřej Surý, Which is maintaining the PPA for PHP 5.5 in launchpad. Use the following steps to setup complete web server enviroment using Ubuntu 14.04 LTS operating system. Step 1:…

Read More

Branching makes efficient ways to manage versioning of your application code. The popular version management tools supported branches like Git, SVN etc. Development in branching make process easier by splitting code in branches per modules. Most of the Git providers (like: github.com, gitlab.com etc) provides option to create branch directly with web interface. But, in case you don’t have web interface access, You can also do the same by creating a branch in local repository and push changes to remote. This article will help you to create a branch on local repository and then push branch to the remote Git…

Read More

CentOS 6.10 has been released, If you are using older version 6.x release of CentOS operating system, this article will help to upgrade CentOS to latest release 6.10. This new release has lots of security changes and updates to packages. Currently, my server is running CentOS 6.9. Follow the below steps to upgrade it CentOS 6.10. Step 1 – Check Current CentOS Release The centos-release package contains a file /etc/centos-release or /etc/redhat-release having the current version of CentOS. Simply view the content of this file using cat command to find CentOS version. cat /etc/redhat-release CentOS release 6.9 (Final) Now, the…

Read More
PHP

In the dynamic world of web development, creating a seamless, user-friendly experience is a top priority. A crucial aspect of this is enhancing the form submission process for better user engagement. Typically, form submission on websites demands a page reload, leading to a less-than-ideal user experience. However, by integrating PHP and jQuery, you can efficiently bypass this hurdle. This comprehensive guide delves into the nuances of submitting forms without a page refresh, leveraging the power of PHP and jQuery to elevate your website’s user experience. What is PHP? PHP, or Hypertext Preprocessor, stands as a cornerstone in server-side scripting languages,…

Read More
IDE

NetBeans is the most popular IDE for development on Linux systems. NetBeans editor provides many pre-configured code templates and code generation tools for faster development support. This article will help you to install NetBeans IDE on Ubuntu Systems. Step 1 – Install JAVA Java is the primary requirement for the Netbeans installation on the system. Use below command to verify if Java is already installed or not. java -version java version “1.8.0_171” Java(TM) SE Runtime Environment (build 1.8.0_171-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode) If you don’t have Java installed, use tutorial => Install Java on Ubuntu…

Read More