Section 14 of the second semester [file upload and download]

catalogue How to upload filesAPI related to file uploadRealize file uploadRealize file download 1, How to upload files To realize the file upload function in Web development, it usually needs to complete two steps: one is to add the upload input item in the Web page; the other is to read the data of the uploaded file in the Servlet and save ...

Added by ycoleman on Sat, 08 Jan 2022 12:01:36 +0200

Update summary of openssl, cmake and boost under linux

introduction OpenSSL is a fully functional software library, which contains open source implementations of transport layer security (TLS) and secure socket layer (SSL) protocols to protect information transmitted through computer networks. CMake is a cross platform build tool, which can describe the compilation process of all platforms with si ...

Added by andco on Sat, 08 Jan 2022 11:21:19 +0200

Linux learning basics chapter Linux basic permissions

Authority meaning We all know that using ls -l can view file or directory information, including file permissions, such as the permission "lrwxrwxrwx." of "/ bin" below, These eleven bits are usually called permission bits, and the last "." It was added after RedHat 6, so what is the meaning of these eleven ex ...

Added by zeberdeee on Sat, 08 Jan 2022 06:52:07 +0200

Setup of NFS Server

NFS Server Introduction to NFS Server NFS (Network File System) is one of the file systems supported by FreeBSD, which allows computers in the network (different computers, different operating systems) to share resources through TCP/IP networks, mainly on unix series operating systems. In NFS applications, client applications of local NFS can ...

Added by joe2 on Thu, 06 Jan 2022 19:59:03 +0200

[Niuke C + + server project learning] Day15 - Preparation of thread pool class

Project learning address: [ niuke.com C + + server project learning ] It took three hours to write the thread pool class. It was actually tested and can run normally. The performance test has not been done yet. I don't know how fast it can be compared with the traditional [immediate creation and immediate destruction] mechanism. I still ste ...

Added by jadebabe on Thu, 06 Jan 2022 18:53:23 +0200

[one Linux command per day] detailed usage of wget command

Linux wget is a tool for downloading files. It is used on the command line. It is an essential tool for Linux users, especially for network administrators. They often have to download some software or restore and back up from the remote server to the local server. If we use a virtual host to handle such transactions, we can only download it fro ...

Added by Paul1893 on Thu, 06 Jan 2022 17:03:59 +0200

Handling of common operation and maintenance faults of drbd

Introduction to drbd 1. What is DRBD? DRBD (Distributed Replicated Block Device) is a software implemented, non shared storage and replication solution that mirrors the contents of block devices between servers. DRBD is a mirror block device that mirrors the same data block by data bit. 2. Difference between DRBD and RAID1 RAID1 also real ...

Added by IWS on Thu, 06 Jan 2022 12:53:43 +0200

Deploy hexo to ECS in combination with nginx + git

preface Before working on this system, my Hexo blog system was deployed in Github's hosting (the blog is not very written, but the tossing system is good 🤪), The great advantage is that it is easy and convenient, and there is no additional charge. Buying a domain name costs money for domain name resolution, but the biggest pain point is th ...

Added by random1 on Thu, 06 Jan 2022 09:06:37 +0200

Introduction to file attributes

File attribute components (8 parts in total) ll -i /etc/hosts 16778299 - rw-r--r--. 1 root root 158 6 July 2013 /etc/hosts 1)In file properties inode(index node): Inodes locate data storage locations faster==Catalogue of books 2)File type information:- Ordinary file d Catalog file l Soft link file 3)File permission settings: r read w write x E ...

Added by Krazy-j on Thu, 06 Jan 2022 03:50:51 +0200

Linux - Basic command usage

Linux -- basic command usage (Part 2) 1, linux user 1. What are users Users are used to run some processes and own some files or directories. In Linux, users are divided into three categories: root user , system users, ordinary users. The user is uniquely identified by UID, and the root user UID is 0. The system user UID range is 1-999. The ...

Added by _spaz on Wed, 05 Jan 2022 20:36:17 +0200