Tag:Small inkstone

  • Linux modification time

    Time:2021-9-13

    #Modify time zone cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime #Modification time < machines that can access the Internet > yum -y install ntpdate ntpdate cn.pool.ntp.org #Modification time < machines that cannot access the Internet > date -s “2019-10-15 17:18:56” #System time synchronization hardware time hwclock –systohc #Hardware time synchronization system time hwclock –hctosys linux bash shell This work […]

  • Could not initialize class sun.awt.x11graphicsenvironment reported an error

    Time:2021-9-12

    Could not initialize class sun.awt.x11graphicsenvironment error reporting solution Error message: Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment Error reporting reason: The API of a java server to process images basically needs to run an X-server to use AWT (Abstract window toolkit). Therefore, the problem must be that the X-server function cannot be realized when […]

  • Install docker-20.10

    Time:2021-8-27

    yum install -y yum-utils device-mapper-persistent-data \ lvm2 ipvsadm container-selinux yum-config-manager –add-repo \ http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo yum install -y docker-ce docker-ce-cli containerd.io tee /etc/docker/daemon.json <<-‘EOF’ { “registry-mirrors”: [ “https://fybzbr5g.mirror.aliyuncs.com”, “https://docker.mirrors.ustc.edu.cn”, “https://mirror.ccs.tencentyun.com”, “https://registry.docker-cn.com” ] } EOF systemctl daemon-reload systemctl restart docker docker This work adoptsCC agreement, reprint must indicate the author and the link to this article :kissing_ closed_ […]

  • Docker runs elasticsearch single instance (elasticsearch: 7.12.0)

    Time:2021-8-26

    1. Install docker & configure docker image accelerationInstall docker-20.102. Server kernel parameter optimization sysctl -w vm.max_map_count=262144 echo “sysctl -w vm.max_map_count=262144” >> /etc/sysctl.conf sysctl -p 3. Run the elasticsearch service docker run -itd -e “discovery.type=single-node” \ -e “cluster.name=elasticsearch.cluster” \ -p 9200:9200 -p 9300:9300 \ -v /usr/share/elasticsearch/data:/app/es-docker/data \ -v /usr/share/elasticsearch/plugins:/app/es-docker/plugins \ –restart=always elasticsearch:7.12.0 elasticsearch docker This work […]

  • Calico instruction quick check

    Time:2021-8-20

    View the default loaded configuration cat /etc/calico/calicoctl.cfg Get node information calicoctl get nodes Get node status calicoctl node status Get network resource pool calicoctl get ipPool -o yaml calico calicoctl This work adoptsCC agreement, reprint must indicate the author and the link to this article :kissing_ closed_ eyes: