Tag:image

  • It’s time to say goodbye to docker

    Time:2022-5-6

    In the ancient times of container (about 4 years ago), docker was the only participant in container games. But now the situation is different. Docker is no longer the only one, but just another container engine. Docker allows us to build, run, pull, upload and view container images, but there are other tools that can […]

  • Alibaba cloud ECS: Ubuntu 20 04 installing laravel operating environment

    Time:2022-5-5

    Create www users and user groups and / data / www, / data / log directory useradd www -m chown -R www:www /data ssh-keygen -t rsa -C “[email protected]” Initialize system export LC_ALL=”en_US.UTF-8″ echo “LC_ALL=en_US.UTF-8” >> /etc/default/locale locale-gen en_US.UTF-8 locale-gen zh_CN.UTF-8 ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime apt-get update apt-get install -y software-properties-common Initialize software source add-apt-repository -y […]

  • Hrsc2016 dataset is converted from XML format to Yolo format, with download link attached

    Time:2022-5-4

    Data set introduction Dataset background: Hrsc2016 dataset It contains 27 types of remote sensing objectsExtracted from Google EarthIssued by Northwest University of technology in 2016Oriented bounding boxes (OBB) annotation format is adopted Hrsc2016 (Liu et al., 2016) is the data collected by Northwest University of technology for ship detection, including 2976 ship instance information in […]

  • Docker introduction practice

    Time:2022-5-4

    Docker introduction reference resources:Why docker? Docker is an open source application container engine, which is based on go language and complies with Apache 2.0 0 protocol is open source. The main application scenarios are as follows: Environmental isolation The environment between containers is independent and does not affect each other. Similar to virtual machines, but […]

  • Kubernetes core practice (VII) — job, cronjob, secret

    Time:2022-5-3

    10. Job task Use Perl to calculate pi [[email protected] ~/yaml/test]# vim job.yaml [[email protected] ~/yaml/test]# cat job.yaml apiVersion: batch/v1 kind: Job metadata: name: pi spec: template: spec: containers: – name: pi image: perl command: [“perl”, “-Mbignum=bpi”, “-wle”, “print bpi(2000)”] restartPolicy: Never backoffLimit: 4 [[email protected] ~/yaml/test]# [[email protected] ~/yaml/test]# kubectl apply -f job.yaml job.batch/pi created [[email protected] ~/yaml/test]# View […]

  • MySQL multi master and one slave configuration

    Time:2022-5-2

    program specification MySQL is installed based on docker compose, using server (LAN) Master1:192.168.100.1 Master2:192.168.100.2 Slave:192.168.100.3 Heterogeneous data synchronization configuration description Install docker Install dosker compose For docker related operations, the installation part is managed separately, and relevant management directories are created on the server a) /usr/local/docker/mysql b) Create a new directory master (/ usr / […]

  • Practice of automatic deployment process of dapr project in azure Devops

    Time:2022-5-2

    Note: This paper mainly discusses NET6. 0 project runs the continuous integration process of dapr in k8s, but in fact, it is not the same process when dapr projects are deployed to k8s, but the yaml configuration file of k8s is different Process selection The continuous integration of projects based on dapr includes the following […]

  • Docker installation rocketmq

    Time:2022-5-2

    be careful:If you don’t have a docker environment, you can refer to your CentOS to install docker1. Query the available rocketmqdocker search rocketmq2. Pull the imagedocker pull rocketmqinc/rocketmq3. Start the namesrv service (create a new file path, my name is / www / MQ) docker run -d -p 9876:9876 -v /www/mq/data/namesrv/logs:/root/logs -v /www/mq/data/namesrv/store:/root/store –name rmqnamesrv […]

  • [unity] opencv plus unity Hoff circle detection example code – tank car (record)

    Time:2022-5-1

    As follows: using UnityEngine; using UnityEngine.UI; using OpenCvSharp; public class Circle_Text : MonoBehaviour { //このScriptはMainCameraにアタッチしてください public RenderTexture renderTexture; //mainCameraにつけるRendertexture(アタッチしてね) Texture2D kakunin, dstTexture; Camera mainCamera; Mat mats; Vector3 Circle; void Start() { //mainCamera = GetComponent(); //kakunin = CreateTexture2D(renderTexture); //Tex2D_to_Mat_show(kakunin); } private void Update() { mainCamera = GetComponent(); kakunin = CreateTexture2D(renderTexture); mats = Tex2D_to_Mat(kakunin); HoughCircles(mats); } ///Click […]

  • Create imagepullsecrets

    Time:2022-5-1

    Image key warehouse creation method I docker login -u admin -p **** 192.168.10.22:8888 kubectl create secret generic harborsecret \ –from-file=.dockerconfigjson=/root/.docker/config.json \ –type=kubernetes.io/dockerconfigjson kubectl get secret harborsecret –output=yaml Create image warehouse key mode 2 kubectl create secret docker-registry harborsecret \ –docker-server=192.168.10.22:8888 \ –docker-username=admin \ –docker-password=**** –[email protected] Imagepullsecrets is configured in the controller spec: containers: – name: […]

  • New domain name of Taobao NPM mirror station

    Time:2022-5-1

    Taobao NPM mirror station(http://npm.taobao.org)China’s front-end community has been running a simple mirror service in 2014, and it has been just a year since NPM started to give back to the outside world. Referring to the way of ruby gems Taobao image, I applied for taobao.com with Alibaba open source organization Org, and the name of […]

  • Kubebuilder practice 6: build, deploy and run

    Time:2022-5-1

    Welcome to my GitHub https://github.com/zq2599/blog_demos Content: classification and summary of all original articles and supporting source code, involving Java, docker, kubernetes, Devops, etc; Link article series One of kubebuilder’s actual combat: preparation Kubebuilder practice 2: experience kubebuilder for the first time Kubebuilder practice 3: a quick overview of basic knowledge Kube builder practice 4: operator […]