Pytorch installation and configuration in pycharm and jupyter-CPU detailed version

1. Create a virtual environment conda create -n virtual environment name python=3.6 It prompts me that I have already created this virtual environment, select y. After creation, the following screen is displayed Check again whether the creation is successful Enter the following command conda env list From the picture below, you can see that it […]

Linux environment Centos7 installation MySQL5.7 (rpm-bundle.tar)

Table of Contents 1.Download 2. Uninstall 3.Installation 4.Connect 1.Download Official website address: https://dev.mysql.com/downloads/mysql/5.7.html Download results cd /usr/local mkdir mysql rz Upload the downloaded mysql package to the new /usr/local/mysql in linux upload completed 2.Uninstall Clear pre-installed mariadb or mysql 1. Query the installed mariadb and mysql rpm -aq|grep -i mariadb;rpm -aq|grep -i mysql; 2. Uninstall […]

PostgreSQL 14.3 source code installation and debugging

Summary: Introducing PostgreSQL 14.3 source code installation, postgresql usage and vscode source code debugging. 1. Environment preparation 1.1 System parameter modification systemctl status firewalld.service #View fire protection status systemctl stop firewalld.service #Temporarily close the firewall systemctl disable firewalld.service #Permanently close the firewall setenforce 0 #Temporarily close selinux firewall, setenforce is the selinux firewall configuration command […]

laravel-swoole extension installation + php installation Swoole extension

Install swoole extension Two methods to install php extension swoole Check whether the Swoole PHP extension is enabled on the server php -i | grep swoole 1. Install using pecl command pecl install swoole 2. Manual compilation and installation Use the following command to download the swoole installation package git clone https://github.com/swoole/swoole-src.git Unzip the source […]

Installation and use of automated testing framework Playwright

Recently, Microsoft open sourced a very powerful automation project called playwright-python It supports mainstream browsers, including: Chrome, Firefox, Safari, Microsoft Edge, etc. It also supports running in headless mode and headless mode, and provides synchronous and asynchronous APIs, which can be used in conjunction with the Pytest testing framework, and supports browsing Automatic script recording […]

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 […]

FastDFS+Nginx installation configuration

FastDFS + Nginx installation configuration Directory Download and upload the installation package to the server project address: FastDFS installation 1. Install FastDFS dependent libraries 1. Compilation environment 2. Install libfastcommon and libserverframe libraries 2. Install FastDFS and configure it 3. Start (choose one of the following startup methods) File mode startup Configure systemd startup 1. […]

prometheus+grafana+multiple collector installation configurations

Prometheus + grafana + multiple indicator collectors In this case prometheus is installed on the host 128.5.80.182 1 Install prometheus main program 1.1 Installation #Unzip the installation package tar zxvf prometheus-2.44.0.linux-amd64.tar.gz #Move the folder to the specified location cd prometheus-2.44.0.linux-amd64 mv */home/ap/prometheus #Create startup command to environment variable ln -s /home/ap/prometheus/prometheus /usr/local/bin/prometheus ##Verify Prometheus installation […]

01-PostgreSQL installation and remote connection

1. Windows installation PostgreSQL ①:Download 1. Official website download Address: https://www.postgresql.org/download/ Choose the corresponding system Click to download Select the version to download (I downloaded version 14.X here) Download completed 2. Network disk download Link: https://pan.baidu.com/s/1u3ZcgWb6Woh_0n0ZV2PG9A?pwd=Coke Extraction code: Coke ②: Installation 1. You can first create two folders to store the installation directory and data […]