Server initialization

1. What can server initialization do Turn off selinux ntp synchronization time Modify dns Configure ssh key Modify yum source Set host name Kernel parameter optimization: tcp, memory, routing, file handle Install the necessary software package: gcc-c++ cmake nmp wget vim jdk traceroute iotop, etc Prohibit root logi ...

Posted by Ark3typ3 on Thu, 02 Apr 2020 00:33:30 -0700

LDAP/SASL/GSSAPI/Kerberos programming API--krb5 client

There are two libraries available for krb5 API: MIT and Heimdal. The APIs of the two libraries are different. It is basically OK for one client's API to connect to the otherThe two kadmin libraries in API are completely incompatible. From the kadmin application tools of MIT and Heimdal, it can be seen that it is not successful to connect the k ...

Posted by AdRock on Tue, 17 Mar 2020 22:47:23 -0700

Can I try / catch warnings?

I need to catch some warnings thrown from PHP native functions and process them. Especially: array dns_get_record ( string $hostname [, int $type= DNS_ANY [, array &$authns [, array &$addtl ]]] ) When a DNS query fails, it will raise a warning. try / catch does not work because warnings are no exception. I now have t ...

Posted by triphis on Wed, 11 Mar 2020 21:10:30 -0700

Cryptography summary

1, Digital signature 1.1 relationship between digital signature and asymmetric encryption In fact, there is a very close relationship between digital signature and asymmetric encryption. In short, digital signature is realized by using asymmetric encryption in reverse. Let's summarize the usage of t ...

Posted by thomas777neo on Mon, 09 Mar 2020 03:43:26 -0700

Beauty of unity online game architecture design (Lesson 11: role synchronization solution)

Lesson 11: role synchronization solutions In the previous chapter, we introduced the deployment of servers. In this chapter, we use deployed servers to synchronize roles. Here we first introduce what is role real-time synchronization. Online game role real-time synchronization has always been a tech ...

Posted by mwilson on Sat, 07 Mar 2020 01:51:22 -0800

C Programming single thread IP address resolution

Single thread IP address resolution Article directory Single thread IP address resolution Target program Implementation ideas Implementation process Try the process in the console Design WPF interface Background code Knowledge required IP address port The class of IP address translation in C ා ...

Posted by mburkwit on Thu, 05 Mar 2020 04:59:53 -0800

Prepare for CKA daily question - day 13: static Pod creation method, Pod domain name resolution test

Yesterday's examination questions Set configuration context $ kubectl config use-context wk8s configure the kubelet systemed managed service, on the node labelled with name=wk8s-node-1,to launch a pod containing a single container of image nginx named myservice automatically. Any spec file requried should be placed in the /etc/kuberneteds/mai ...

Posted by snowman2344 on Sun, 01 Mar 2020 20:02:54 -0800

Turn your Archlinux into a router

I got back an industrial control board with J2900 double Gigabit ports (odd model) for soft routing, but I wanted to use all kinds of skins, install a desktop environment with VNC, and I didn't have a cold on the virtual machine (and this U doesn't support through yet), so I had to give up all the router systems.As an Arch iron powder, in purs ...

Posted by vikaspa on Sun, 23 Feb 2020 08:31:13 -0800

python network novel crawling 3

/* Internet Novels:[secret] */ #coding:utf-8 import re import sys from bs4 import BeautifulSoup import urllib.request import time import random proxy_list = [ {"http":"124.88.67.54:80"}, {"http":"61.135.217.7:80"}, {"http":"120.230.63.176:80"}, {"http":"210.35.205.176:80"} ] proxy = random.choic ...

Posted by Nandini on Wed, 19 Feb 2020 02:14:06 -0800

Centos 7 Builds Zimbra Mail Server and foxmail Configuration

Reference resources: https://blog.csdn.net/linuxnews/article/details/51106905 Environment Configuration: Local ip:192.168.1.41 Set Host Name hostnamectl set-hostname mail.jlkj.com Add hosts echo "192.168.1.41 mail.jlkj.com" >> /etc/hosts Turn off the firewall: sed -i 's/SELINUX=enforcing/SELINUX=disabled/ ...

Posted by dv6cougar on Mon, 10 Feb 2020 08:21:33 -0800