July 2020

You are currently browsing the monthly archive for July 2020.

Reference:
Install Cisco ISE Using CIMC
Configure Repository on ISE
How to Export Configuration and Operation Data Backup from ISE
基于ISE对Cisco网络设备部署AAA
Read the rest of this entry »

Tags:

Reference:
https://medium.com/@habibridho/how-to-easily-setup-wordpress-using-docker-a798081dc577
#docker run --name local-mysql -e MYSQL_ROOT_PASSWORD = 12345 -d mysql:5.7
#docker exec -it local-mysql mysql -u root -p
#mysql> create database wordpress;
#docker run --name local-wordpress -p 8080:80 -d wordpress
#docker network create --attachable wordpress-network
#docker network connect wordpress-network local-mysql
#docker network connect wordpress-network local-wordpress
Read the rest of this entry »

Tags:

Reference:
Linux网络 - 数据包的接收过程
Linux网络 - 数据包的发送过程
Linux虚拟网络设备之tun/tap
Linux虚拟网络设备之veth

Read the rest of this entry »

Tags:

Reference:
https://docs.docker.com/engine/install/centos/
https://docs.docker.com/config/daemon/systemd/#httphttps-proxy
https://www.runoob.com/docker/docker-tutorial.html
Centos Docker install
[root@localhost ~]# yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
[root@localhost ~]# sudo yum-config-manager --enable docker-ce-nightly
[root@localhost ~]# sudo yum-config-manager --enable docker-ce-test
[root@localhost ~]# yum install docker-ce docker-ce-cli containerd.io
[root@localhost ~]# systemctl start docker
[root@localhost ~]# systemctl status docker
[root@localhost ~]# docker info
[root@localhost ~]# docker run hello-world
HTTP/HTTPS proxy
[root@localhost ~]#sudo mkdir -p /etc/systemd/system/docker.service.d
[root@localhost ~]#vi /etc/systemd/system/docker.service.d/http-proxy.conf
[Service]
Environment="HTTP_PROXY=http://xxx:80"
Environment="HTTPS_PROXY=http://xxx:80"
Environment="NO_PROXY=localhost,127.0.0.1,.cisco.com"
[root@localhost ~]#sudo systemctl daemon-reload
[root@localhost ~]#sudo systemctl restart docker
[root@localhost ~]#sudo systemctl show --property=Environment docker
[root@localhost ~]#docker run hello-world
Read the rest of this entry »

Tags:

How to install
//Yum
[root@nso ~]# yum -y install screen
//rpm
[root@nso ~]#wget http://mirror-hk.koddos.net/centos/7.8.2003/os/x86_64/
Packages/screen-4.1.0-0.25.20120314git3c2946.el7.x86_64.rpm
[root@nso ~]#rpm -ivh  screen-4.1.0-0.25.20120314git3c2946.el7.x86_64.rpm
Some Tips

Created a session, -S means special a name for that session.

[root@xuxing ~]# screen
[root@xuxing ~]# screen -S test  

Recover your session.

[root@xuxing ~]# screen -ls
There are screens on:
	15741.test	(Detached)
	5971.pts-2.xuxing	(Detached)
	4485.pts-2.xuxing	(Detached)
	4409.pts-0.xuxing	(Detached)
	25997.9922a	(Detached)
5 Sockets in /var/run/screen/S-root.
[root@xuxing ~]# screen -r test    // recover test session
[detached from 15741.test]
Read the rest of this entry »

Tags: