Centos/Redhat লিনাক্স এ yum ইন্সটলার সার্ভার কিভাবে কনফিগার করবেন

Centos/Redhat লিনাক্স এ yum ইন্সটলার সার্ভার কিভাবে কনফিগার করবেন

Mount Installer ISO

mkdir /mnt/dvd1

mount /dev/sr0 /mnt/dvd1

Check if FTP server is installed

systemctl status vsftpd

systemctl start vsftpd

Install ftp Server. Using rpm as yum is not available yet [default yum needs the internet, kindof]

cd /mnt/dvd1/Packages/

rpm -ivh vsftpd-3.0.2-22.el7.x86_64.rpm

systemctl start vsftpd

systemctl enable vsftpd

Copy rpm installer packages to the FTP server under Packages folder

cp -rv /mnt/dvd1/Packages /var/ftp/pub/

Also, copy the key file for Yum. Key file is to verify the integrity of the packages

cp -rv /mnt/dvd1/RPM-GPG-KEY-CentOS-7 /var/ftp/pub/

mv /var/ftp/pub/RPM-GPG-KEY-CentOS-7 /var/ftp/pub/key

Install Createrepo using rpm -ivh; create repo will help to create package rep database based on the packages on the FTP server

rpm -ivh createrepo-0.9.9-28.el7.noarch.rpm

Create the repp config file on yum server

cd /etc/yum.repos.d/

mkdir old

mv *.repo old/

vim ftp.repo

ftp.repo  file content

 

[ftp]

name=ftp

baseurl=ftp://yumserver/pub/Packages

enabled=1

gpgcheck=1

one line for pointing to the GPG key file – if you want to configure for key based verification

 

Allow ftp over firewall

firewall-cmd –add-service=ftp –perm

systemctl reload firewalld
systemctl restart firewalld

Again Checking if yum works locally on the server

yum repolist all
yum repolist
yum repolist enabled
yum -y install tree
yum clean
yum clean cache
yum -y install tree
yum repolist enabled
yum repolist

Create Installer Repository Data

cd /var/ftp/pub/Packages/

createrepo .

Configure name for the server

hostnamectl set-hostname yumserver

vim /etc/hosts

192.168.1.100 yumserver

192.168.1.200 yumclient

ip addr

ip addr ens33

use nmtui command or ifconfig to set the IP of the server [when required]

you might want to restart the interface

ifdown ens33; ifup ens33

ping yumserver

ping yumclient

before pinging you might want to see if the ping package is installed and if it is blocked or not

Check if yum server works or not

yum install tree

yum -y install lynx


Configure a Client to use your FTP based yum server

Copy the ftp.repo

scp /etc/yum.repos.d/ftp.repo root@yumclient:/etc/yum.repos.d/

For Windows:

tscp /etc/yum.repos.d/ftp.repo root@yumclient:/etc/yum.repos.d/

Check if the client can access your yum server

yum install tree

yum -y install lynx

In Bengali: Some Educational Android Apps on Software/Web Development

Some are in Bengali

Project Management

https://play.google.com/store/apps/details?id=com.sitestree.pmp

On CSS

https://play.google.com/store/apps/details?id=com.sitestree.css

On JavaScript

https://play.google.com/store/apps/details?id=com.sitestree.javascript

 

On PHP

https://play.google.com/store/apps/details?id=com.sitestree.php

 

On SEO course

https://play.google.com/store/apps/details?id=com.sitestree.seo

 

SQL Course

https://play.google.com/store/apps/details?id=com.sitestree.sql

 

Oral Communications

https://play.google.com/store/apps/details?id=com.justetc.oral_communications.workplace

 

AngularJS

https://play.google.com/store/apps/details?id=com.salearningschool.bangla.angularjs1

 

HTML

https://play.google.com/store/apps/details?id=com.salearningschool.bangla.html

lecture 02 object oriented programming in PHP 5

https://www.youtube.com/watch?v=QJSYVubQTfg

object oriented programming in php 5

https://www.youtube.com/watch?v=xVnVD3b2BCc

Introduction to Cloud Computing (Bangla/Bengali)

https://www.youtube.com/watch?v=F9ftalDNOTg

Cloud Computing Explained | Bangla | TecHubs TV

https://www.youtube.com/watch?v=8GspRQ5k4Yk
You may have heard of the term Cloud Computing. But if you don’t know what exactly is it, then you’re in right place. In this video, I will explain all about cloud …

Cloud Computing Explained | Bangla | TecHubs TV

https://www.youtube.com/watch?v=8GspRQ5k4Yk
You may have heard of the term Cloud Computing. But if you don’t know what exactly is it, then you’re in right place. In this video, I will explain all about cloud …

What is cloud computing ? Cloud computing ki – Bengali Video

https://www.youtube.com/watch?v=AXuwybLaIEE
What is Cloud Computing and how it works in Simple Terms in Bengali with Example? what is cloud computing in simple terms, Cloud Computing – Full Concept …

Global Market News Fwd: 5 things to start your day

Global Market News Fwd: 5 things to start your day
Forward Guidance
AT&T say ‘see you in court,’ Yellen to leave Fed board, and British government up Brexit offer.

Court battle

AT&T Inc.’s chief executive officer Randall Stephenson told antitrust officers that he would see them in court after the Justice Department sued to block its $85.4 billion bid for Time Warner Inc.

Yellen out

Federal Reserve Chair Janet Yellen said that she will resign her position on the board of governors once her nominated successor Jerome Powell takes over in February.

Markets rise

Overnight, the MSCI Asia Pacific Index gained 0.9 percent

China’s Tencent Holdings Ltd. overtake Facebook Inc.’s market value

In Europe, the Stoxx 600 Index was 0.3 percent higher. markets remain undisturbed by German political woes.

S&P 500 futures were 0.2 percent higher, the 10-year Treasury yield was at 2.354 percent and gold was slightly higher.

Here’s what you should read today

Sayed Ahmed

Linkedin: https://ca.linkedin.com/in/sayedjustetc

Blog: http://sitestree.com, http://bangla.salearningschool.com

And here’s what you need to know in global technology news

And here’s what you need to know in global technology news
A new media and telecom empire is in doubt. The U.S. Justice Department sued to block AT&T Inc.’s $85 billion takeover of Time Warner Inc.
Controversial driverless car pioneer Anthony Levandowski has started a new religion based on AI.
Uber Technologies Inc.,is serious about autonomous vehicles. The company just agreed to buy 24,000 SUVs from Volvo to form a driverless fleet.
Qualcomm’s tired and frustrated shareholders are mustering enough energy to ask for more money from Broadcom
Another chip deal: Marvell, a chipmaker looking to build itself a future outside of a declining area of the market, agreed to buy Cavium for about $6 billion.

Sayed Ahmed

Linkedin: https://ca.linkedin.com/in/sayedjustetc

Blog: http://sitestree.com, http://bangla.salearningschool.com