First, use the tar command to pack and compress the / etc directory in gzip format, and name the file etc.tar.gz:
[root@localhost ~]# tar -czvf etc.tar.gz /etc
Next, unzip the packed package file to the / root/etc directory (first use the mkdir command to create the / root/etc directory):
[root@localhost ~]# tar ...
Posted on Sun, 05 Jan 2020 17:10:39 -0800 by jimiwa
Download the python version to be upgraded, such as:
Install required environment components
yum -y install readline-devel sqlite-devel bzip2-devel.i686 openssl-devel.i686 gdbm-devel.i686 libdbi-devel.i686 ncurses-libs，zlib-devel.i686 libffi-devel
To avoid conflicts with the origi ...
Posted on Thu, 02 Jan 2020 14:37:55 -0800 by andreasb
Premise: all the installations here are installed with dockercompose, because it is easy to install and easy to manage, and all the used installations are known.
mkdir: create a new directory
If there is no VIM command, install the VIM command as follows:
#yum -y install vim*
Create a new ftp/docker-compose.yml file mkdir ftp, ...
Posted on Thu, 19 Dec 2019 13:59:01 -0800 by mp96brbj
I have a Debian system currently running in python 2.5.4. I installed virtualenv correctly, everything is OK. Can I use virtualenv with other versions of Python?
I compiled Python 2.6.2 and wanted to use it with some virtualenv. Is overwriting binary sufficient? Or do I have to change something about the library?
These are ...
Posted on Fri, 13 Dec 2019 05:51:26 -0800 by iceblox
Posted on Thu, 12 Dec 2019 10:18:41 -0800 by aeafisme23
Scenario of TCP packet splitting and combining
TCP communication is streaming. When a large packet is sent, it may be split into multiple packets to send. At the same time, multiple packets may be sent, or it may be combined into one packet by the underlying layer to send.
Subcontracting: to receive a packet, you need to split the packet;
Posted on Wed, 11 Dec 2019 00:10:44 -0800 by talkster5
curl is a command line tool for transferring data with URL syntax.
PHP supports libcurl library created by Daniel Stenberg, which can connect to various servers and use various protocols. Currently, libcurl supports http, HTTPS, ftp, gopher, telnet, dict, file and ldap. Libcurl also supports HTTPS certificate, HTTP POST, HTTP ...
Posted on Mon, 09 Dec 2019 15:20:19 -0800 by boushley
Unattended installation can greatly shorten the installation time of the system. I successfully tested in virtual machine.
Link file first https://files.cnblogs.com/files/sishenzaixian/%E8%87%AA%E5%8A%A8%E5%AE%89%E8%A3%85.zip.
Here, first go to the xp auto answer file -- unattend.txt
AutomaticUpdates="No" ;Automatic upgrade
Posted on Sun, 01 Dec 2019 20:43:42 -0800 by acannings
In JAVA programs, you often need to deal with FTP, such as uploading files to FTP server and downloading files. This paper briefly introduces how to use FTPClient (in commons net package) in jakarta commons to upload and download files. I created mvn project, so I added dependency in pom.xml file:
<!-- https://mvnreposito ...
Posted on Sun, 01 Dec 2019 07:00:00 -0800 by goochy808
Wisconsin breast cancer data set
The Wisconsin breast cancer dataset contains 569 samples of malignant or benign tumor cells. The first two columns of the data set store the unique ID of the sample and the diagnosis results of the sample (M represents malignant, B represents benign). The 3-32 columns of the dataset contain 30 featu ...
Posted on Sun, 24 Nov 2019 12:40:22 -0800 by Jackdaw