IM Logon Server and Message Server Design
I recommend a free open course for the zero acoustics academy. I think the teacher has done a good job. Share it with you: Linux, Nginx, ZeroMQ, MySQL, Redis, fastdfs, MongoDB, ZK, streaming media, CDN, P2P, K8S, Docker, TCP/IP, protocol, DPDK and other technical content, learn now
2 IM Logon Server and Message Server Design
1. Communication ...
Posted by SoccerGloves on Sat, 19 Feb 2022 03:10:26 +0100
Unix/Linux socket collation -- address structure
preface
Students who have read UNIX network programming know that this book introduces all aspects of sockets in detail, and gives each structure Implementation code file of system API. However, with the continuous development of technology, the kernel of the operating system is constantly updated. The book describes the relevant address struc ...
Posted by lilywong on Fri, 18 Feb 2022 21:23:57 +0100
Linux recovers wrongly deleted files or directories -- Excerpt
(transferred) author: running script for reference Link: https://www.jianshu.com/p/662293f12a47
Take notes and review them when necessary
Unlike windows, linux has a recycle bin. Basically, files cannot be found using rm -rf *.
So here comes the question...: For files deleted by mistake under linux, can we really recover them through softwar ...
Posted by deeessay on Fri, 18 Feb 2022 18:38:49 +0100
Basic operation of Ansible common modules
ping module ping is a common module to test whether the SSH connection of the remote node is ready. However, it is not as simple as the Linux command to ping the remote node. Instead, first check whether the remote node can log in through SSH, and then check whether its Python version meets the requirements. If it meets the requirements, it wil ...
Posted by Drabin on Fri, 18 Feb 2022 11:58:28 +0100
Using openstack to build private cloud
OpenStack deployment
1, Environmental preparation
1. Network environment
hostIPcontroller10.0.0.51compute110.0.0.61
Modify hosts file cat /etc/hosts 10.0.0.51 controller 10.0.0.61 compute1
Close selinux and firewalld
cat env_set.sh
#!/bin/bash
systemctl stop firewalld
systemctl disable firewalld
setenforce 0
sed -i 's/SELINUX=enforci ...
Posted by ViralStef on Fri, 18 Feb 2022 10:15:45 +0100
In Debian 10 0&Ubuntu10. Steps to deploy mysql on 04
In Debian 10 Steps to deploy mysql on 0
1. Use the wget command to download the MySQL version you need. Here, use 0.8.13-1_all for Demo: wget http://repo.mysql.com/mysql-apt-config_0.8.15-1_all.deb .
2. After downloading, install the mysql distribution package with the w user with sudo permission:
sudo apt install ./mysql-apt-config_0.8.15- ...
Posted by hwmetzger on Fri, 18 Feb 2022 09:11:29 +0100
Deploy YUM warehouse and NFS shared services
YUM(yellow dog updater modified)
1. Software update mechanism based on RPM package
2. Dependency can be solved automatically
3. All software packages are provided by the centralized YUM software warehouse
Prepare for installation
How to provide software warehouse
1. FTP service: FTP: / /
2. HTTP service: http: / /
3. Local directory: ...
Posted by Imperialdata on Fri, 18 Feb 2022 02:32:24 +0100
Source code analysis of Sylar server framework log module
Source code analysis of Sylar server framework log module
Overall design of log library module
It is used to format the output program log, which is convenient to locate the problems in the running process of the program from the log. In addition to the log content itself, the log here should also include additional information such as ...
Posted by vent on Thu, 17 Feb 2022 16:05:32 +0100
Crazy God says JavaWeb notes 01
JavaWeb (crazy God says Java)
Java Web
1. Basic concepts
1.1 Preface
web development:
Web is the meaning of web page development, which means that we can get resources from the web page www.baidu.com com Static web
html css The data provided to everyone will never change Dynamic web
Taobao, almost all websites are dynamic ...
Posted by bhavin12300 on Wed, 16 Feb 2022 01:18:16 +0100
Course design of operating system: add linux driver
Write in front
Please read it first https://blog.csdn.net/qq_46640863/article/details/122684580 Compile the linux kernel.
1, Design content and specific requirements
New Linux driver Add a driver (using memory to simulate the device) and use module compilation. requirement: (1) New drivers can be loaded and unloaded dynamically. (2) Use t ...
Posted by goaman on Tue, 15 Feb 2022 15:51:38 +0100