Find the best tutors and institutes for Linux

Find Best Linux Training

Please select a Category.

Please select a Locality.

No matching category found.

No matching Locality found.

Outside India?

Search for topics

Linux Updates

Ask a Question

All

Lessons

Discussion

Lesson Posted on 05 Oct IT Courses/Linux/Linux Administration

LINUX - SETTING UP YUM REPOSITORY

Aseem Anand

Linux Trainer with 15 years of IT, ISP and Telecom industry experience. Having worked in diverse and...

If we buy RHEL 7 the system by default will be connected to Red Hat Network (RHN). All packages and updates will be installed from RHN. So RHN will be our main source and repository. Since we have not purchased the official licensed version of Red Hat - and using a free version. It is by default... read more

If we buy RHEL 7 the system by default will be connected to Red Hat Network (RHN).

All packages and updates will be installed from RHN. So RHN will be our main source and repository.

 

Since we have not purchased the official licensed version of Red Hat - and using a free version. It is by default not connected to any repository.

 

To create our own repository we need to update information in the system.

For that we need to go to directory,

 cd /etc/yum.repos.d

Create a file with extension .repo

 vim myrepo.repo

 

On this file we need three things,
  1. name - Name or a Label for the repository. We may give any name for repository.
  2. baseurl - The Base URL gives the location of repository to be used/picked.
    1. It can be file:// if local directory
    2. It can be http:// or ftp://
  3. gpgcheck- This is for file integrity checking. Set as 0 if you do not want integrity check. For live environment it is important to set gpgcheck keys carefully. Else for this local setup and testing 0 is ok to continue.

 

Example now,

 name=myRepo

 baseurl=file:///dump/repo/packages

 gpgcheck=0

Save and exit.

 

To verify we can do commands,

  1. yum repolist to give information about repo being used.
  2. Or, yum search ftp to search and verify output. Where ftp is package name as example.
read less
Comments
Dislike Bookmark Share

Answered on 07 Aug IT Courses/Linux IT Courses/Linux/Linux Administration IT Courses/Linux/Linux Basics

What is difference between UNIX and Linux?

Narendra

Computer Science Tutor

Linx opearing system is derived from the Unix. Unix was developed at AT & T Bell lab in 1970s. Linux was developed by Linus Torvlads in 1991. Linux is open source software i.e availabe in free of cost and you can also modify it. But unix is not an open source software and not availabe freely. Linux... read more

Linx opearing system is derived from the Unix. Unix was developed at AT & T Bell lab in 1970s. Linux was developed by Linus Torvlads in 1991. Linux is open source software i.e availabe  in free of cost and you can also modify it. But unix is not an open source software and not availabe freely. Linux os uses both GUI and CLI whereas unix uses only CLI. The common between them is that their commands are same. Unix are mainly used with high end computers and it is more secure OS.

read less
Answers 1 Comments
Dislike Bookmark Share

Answered on 18 Aug IT Courses/Linux IT Courses/Linux/Linux Administration IT Courses/Linux/Linux Basics

What is the best Linux desktop environment?

Satya Surya

Trainer

Ubuntu is the best operating system for desktop environment
Answers 1 Comments
Dislike Bookmark Share

Overview

Questions 109

Total Shares  

+ Follow 4,162 Followers

Answered on 19 Aug IT Courses/Linux IT Courses/Linux/Linux Administration IT Courses/Linux/Linux Basics

Is Linux good for programming and coding?

Rakesh Vakulaabharanam

Yes.
Answers 1 Comments
Dislike Bookmark Share

Answered on 18 Aug IT Courses/Linux IT Courses/Linux/Linux Administration IT Courses/Linux/Linux Basics

Why do some people prefer Linux over Windows?

Satya Surya

Trainer

Linux is open source and in built Secure and it is realibility & scalability operating systems
Answers 1 Comments
Dislike Bookmark Share

Answered on 30 Jul IT Courses/Linux IT Courses/Linux/Linux Administration IT Courses/Linux/Linux Basics

What is your favorite Linux distro and why?

Subba Raju

Linux Devops Administrator

centos 7 beacuse it open source and its ocean to learn
Answers 2 Comments
Dislike Bookmark Share

Answered on 18 Aug IT Courses/Linux IT Courses/Linux/Linux Administration IT Courses/Linux/Linux Basics

Is Linux good for gaming?

Satya Surya

Trainer

Yes, CPU utilization will be less if we compare with windows
Answers 1 Comments
Dislike Bookmark Share

Answered on 18 Aug IT Courses/Linux IT Courses/Linux/Linux Administration IT Courses/Linux/Linux Basics

I never used Linux, and I want to start learning about hacking and security. Should I install Kali Linux?

Satya Surya

Trainer

Yes, Kali Linux is Live OS and it is flexible for hacking
Answers 2 Comments
Dislike Bookmark Share

Answered on 14 Aug IT Courses/Linux IT Courses/Linux/Linux Administration IT Courses/Linux/Linux Basics

Is Kali Linux better than Ubuntu?

Ambika R.

Tutor

Ubuntu is a General Purpose OS and Kali is a Special Purpose OS. Kali linux is designed for digital forensics and penetration testing. Kali linux can not be used as primary OS. Due to its sepcific purpose, kali has smaller software repository than ubuntu
Answers 2 Comments
Dislike Bookmark Share

Top Contributors

Connect with Expert Tutors & Institutes for Linux Administration

Answered on 05 Aug IT Courses/Linux IT Courses/Linux/Linux Administration IT Courses/Linux/Linux Basics

What are the benefits of Linux?

Narendra

Computer Science Tutor

1. Linux is an open source operating system i.e It is free of cost. 2. It is faster than windows OS 3. It is more secure than other OS (incase of virus and hacker). 4. You can modify or add code.
Answers 2 Comments
Dislike Bookmark Share

About UrbanPro

UrbanPro.com helps you to connect with the best Linux Training in India. Post Your Requirement today and get connected.

x

Ask a Question

Please enter your Question

Please select a Tag

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 25 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 6.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more