Linux file system and LVM
1, Manage file system
1. Creating an EXT4 file system
The mkfs (Make Filesystem) command is used to create a file system (format). The basic syntax format of the mkfs command is as follows:
1) mkfs application example
Format the / dev/sdb1 partition as an EXT4 file system.
<! -- self planning zone -- >
[root@centos01 ~]# fdisk / ...
Posted by Namadoor on Mon, 17 Feb 2020 08:35:31 +0100
python draws 2091 ncov epidemic map
python draws 2091 ncov epidemic map
Preparation
Complete code
Code interpretation
In the first two phases, we have done the work of obtaining real-time tracking data of epidemic situation and building logistic model with confirmed data
python obtains real-time tracking data of 2019-nCoV epidemic
E ...
Posted by phpdolan on Mon, 10 Feb 2020 11:35:54 +0100
Centos configuration deep learning development environment
Catalog
1. Install the video card driver
2. Install CUDA\CUDNN
3. Install tensorflow GPU
test
1. Install the video card driver
Check the driver and model of the video card
$ sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
Add ELPepo source
$ sudo rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
In ...
Posted by bsbotto on Sat, 04 Jan 2020 00:17:58 +0100
python high performance extension tool - python tutorial 2 Basic
The main contents of this chapter are as follows:
Link model
Python Keyword - cdef
Typedef and function pointer
public keyword
Keyword cpdef
C / C + + log to Python
C / C + + calls Python ConfigParser
Python to C / C + + callback
Cython PXD
Integration with build systems
Link model
Embedding python in C/C + +
image.png
cyth ...
Posted by _rhod on Sat, 28 Dec 2019 16:21:24 +0100
Installing tensorflow GPU under linux
Install NVIDIA drive
1. Driver download address: https://www.nvidia.cn/Download/index.aspx?lang=cn
2. Unload the original drive
Ctrl+Alt+F1
sudo apt-get remove nvidia-*
sudo apt-get autoremove
sudo nvidia-uninstall
Reset computer
shutdown -r now
3. Drive installation
Ctrl+Alt+F1
sudo service lightdm stop
sudo sh ./filenam ...
Posted by doug007 on Sun, 17 Nov 2019 16:37:31 +0100
The simplest directory structure to understand
1. Common directories and explanations in LinuxWhere to save the 1 bin command file2 SBIN Commands that only root users can use3 boot (know it) Directory where information is saved when a Linux program starts4 Directory where dev device files existDirectory where 5 etc file configuration information and service configuration information exist6 ...
Posted by mysty on Sun, 08 Sep 2019 04:12:19 +0200
shell script step one (for, while, continue, break, select, etc.)
Script step one
The second way of writing for cycle:
As we all know, for has two ways of writing
The first is: for I in k8s-node {1.3}; do setenforce 0;
The Second Writing Style: C Language Style
Write directly how to use:
#After for, you must write two parentheses, also known as double parentheses.
[root@linux1 ~]# cat for_2.sh
#!/bin/bash ...
Posted by neclord81 on Tue, 27 Aug 2019 07:11:27 +0200
Package Management for Linux
The environment of this blog is arbitrary.
Subject Linux Package Management
A software management tool
1 Compile and Install 2 rpm Package Management 3yum Management
2. Software Running and Compiling
Binary interface for 1ABI applications
Binary interface for ABI:Applicati ...
Posted by dc519 on Mon, 01 Jul 2019 18:40:24 +0200
Linux Change File or Directory Permissions
chmod (change mode) change permissionsWhat do you think of permissions?[root@allinlinux-01 ~]# Total dosage of ls-l 8-rw-r--r--.1 root June 8 14:16 2.txt
-rw-------. 1 root root 7728 6 month 6 22:11 anaconda-ks.cfg.1- rw-r--r--. This paragraph, except for the first one, represents th ...
Posted by Mordred on Mon, 24 Jun 2019 01:51:56 +0200
Chapter 2: Principle and workflow analysis of rsync algorithm
In this paper, the principle of rsync algorithm and the workflow of rsync are analyzed in detail through examples. rsync Official Technical Report and Official Recommendation Articles Explanation.
Following is the rsync series:
1.rsync(1): Basic commands and usage
2.rsync(2): inotify+rsync and sersync
3.rsync algorithm principle and workflow an ...
Posted by crishna369 on Wed, 12 Jun 2019 00:07:32 +0200