docx document to pdf file

Note: only docx file can be converted here. doc is not allowed. The source code is at the end of the article. It can be run on windows and linux, with the function of content replacement added, because some document contents need to be generated dynamically by code. The following are the specific operation steps: ma ...

Posted by AJW on Sun, 03 May 2020 23:41:37 +0200

MySql Foundation - Building MySql Database: Installing MySql-server, MySql-client

1 Build MySQL Server1.1 Question This case requires familiarity with the use of MySQL's official installation package to quickly build a database server: Install MySQL-server, MySQl-client packagesModify the password of the database user rootConfirm MySQL service program is running and root is controllable 1.2 Program This course will use the ...

Posted by beaux1 on Sat, 02 May 2020 18:45:31 +0200

Installation and basic configuration of Ubuntu Server in virtual machine

Installation and basic configuration of Ubuntu Server in virtual machine Install Ubuntu Server 16 The virtual machine uses VMware workstation. Create a new virtual machine. Next, install ubuntu. There is an error. The language was changed to English, no error was reported, and the installation was successful. configure network In order to faci ...

Posted by xgab on Sat, 02 May 2020 01:00:12 +0200

linux system programming: detailed explanation of open common parameters

Open is used to open a file. By setting different flag s, you can make the process read-only, write only, read / write and other operations 1, Write to a non-existent or existing file (test.txt) 1 /*================================================================ 2 * Copyright (C) 2018 . All rights reserved. 3 * 4 * File name: ...

Posted by Boris Senker on Fri, 01 May 2020 22:34:42 +0200

Two of three phases of Linux: backup service (rsync)

2, Backup service (rsync) (1) rsync service introduction Rsync is an open source, fast, multi-functional, full and incremental local or remote data synchronization backup tool. And it can realize the backup and migration of data without changing the attribute information of the original data. Rsync software is suitable for unix/linux/windows an ...

Posted by bloodl on Fri, 01 May 2020 18:49:54 +0200

Shell Script: find all files in a directory after a certain time

Problem description Often swim in the ocean of Linux files, often need to find all the files after a certain time. Maybe you're packing them, or maybe you're just checking. The question is, what do you do if you want to write a script find-newer and put it on the server? target With a command like this, you can fi ...

Posted by bizshop on Thu, 30 Apr 2020 09:40:04 +0200

shell script 9: application of case structure conditional sentence

9, Application of case structure conditional sentence (1) case syntax structure case structure condition sentence is equivalent to multi branch if condition sentence, but it looks more standard and neat than these condition sentences, and is often used in application scenarios such as system service script. Syntax structure of case statement: c ...

Posted by Dethman on Wed, 29 Apr 2020 18:14:47 +0200

Methods of python processing files and files (shutil, filecmp, MD5, tarfile, zip)

1, Advanced file processing interface shutil Is a high-level file operation toolIt is similar to advanced API, and its main strength lies in its better support for copying and deleting files. usage method Copyfile (src, dst) is copied from source src to dst. Of course, the premise is that the target address has writable permission. The exce ...

Posted by Dorin85 on Mon, 27 Apr 2020 08:14:45 +0200

Ubuntu installs docker CE and harbor

##Docker CE installation System recommended version: Ubuntu 16.04 Official installation document connection: https://docs.docker.com/install/linux/docker-ce/ubuntu/#prerequisites Auto match system version installation: apt-get install -y docker.io ubuntu search: apt-cache madison kubeadm ##The installation steps are as follows in the s ...

Posted by witty on Sat, 25 Apr 2020 03:08:50 +0200

Dockerfile image making practice

If you don't know what Dockerfile is, you can check my previous blog:https://blog.51cto.com/14557905/2489466Dockerfile image production practiceThree steps for Dockerfile to create image1, Making sshd image1. Write Dockerfile file [root@docker sshd]# vim Dockerfile #base image FROM centos:7 #User information MAINTAINER this is sshd project #B ...

Posted by keigowei on Fri, 24 Apr 2020 17:20:41 +0200