Cisco Ssh Error

cisco ssh error When you met error like this: ssh cisco@ Unable to negotiate with port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 Solution: $ ssh -l <USERNAME> -oHostKeyAlgorithms=+ssh-dss -oKexAlgorithms=+diffie-hellman-group1-sha1 <HOST> or ssh -l <username> -o HostKeyAlgorithms=+ssh-dss -o KexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc <hostname> Reference SSH failed on 3750 switch SSH Not Working After Update To 10.13.2 (HighSierra)

Macos Update Time via Ntpserver

How to update time via ntpserver Today, My MBP is out of power. I cannot surfing internet. and the brower tell me my time was wrong. Then I checked my time in my MBB, I’m back in time jan 1, 2018. Wow, I got extra whole year time! Majove update time sudo sntp -sS When you’re getting this error kod_init_kod_db(): Cannot open KoD db file /var/db/ntp-kod: No such file or directory You can solved the problems with:

Learning Flask 01

learning Flask 01 Installation and configure of anaconda Installaltion homebrew ruby -e "$(curl - fsSL" Installation of pyenv # Installing pyenv brew install pyenv Install anaconda 2 and anaconda 3 Download anaconda from here

Proxmox Ve Network Adapter Pass Through

Proxmox Network Adapter Pass Through Long time ago, I konw virtualization is go very good solution to server. But how about router build in virtualization? After tried to do it, I was failed. because virtual switch made networking very slow. So i just use dedicate server as a router. Recently days, I just learn proxmox and find pci-e pass through function. I think maybe it is way to make routing virtualization.

Dockerfile for Overture

How to Wirte docker file for overture Hence we need to custom overture docker image as we desire, I write this dockerfile. How to map VOLUME and copy file from docker images to directory of docker host. When define VOLUME, build docker images will not copy file to the path, But we can copy the files when docker running. if [ “ls -A /config” = "" ]; then cp /srv/config.json /config/ && cp /srv/*.

Debian or Ubuntu Chinese Language Support

Ubuntu Chinese Language Support 编辑/etc/environment如下: vi /etc/environment 添加如下: LC_ALL="en_US.UTF-8" LANG="zh_CN.UTF-8" UNZIP='-O CP936" ZIPINFO="-O CP936" 重新生成语言设置 sudo locale-gen en_US en_US.UTF-8 zh_CN zh_CN.UTF-8 sudo dpkg-reconfigure locales ## 中文支持 ### vim中文支持 编辑

Install PowerDNS and Mysql on Freebsd12

Install PowerDNS and Mysql on FreeBSD 12 Database Installation pkg install mysql56-server sysrc mysql_server="YES" service mysql-server restart Database and User Configuration $ mysql mysql> create database powerdns charset = utf8; mysql> CREATE USER 'powerdns'@'localhost' IDENTIFIED BY 'XianAdmin'; ###mysql> GRANT ALL PRIVILEGES ON powerdns.* TO '%' WITH GRANT OPTION;### mysql> grant all privileges on powerdns.* to 'powerdns'@'localhost' IDENTIFIED BY 'XianAdmin'; mysql> FLUSH PRIVILEGES; #For security, we also give the main admin password $ mysqladmin -u root password "PASSWORD_OF_ROOT" Install powerdns pkg install powerdns Reference How to manage MySQL databases and users from the command line PowerDNS, PowerAdmin with Mysql in Freebsd 10.

Deploy Overture With Docker and Freebsd

Run overture on Docker and FreeBSD 12 ENV foo /overtureWORKDIR${foo}RUN apt-get update && apt-get install -y ca-certificatesRUN printf "deb bionic main restricted universe multiverse\n deb-src bionic main restricted universe multiverse\n deb bionic-security main restricted universe multiverse\n deb-src bionic-security main restricted universe multiverse\n deb bionic-updates main restricted universe multiverse\n deb-src bionic-updates main restricted universe multiverse\n deb bionic-backports main restricted universe multiverse\n deb-src bionic-backports main restricted universe multiverse" > /etc/apt/sources.

How to install ProxmoxVE 5.x on Debian 9

How to Install Proxmox VE 5.x on Debian 9 Chang IP ADDRESS vi /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface #allow-hotplug eno1 auto eno1 #iface eno1 inet dhcp iface eno1 inet static address *.*.*.* netmask *.*.*.* gateway *.

How to Testing Network Bandwith With Iperf

How to test network speed with iperf Install iperf sudo apt-get install iperf3 Testing network speed Testing network speed with UDP Run command on server iperf -s -u Run command on client iperf -c -u Testing network speed with TCP Server side. iperf -s Client side. iperf -c Command for -s server -c client + server IP -u udp -b bandwith(the max bandwidth -t time,how long to send packet.

Python Development 01

Python Development python开发笔记-01-python开发入门 安装ptyhon开发工具和包 安装ubuntu 16.04 …pass… 安装系统相关依赖包 build-essen

Ssh Login Without Password

Ssh Login Without Password SSH login linux/unix without password General your key ssh-keygen-t rsa copy your to server which you want to login without password. ssh-copy-id -i ~/.ssh/ user1@$server-hosts Test login ssh user1@$server-hosts

Proxmoxve VE V5.x Installation

Proxmox VE 5.x Installation Proxmox won’t install- “A volume group called pve already exists Solution: Boot the proxmox installer USB Select Debug Mode Press “CTRL+D” to start the installer wizard. Click on abort Run “vgdisplay” to dislay the LVM PG’s. Run “vgremode pve ” to remove pve PG. Remove “No valid Subscription” Message shell solution. sed -i.bak "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service manual solution: cd /usr/share/javascript/proxmox-widget-toolkit cp proxmoxlib.

Linux in Action 01

Linux In Action-[翻译]Linux实战 前言 作为IT运维人员或者程序员,不论做什么或做多久.如果你不学习新东西,你可能现在已经已经转行了.不