Tag Archives: red

How to Solve Warning: Permanently added ‘ 192.168.1.230′(RSA) to the list of known hosts.

Premise

When I was running SSH 192.168.1.230 remote on the newly installed red hat linux 5. X system, the following error occurred:

Warning: Permanently added ' 192.168.1.230'(RSA) to the list of known hosts.

Of course, I set the fixed IP first

1. Switch root and use: Su-

2. Delete all the lines in the/etc/hosts file that begin with #

3. Modify ifcfg-eth0 file. Change the bootproto item to bootproto = static

[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

Add directly at the end of the file:

IPADDR=192.168.1.230
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=192.168.1.1
PREFIX=24

4. Save and restart

 

Solutions

After the restart of the system is completed, the first remote connection with SSH 192.168.1.230 in the Red Hat Linux 5. X system appears the above error.

Solution:

1. Switch to root and use: Su -. It is necessary to switch the root user here, because the/etc/SSH/SSH of ordinary users_ Under config, there may be no # stricthostkeychecking ask item.

2. vim /etc/ssh/ssh_ config。 Find # stricthostkeychecking ask and remove the comment directly. If not, suggest to change the ask to No

Here’s what I changed directly:

3. Save and exit.

Detailed explanation of yolo2 — yolo9000, better, faster, stronger

Introduction

The full name of yolov2’s paper is yolov000: better, faster, stronger, which won CVPR 2017 best paper honorable meaning. In this paper, the author first proposes an improved yolov2 based on yolov1, and then proposes a joint training method of detection and classification. Using this joint training method, the yolov000 model is trained on coco detection data set and Imagenet classification data set, which can detect more than 9000 kinds of objects. Therefore, this article actually contains two models: yolov2 and yolo9000, but the latter is based on the former, and the main structure of the two models is consistent. Compared with yoov1, yoov2 has made many improvements, which also makes the map of yoov2 significantly improved. Moreover, the speed of yoov2 is still very fast, maintaining its advantages as one stage method. The comparison between yoov2 and fast r-cnn, SSD and other models is shown in Figure 1. This paper will first introduce the improvement strategy of yoolv2, and give the implementation process of tensorflow of yoolv2, and then introduce the training method of yool9000.

paper address : yolo9000: better, faster, stronger

Improvement strategy of yolov2

Although the detection speed of yolov1 is very fast, its detection accuracy is not as good as that of r-cnn system. Yolov1 is not accurate enough in localization and recall. Yolov2 proposes several improvement strategies to improve the positioning accuracy and recall rate of Yolo model, so as to improve map. Yolov2 follows one principle in the improvement: maintain the detection speed, which is also a major advantage of Yolo model. The improvement strategy of yolov2 is shown in Figure 2. It can be seen that most of the improvement methods can significantly improve the map of the model. The improvement strategies are as follows:

for details, please refer to:


≪ P &> & lt; Center &> * * [yolov2 of object detection]( https://zhuanlan.zhihu.com/p/42861239 )**</center&></p&> —————————————————————————————————————————–

≪ font color = Red &> I feel that when I read some good papers, I can learn on the basis of some big men, and think about whether these views are correct, which is conducive to learning the ideas in classic papers faster and easier. </font&>

Solutions to RHEL 7 “there are no enabled repos”

Solutions to RHEL 7 “there are no enabled repos”

[ root@system1 Desktop]# yum install squid
Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
There are no enabled repos.
Run “yum repolist all” to see the repos you have.
You can enable repos with yum-config-manager –enable <repo&>

See the above error, is your Yum warehouse problem, I now teach you to build a local Yum warehouse, so you can use it again!!

One of the most obvious ways is to use subscription manager and follow the instructions to register your rhel7 system to enable RHEL buy back. To do this, you need to pay or try a RedHat subscription. However, if you just want to play games and install software without the latest red hat subscription, you can install the downloaded red hat ISO image as the default local repository and install software. To enable your local repository, and thus overcome the second there are no enabled repos

[root@rhel7 ~]# mkdir /media/rhel7-repo-iso
[root@rhel7 ~]# mount /dev/cdrom /media/rhel7-repo-iso/
mount: /dev/sr0 is write-protected, mounting read-only

Now, when you install RHEL 7 ISO, please/media/RHEL 7-repo-iso/create a new Yum repo file, which contains the following contents:

[root@rhel7 ~]# vi /etc/yum.repos.d/RHEL_7_Disc.repo
[root@rhel7 ~]# cat /etc/yum.repos.d/RHEL_7_Disc.repo
[RHEL_7_Disc]
name=RHEL_7_x86_64_Disc
baseurl="file:///media/rhel7-repo-iso/"
gpgcheck=0

Once ready, check the new warehouse to enable it:

# yum repolist
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
RHEL_7_Disc                                                                                                                                      | 4.1 kB  00:00:00     
(1/2): RHEL_7_Disc/group_gz                                                                                                                      | 134 kB  00:00:00     
(2/2): RHEL_7_Disc/primary_db                                                                                                                    | 3.4 MB  00:00:00     
repo id                                                                      repo name                                                                            status
RHEL_7_Disc                                                                  RHEL_7_x86_64_Disc                                                                   4,305
repolist: 4,305

(Note: there may be problems here. See the following supplement for solutions.)

You will now be able to install new software on unregistered RHEL 7 Linux machines. The disadvantage is that you don’t receive any new updates, which may create a security issue for your system. Also, when using the yum command:

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Supplement:

Running Yum repolist may still display 0.

Yum puts the information about each warehouse in a separate file (in the directory/etc)/ yum.repos . d), when “there are no enabled repos” and “Yum repolistall” are still displayed as 0, then look at the directory/etc/ yum.repos Does the previously created configuration file exist under. D

RHEL_7_Disc.repo

If this configuration file does not exist, manually create and add it to the directory/etc/ yum.repos . D.

# cat /etc/yum.repos.d/RHEL_7_Disc.repo     Create this new file repo, then save it, and you can install other services again!
[rhel7]
name=rhel7
baseurl=file:///media/cdrom/
enabled=1
gpgcheck=0

Finally do a mount it, boot automatically start, convenient for later use

[ root@system1 ~]# vim /etc/fstab

#
# /etc/fstab
# Created by anaconda on Tue Jul 16 15:51:34 2019
#
# Accessible filesystems, by reference, are maintained under ‘/dev/disk’
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/rhel-root/xfs defaults 1 1
UUID=9cead03a-2b93-4686-9b23-70cfb9264f3f /boot xfs defaults 1 2
/dev/mapper/RHEL swap swap defaults 0 0
/dev/CDROM/Andy iso9660 defaults 0 0// with this sentence, it’s good
~
~ finally.