Showing posts from April, 2018

How to Install apache server In Red Hat 7 / Centos 7

You want to get a server in your linux environment. Then you are in the right place.  Run Command as root Run those command as root user. Because without root user your command won't be execute. As we can say without seeds a tree can grow up. Same as like linux root user. Without root user we can't execute linux command. You may say what I am saying is not right. But, there are some directories those are not accessible without root user. We can give permission to our current username. But that will be a security issue. That's not good for linux. And you must need know that linux root user password must be different from your local user. If anyone access in your system as root user. Your all data can be hacked by him/her. So be careful about that. For Installing Apache Server Open your terminal. And type those commands.  #yum install -y httpd After install to run http service you have to run this command. #systemctl start httpd.service To che

How to Install Python Redhat 7 / CentOS 7

If you are new to programming then python is the best for learning programming lang. Because this is easy and free to learn. Today's modern technology need this language.  What can you do through python?  Web Application Development Scientific and Numeric Computing  GUI Programming Software Prototyping etc.  Search on Google you will get lots more thing about python. Facilities of Python Learner's If you really want to learn python then you will get lot of tutorial out there.  Google also started python class.   Here is another educational source TechBeamers for python learner's .  Now let's learn how to install Python in Redhat 7 & CentOS 7.  Run those command on your terminal step by step: #yum -y update #yum -y install yum-utils #yum -y groupinstall development   #yum -y install # yum -y install python36u # python3.6 -V  After installing, you may install python p

How to install Yum server in redhat 7/centos7

Issue How to set up yum repository to use locally-mounted DVD with Red Hat Enterprise Linux (RHEL) 7 Would like to upgrade server from RHEL 7.x to RHEL 7.y Have a secure environment that will never be connected to the internet, but still needs to be updated Way to update the packages on server, with no satellite server and servers disconnected from internet Offline patches for Red Hat systems How do I create a local repository in RHEL 7? Resolution Please note: If the system is registered to Red Hat Network, yum can be run with the --noplugins option to prevent it from connecting to RHN. The safer option would be to unregister the system to avoid updating to the latest release. 1. Mount the RHEL 7 installation ISO to a directory like /mnt , e.g. # mount -o loop RHEL7.1.iso /mnt If you use DVD media , you can mount like below. # mount /dev/sr0 /mnt  2. Copy the media.repo file from the root of the mounted directory to /etc/yum.repos.d/ and set the permis