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 https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse\n deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse\n deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse\n deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse\n deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse\n deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse\n deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse\n deb-src https://mirrors.ustc.edu.cn/ubuntu/ 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 rsa.pub to server which you want to login without password. ssh-copy-id -i ~/.ssh/id_rsa.pub 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运维人员或者程序员,不论做什么或做多久.如果你不学习新东西,你可能现在已经已经转行了.不

How to Setup Reverse Proxy With Iis

How to Setup Reverse proxy with IIS I testing it on Server 2016 with IIS 10 Install IIS,URL _REWRITE, ARR Install IIS. Download and install URL Rewrite Module 2.1 Download and install ARR-Application-request-routing Setting Reverse Proxy Select Root level in IIS management Click ‘Application Request Routing Cache’,then in the

Kvm Virtualization 01 Introduction

KVM virtualization-01 Introduction Today we are start to learn kvm virtulization After try to find which is the right open source virtulization solution,which include Bhyver, Trolin/smartos, ovirt, OpenStack. Openstack is too heavy and it is suitable for you have thousands of host to managament. bhyver is base freebsd, and it has a web managment system named Clonos which write by a russian Less support. smartos/Trolin is a opensolaris base .

Building Network With Vyos 01---Basic Installing and Configuration

Building Network With Vyos.-.01.Basic Installing and Configuration Vyos is a debian base router. it is fork form vyatta core.It is very stable and fast router OS. It hasn’t web UI, but only command line configration just like JUNOS. At now, vyos version will be vyos version 1.2 released. I will wirte the turtural with vyos 1.2RC4. Install vyos Download vyos form the office website: Download Link: vyos-1.2.0-rc-4-amd64 Write iso image to usb disk Linux and Mac: ddi if=vyos-1.

How to Install Dotnetcore2.1.x and Asp.net21.x on RHEL6.x CENTOS6

How to install netcore/aspnetcore 2.1.4 on RHEL 6.8 Recently days, we met a scenario that is our client production environment must be RHEL 6.8. But our product is base asp.net core 2.1.x version. Rehat and Microsoft has never say the are support RHEL 6.X version. After a few days research, I found that .net core website is support RHEL 6.X,but no runtime.We can download install SDK to support asp.net core. And you know what?