ubuntu18.04 lower CUDA Three ways of using Cu in c/c + +

operating system ubuntu 18.04 premise I want to be here c file using cuda's function, that is Content of cu Installing nvcc is not the content here, but make sure that nvcc can be used, which is to ensure that it can be compiled On the premise of cu, view the version of nvcc, and the command is as follows nvcc --version The output is ...

Added by lhcpr on Tue, 21 Dec 2021 15:43:03 +0200

Troubleshooting of CPU and IO idle but high load problems

background For an online server, the monitoring alarm shows that the server load is high, reaching more than 100. Log in to the machine and use the top command to view. The CPU and IO utilization are low. At the same time, it is found that there are many ps and pidof processes in the system, and their process status is D. using the kill co ...

Added by SsirhC on Tue, 21 Dec 2021 12:11:56 +0200

System security reinforcement 4 - enter the wrong password for 5 times and lock the account for 900 seconds

   this chapter is set to enter the wrong password 5 times and lock it for 15 minutes when logging in or connecting to the system remotely through ssh. This configuration can be well used to prevent the system password from being brutally cracked. 1. Environment operating system Server 8.3 (derived from CentOS 8.3) 2. Modify the co ...

Added by Ne.OnZ on Tue, 21 Dec 2021 08:10:38 +0200

Linux system security settings

catalogue 1, Account security 1. System account cleaning Set the Shell of the non logged in user to / sbin/nologin Lock accounts that have not been used for a long time Delete useless or long-term unused accounts Lock account files passwd and shadow 2. Password security Password validity Require the user to change the password at the ...

Added by Mgccl on Tue, 21 Dec 2021 06:38:31 +0200

Using Packer to build Redhat/CentOS virtual machine on VMware vSphere

In this article, we will step by step introduce how to use ISO to build Redhat Enterprise Linux 7/CentOS 7 VM in VMware vSphere environment. Packer It is very useful for building basic images in the cloud and locally. Packer is an open source tool developed by HashiCorp development. HashiCorp has well-known tools such as Vagrant, Consul and Ter ...

Added by taurus5_6 on Tue, 21 Dec 2021 02:13:41 +0200

Docker - Install Compose, Mirror Warehouse

Server environment: CentOS7; Installation of Docker (CE) I. Preparations 1.1 Common Commands commandexplainuname -rView the current system kernel versiondocker -vView Docker Versionsystemctl start dockerStart Docker Servicesystemctl stop dockerStop Docker Servicesystemctl restart dockerRestart Docker Service`` 1.2 Uninstall Docker ( ...

Added by mortal991 on Tue, 21 Dec 2021 01:49:15 +0200

15, Linux thread synchronization

15, Linux thread synchronization 1, Thread synchronization concept Thread synchronization is co synchronization, and each thread runs in a predetermined order Thread synchronization means that when a thread makes a function call, the call will not return until the result is obtained. At the same time, other threads cannot call this fun ...

Added by dlf on Mon, 20 Dec 2021 19:59:19 +0200

ELK log analysis (latest version)

1, ELK overview 1. ELK introduction ELK platform is a complete set of centralized log processing solution, which combines ElasticSearch, Logstash and Kiabana to meet more powerful user requirements for log query, sorting and statistics. 2. ELK composition (1)ElasticSearch • it is a distributed storage retrieval engine based on Luc ...

Added by rickead2000 on Mon, 20 Dec 2021 19:10:15 +0200

k8s cluster deployment

k8s cluster deployment kubeadm is a tool launched by the official community for rapid deployment of kubernetes clusters. This tool can deploy a kubernetes cluster through two instructions: # Create a Master node $ kubeadm init # Add a Node to the current cluster $ kubeadm join <Master Nodal IP And ports> Official website: Kubern ...

Added by justineaguas on Mon, 20 Dec 2021 15:35:35 +0200

Linux Installation Software record

1. jdk1.8 Steps: Check whether java has been installed on the current Linux system Enter rpm -qa | grep java Uninstall two openjdks Enter rpm -e --nodeps software to uninstall Upload jdk to linuxUnzip JDK to tar – xvf jdk-7u71-linux-i586.0 under / usr / local tar. gz –C /usr/localConfigure the jdk environment variabl ...

Added by flhtc on Mon, 20 Dec 2021 11:09:53 +0200