Linux offline installation of cuda&cudnn and configuration of the machine and its environment packaging and migration

cuda installation cuda version adaptation Check the cuda version number supported by your computer [You can skip this step if you install the cuda toolkit on a supercomputing platform] CUDA toolkit Download official website download cuda toolkit Upload the downloaded .run executable file to the platform for offline installation $ cd /uploaded directory $ chmod […]

Offline compilation of OpenCL kernel source code

Offline Compilation of OpenCL Kernel Sources Offline compilation of OpenCL kernel source code Aside from online compilation during application execution, OpenCL kernel sources can be compiled offline into binaries that can be loaded into the drivers using special API calls (e.g. clCreateProgramWithBinary or clCreateProgramWithIL). In addition to online compilation during application execution, the OpenCL kernel […]

djiango ORM operation+COOKIE+SESSION+ORM offline script

Table of Contents 1.ORM 1.1 table structure 2.1 Connection database configuration 1. Connect to the default sqlite3 2. Connect to mysql 3. Connect to oracle 4. Connect to postgresql 5. Database connection pool 6. Connect multiple databases 3. 1 Database advancement (separation of reading and writing, sub-tables and sub-databases) 1. Separation of reading and writing […]

[MySQL5.7 Kirin system, offline installation under ARM architecture, building master-slave cluster]

MySQL5.7 Master-Slave Cluster Deployment Manual 1. Check the local operating system #Be sure to check the operating system of the machine, whether it is amd (x86) or arm (aarch) architecture uname -a cat /etc/os-release Note: MsSQL8.0 has only supported arm architecture since then. We can go to a third party to download the compiled installation […]

Deploying k8s in Linux 7 offline environment

Linux 7 offline environment deployment k8s Prepare the machine Install the pre-environment (executed on each machine) Basic environment Pass bridged IPv4 traffic to iptables docker environment Install k8s core kubectl kubeadm kubelet (executed on all machines) Initialize the master node (master node execution) init master node Initialize work node Prepare the machine Open three machines […]

Install MySQL offline on Centos

1. CentOS7.4 system comes with mariadb # View the Mariadb that comes with the system [root@iZ2ze3hm3gyjyjz628l7rgZ ~]# rpm -qa|grep mariadb mariadb-libs-5.5.44-2.el7.centos.x86_64 # Uninstall Mariadb that comes with the system [root@iZ2ze3hm3gyjyjz628l7rgZ ~]# rpm -e –nodeps mariadb-libs-5.5.44-2.el7.centos.x86_64 # Delete my.cnf in etc directory [root@iZ2ze3hm3gyjyjz628l7rgZ ~]# rm /etc/my.cnf 2. Check whether mysql exists # Check if mysql exists […]