Linux / Programming

Python for Linux Admins – Part V

Tagged , , Leave a Comment on Python for Linux Admins – Part V

In fifth part of our Python blog entry i will write my own script. This script will provide us with the port information of any Linux service. Also you will see a […]

READ MORE

Linux / Programming

Python for Linux Admins – IV

Tagged , , Leave a Comment on Python for Linux Admins – IV

Simple Python Script which will show linux logs (dmesg and lastlog) from selection. #!/usr/bin/env python import os os.system (‘clear’) print “Pylog Created by Hyp3ri0n” print “Version 0.1” print “Respect Linux…………….” print “=” […]

READ MORE

Linux / Programming

Python for Linux Admins – III

Tagged , , Leave a Comment on Python for Linux Admins – III

The IF & ELIF Statement Let’s Write Our First Program using if and elif statement. Open Vi editior as # vi pyif.py and Start Typing the below code:

READ MORE

Linux / Programming

Python for Linux Admins -II

Tagged , , Leave a Comment on Python for Linux Admins -II

In this part we will continue our journey with Python. Note that every thing in Python is an Object and it has a unique id and it has a type e.g >>> […]

READ MORE

Programming

Learning Python

Tagged , , Leave a Comment on Learning Python

They Article is a quick Python Learning guide so hang onto your seat belts and ride along !! PYTHON In Linux type python and it will start python. >>> is the python […]

READ MORE

Uncategorized

SSH Issue with Cisco Switch

Leave a Comment on SSH Issue with Cisco Switch

So Today i wanted to login to my old Cisco Switch 2960 from my Suse Linux when i received the following error: ERROR: Unable to negotiate with 10.1.1.1 port 22: no matching […]

READ MORE

configuration / Linux / Linux / Linux starters / LInux Zero To Hero Project / OS / PHP / tips

How to Install PhPMyAdmin on Centos 7 from source

Tagged , , Leave a Comment on How to Install PhPMyAdmin on Centos 7 from source

Dear Friends, First of all we will install required repositories. [root@itpings opt]# yum -y install epel-release [root@itpings opt]# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm Now we will install apache, mariadb, mariadb-server and php56 [root@itpings opt]# […]

READ MORE

Java / Linux / LInux Zero To Hero Project / tips

Convert pkcs12 key to bks format for Android

Tagged , , Leave a Comment on Convert pkcs12 key to bks format for Android

Dear Reader, If you ever want to convert a pkcs12 format key to bks format for Android follow the below instructions. First of all downlaod bcprov-jdk16-1.46.jar file [root@itpings certs]# wget http://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk16/1.46/bcprov-jdk16-1.46.jar –2017-06-30 […]

READ MORE

configuration / Linux / OS

How to Bring back eth0 on CentOS 7 ( No Dynamic Ethernet Names)

Tagged , , Leave a Comment on How to Bring back eth0 on CentOS 7 ( No Dynamic Ethernet Names)

To Install CentOS 7 without dynamic Ethernet names such as enps2001 use the following technique. Edit the grub file Go to /etc/default/grub and add the following lines In front of /root add […]

READ MORE