Centos7 installs jumpserver fortress

1. Firewall Selinux settings echo -e "\033[31m 1. firewall Selinux Set up \033[0m" \ && if [ "$(systemctl status firewalld | grep running)" != "" ]; then firewall-cmd --zone=public --add-port=80/tcp --permanent; firewall-cmd --zone=public --add-port=2222/tcp --permanent; firewall-cmd --permanent --add-rich-rule="rule family="ipv4" sour ...

Posted by mr_badger on Fri, 11 Oct 2019 11:18:37 -0700

[Kubernetes Series] Part 5 Introduction to Ingress controller - traefik components

1. overview In order for Ingress resources to work, there must be at least one running ingress controller component in the Kubernetes cluster. That is to say, if there is no ingress controller component in the kubernetes cluster, only the ingress resource is defined, in fact, it will not realize the functions of http, https protocol request for ...

Posted by TexasMd91 on Thu, 10 Oct 2019 23:37:51 -0700

Docker Introduction and Application Management Application Data

1. Three ways to mount data from host to container Docker provides three ways to mount data from the host to the container: Volumes: Docker manages part of the host file system (/var/lib/docker/volumes). The best way to save data.   Bid mounts: Mount files or directories anywhere on the host into containers.   tmpfs: Mounts are stor ...

Posted by Gutspiller on Thu, 10 Oct 2019 14:34:35 -0700

Django-Docker Containerized Deployment: Django-Docker-MySQL Deployment

In the previous chapter, we successfully built a containerized Django project, using the default Sqlite database. Sqlite is easy to use, but online deployment often chooses more efficient and reliable databases, such as MySQL. Based on the previous chapter, this chapter will modify and build the container project of Docker + Django + MySQL. Doc ...

Posted by blckspder on Wed, 09 Oct 2019 18:04:02 -0700

Using docker to build a private code repository from scratch

docker builds nginx tutorials Through< MySQL Construction of Building Private Code Warehouse from scratch with docker > and< Using docker to build gogs of private code repository from scratch > In fact, the code warehouse has been built successfully, but in order to facilitate access, we sometimes need to bind domain names, so we ca ...

Posted by BMurtagh on Wed, 09 Oct 2019 09:08:24 -0700

Docker deploys Laravel applications - export PDF using wkhtmltopdf

Let's write about how to use this passage. wkhtmltopdf Export HTML as PDF. I. Installation of fonts WORKDIR /tmp # Installation software RUN set -eux \ && apt-get update \ && apt-get install -y --no-install-recommends wget unzip fontconfig # Install Noto Sans SC font RUN wget https://fonts.google.com/download?family=No ...

Posted by DarkEden on Wed, 09 Oct 2019 07:08:20 -0700

The Enterprise Section - Docker's Basic Order

Start, stop, restart of docker systemctl start docker #Start docker service service docker start systemctl stop docker #Close docker service service docker stop systemctl restart docker #Restart docker service service docker restart systemctl daemon-reload ...

Posted by ceruleansin on Wed, 09 Oct 2019 06:18:15 -0700

Swoole Learning Network Communication Engine WebSocket Service

I. Basic overview of Websocket WebSocket protocol is a new network protocol based on TCP. It realizes full-duplex communication between browser and server - allowing server to send information to client actively. Why do we need WebSocket?Defect: HTTP communication can only be initiated by the client WebSocket features: Based on TCP Protocol Pe ...

Posted by wes007 on Wed, 09 Oct 2019 03:14:44 -0700

Django-Docker Containerized Deployment: Django-Docker Local Deployment

This chapter will build a containerized Django project locally to experience how Docker works. preparation in advance development environment Although there is a Windows-based version of Docker, all aspects of compatibility are not well done (installation is more troublesome), so it is recommended that readers install their own Linux or Mac sys ...

Posted by hl_tan on Tue, 08 Oct 2019 10:02:05 -0700

IDEA integrates docker plug-in to implement one-key deployment of SpringBook project

Virtual machine CentOS 7.X, docker 1.3.X, Win10 Idea 2018.1 The Docker plug-in has been downloaded by default Idea The default virtual machine docker has jdk installed Open docker configuration file, open port 2375 [root@xuan ~]# vim /usr/lib/systemd/system/docker.service Add ExecStart=/usr/bin/dock ...

Posted by abakash on Mon, 07 Oct 2019 02:27:18 -0700