Tag:Operation and maintenance
-
What are the advantages of using Hong Kong server to build mail server?
I believe that overseas changpost is a highly demanding thing for many companies with overseas business. For overseas mail, many enterprises have had similar problems, such as system rejection, mail sending and receiving delay, mail content loss and so on. So now many foreign trade enterprises will choose to rent some overseas servers to build […]
-
[Linux exercise] simulate a simple shell
Article catalogue 1、 Foreword 2、 Process program replacement 1. Replacement principle 2. Substitution function 3、 Simulate a simple shell 1.gethostname 2. Simulation Implementation Thank you for reading. Please criticize and correct any mistakes 1、 Foreword Shell is a command-line interpreter. Its function is to give the command to bash to execute, and Bash gives the […]
-
Interviewer: what is the principle of Linux zero copy?
1. PrefacePeople like da Bai, who is a contractor, know that if they don’t understand the underlying technology, it’s like a castle in the air. There’s no hope to face Ali P10 in this way. Thinking of this, I began to panic, so today I will learn an underlying technology point – zero copy. Everything […]
-
Introduction to hosts file in window system
Introduction to hosts file in window system If there is no IP address corresponding to the DNS in the browser file, the system will automatically find a corresponding IP address in the DNS file. If there is no corresponding IP address in the browser, it will be used to find the corresponding host in the […]
-
Complete centos7 in 30 minutes 6. Latest production environment configuration (git2.35.1 Python 3.10.2 golang1.18 docker nginx)
0. Server preparation & target Before that, the server mainly uses Ubuntu LTS, and the RH system has not been tried. It happens to be tested with an Alibaba cloud server that is about to expire. After running for 2 months to test the stability, take notes and install another one, it will be faster […]
-
One nginx rewrite redirect 403 error elimination
One nginx rewrite redirect 403 error eliminationFor the following two URLs, the first one (without the word. PHP) is normal, and the second one will display 403 error, but return the content http://api.cn/type/item_get/? http://api.cn/type/api_call.php?api_name=item_get Consistent with the first one, some clients will judge whether the network request is successful according to the HTTP status, so […]
-
Unauthorized to access repository appears when uploading image from docker warehouse
The image uploaded from docker warehouse appears: unauthorized: unauthorized to Access Repository [email protected]:~# docker push 192.168.180.204:19080/ai-box/redis/soc:1.0 The push refers to repository [192.168.180.204:19080/ai-box/redis/soc] 50229a1335e3: Layer already exists f3d92bfe600a: Layer already exists 15fb144574d8: Layer already exists bca2357f91a7: Layer already exists fdcf5ded3a5e: Layer already exists 388ba420b88d: Layer already exists unauthorized: unauthorized to access repository: ai-box/redis/soc, action: push: unauthorized […]
-
Process control of Linux
prepare Blogger:Great blame xiansen(remember to pay attention and don’t get lost next time)Programming environment:xshell(click download)Code shown:Code source Tip: after writing the article, the directory can be generated automatically Article catalogue prepare preface 1、 Fork() function First knowledge of fork() function Copy on write 2、 Termination of process Scenario of process exit Method of process exit […]
-
[Linux] thread synchronization and mutual exclusion
Article catalogue target Multithreading ptrhead_mutex_init/pthread_mutex_destroy pthread_mutex_lock The essence of atomicity Thread safe vs reentrant functions deadlock synchronization Conditional variable pthread_cond_init/pthread_cond_destroy pthread_cond_signal/pthread_cond_broadcast pthread_cond_wait/pthread_cond_timewait Producer consumer model Production and consumption model based on blocking queue POSIX semaphore sem_init/sem_destroy sem_wait/sem_trywait/sem_timewait sem_post Production and consumption model of circular queue target Producer consumer modelUnderstanding of mutual exclusion and synchronizationMutex, semaphore, […]
-
2021 summary of answers to popular positions
Post name Public answer address (permanently valid) [operation and maintenance engineer] Senior operation and maintenance engineer www.gtalent.cn/exam/interview?token… Senior operation and maintenance Development Engineer www.gtalent.cn/exam/interview?token… Intermediate operation and maintenance engineer www.gtalent.cn/exam/interview?token… Junior operation and maintenance engineer www.gtalent.cn/exam/interview?token… Operation and Maintenance Engineer Intern www.gtalent.cn/exam/interview?token… [java development engineer] Senior Java Development Engineer www.gtalent.cn/exam/interview?token… Intermediate Java Development Engineer www.gtalent.cn/exam/interview?token… […]