configure centos7 libcurl library
[LeetCode] 2596. Check Knight Tour Configuration
There is a knight on an n x n chessboard. In a valid configuration, the knight starts at the top-left cell of the board and visits every cell on the b ......
Linux(CentOS7)学习笔记
目录Linux 笔记第零章 计算机概论第一章 Linux是什么与如何学习第二章 主机规划与磁盘分区2.1.Linux 与硬件的搭配2.2.磁盘分区第三章 安装CentOS7.x3.1.本练习机的规划——尤其是分区参数3.2.开始安装 CentOS7第四章 首次登录与线上求助4.1.首次登陆系统4.2 ......
WSL 炼丹报错:Could not load library libcudnn_cnn_infer.so.8. Error: libcuda.so: cannot open shared object file: No such file or directory
确认驱动没问题(nvidia-smi 可以正常使用) 解决办法参照:https://github.com/pytorch/pytorch/issues/85773#issuecomment-1288033297 内容如下: ......
CentOS7使用代码安装noVNC-2022-04-14测试成功
下载项目 1.下载noVNC源码 git clone https://github.com/novnc/noVNC 2.Websockify,进入至官网https://github.com/novnc/websockify,然后在Release中下载最新版本即可 Python3.8 CentOS需要 ......
Centos7修改profile文件后导致系统命令不能识别
Centos7修改profile文件后导致命令 command not find, 艹 艹 怎么解 [root@localhost ~]#export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin 临时可用后,修改错误的/etc/profile ......
CentOS7安装Tomcat9并设置开机启动
1.配置 tomcat 开机启动 创建 服务名xxxxxx.service文件,编辑之后保存即可 cd /usr/lib/systemd/system vi xxxxxx.service 插入以下内容 [Unit] Description=Tomcat After=syslog.target net ......
Centos7 安装Redis详细教程
本文主要介绍如果在Centos7下安装Redis。 1.安装依赖 redis是由C语言开发,因此安装之前必须要确保服务器已经安装了gcc,可以通过如下命令查看机器是否安装: gcc -v 如果没有安装则通过以下命令安装: yum install -y gcc 2.下载redis安装包并解压 # 下载 ......
curl: (1) Protocol "https" not supported or disabled in libcurl
可以在命令行执行 curl --version 会发现这边有他的相关协议信息 会发现缺少了 https 这个时候 我们 安装下openssl 和 curl openssl 安装 wget https://www.openssl.org/source/openssl-3.0.1.tar.gz tar ......
Centos7升级python3.9
# Centos7升级python3.9 1.系统升级 ```undefined yum update -y yum -y groupinstall "Development tools" yum install openssl-devel bzip2-devel expat-devel gdbm- ......
centos7 防火墙操作命令
centos7 防火墙操作命令 systemctl start firewalld #启动 systemctl stop firewalld #停止 systemctl status firewalld #查看状态 firewall-cmd --list-ports #查看防火墙开放的端口列表 fi ......
centOS7安装k8s
最新centos7 部署 k8s v1.26,简单易懂,跟着命令敲就完事 其实没什么好说的,搭环境搞了一整天,人已经麻了,踩了很多坑,网上教程的版本大都比较旧,总是和最新版本各种地方不兼容,把坑踩完了,k8s目前最新的版本是v1.26,跟着命令敲就行了,我已经重复部署了很多次了,坑已经排完了.... ......
SpringBoot项目启动报错:An incompatible version [1.1.22] of the Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]
问题解释: “安装了不兼容的Apache Tomcat原生库版本[1.1.22],而Tomcat需要版本[1.2.14]” 解决方法: ① 打开网页 http://archive.apache.org/dist/tomcat/tomcat-connectors/native/ ② ③ ④ ⑤ 复制到 ......
VMware中的CentOS7虚拟机固定ip地址
1.虚拟机网络连接模式采用NAT模式 2.开机后修改ifcfg-ens33文件 cd /etc/sysconfig/network-scripts # 有的机器不叫ens33,数字可能不同 vim ifcfg-ens33 需要修改BOOTPROTO的值为static,并且添加IPADDR,GATEW ......
hugepages_settings.sh-Shell Script to Calculate Values Recommended Linux HugePages-HugeTLB Configuration_DocID401749.1
Oracle Linux-Shell Script to Calculate Values Recommended Linux HugePages-HugeTLB Configuration_DocID401749.1 ######################################## ......
安装CentOS7 解决错误信息:Warning: /deu/root does not exist Generating
在给一台老旧的 Dell R710安装CentOS7 时发现的一个错误 "Warning: /deu/root does not exist Generating" 看了好多的解决办法.总结来说出现此错误可以理解为 未找到安装系统盘的位置 未能找到引导 我所导致出现这个错误的原因比较奇葩 跟在网上查 ......
Screen fragments should never be restored. Follow instructions from https://github.com/software-mansion/react-native-screens/issues/17#issuecomment-424704067 to properly configure your main activity.
Screen fragments should never be restored. Follow instructions from https://github.com/software-mansion/react-native-screens/issues/17#issuecomment-42... ......
linux(centos7)安装防火墙firewalld及开放端口相关命令
安装firewalld 防火墙命令: yum install firewalld 安装完成,查看防火墙状态为 not running,即未运行,输入命令开启: 添加开放端口: 防火墙相关命令: 查看防火墙状态 systemctl status firewalld.service 打开防火墙 syst ......
vm - centos7 - 解决centos-home 比 centos-root 磁盘多的问题,将home的磁盘划分到root
` 此刻的磁盘信息如下 [root@localhost /]# df -h 文件系统 容量 已用 可用 已用% 挂载点 devtmpfs 475M 0 475M 0% /dev tmpfs 487M 0 487M 0% /dev/shm tmpfs 487M 7.7M 479M 2% /run tm ......
centos7.8 升级stream填坑
一、升级CentOS 7到CentOS 8 说明 从CentOS FAQ来看RHEL7升级RHEL8使用了工具leapp,但是这个工具没有移植到CentOS。 CentOS论坛有 Upgrade process from CentOS7 讨论,使用的工具 leapp 据测试还存在问题。 Red Ha ......
修改centos7时区
date 查看时间 timedatectl 查看时区 timedate list-timezones 查看系统时区 timedate set-timezones Asia/shanghai 设置系统时区 timedatectl set-timezone Asia/Hong_Kong https:// ......
install mysqlcppconn library and retrieve from mysql database table
sudo apt install libmysqlcppconn-dev #include <algorithm> #include <atomic> #include <barrier> #include <bitset> #include <chrono> #include <ctime> #i ......
centos7 安装opencc问题
make一直出错 CMakeLists.txt文件修改 c++=11 ==>https://github.com/BYVoid/OpenCC/commit/8cfee2627146d1912655fb70b413ae27b1b5c026修改部分如下把14改成11 -std=c++14 ==> -st ......
如何找到 Spartacus 动态加载 library 的准确实现地址
Spartacus 里 SmartEditFeatureModule 这段实现代码: import { NgModule } from '@angular/core'; import { CmsConfig, provideConfig } from '@spartacus/core'; impor ......
1-centOS7搭建伪分布式Hadoop
前言:虚拟机快照的使用 VMware Workstation 软件可以用快照进行迅速的虚拟机状态的切换 ※. 类似于虚拟机备份, 可以使用备份进行快速恢复。 比如没安装jdk之前拍摄快照来备份 ※. 若jdk没安装好或者jdk环境变量配置的有问题, 可以用安装之前的快照快速恢复虚拟机 1.拍摄快照: ......
Ubuntu通过终端命令下载时提示“dpkg --configure -a......"
如果之前在下载东西时,中途取消或中断可能会出现这种情况。 结果 解决办法: 在终端输入 sudo dpkg --configure -a ......
CentOS7.5报java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory错误
## 1.问题描述: CentOS版本:CentOS-7.5-x86_64-DVD-1804 jdk版本:jdk-8u161-linux-x64.tar 配置jdk时,执行java报错 java: error while loading shared libraries: libjli.so: ca ......
安装CentOS7虚拟机
1、前期工作 下载CentOS7镜像:CentOS-7-x86_64-DVD-2009.iso 安装虚拟机工具:VirtualBox 2、新建虚拟机 2.1、设置新建虚拟机的名称、安装路径、类型及版本 注意:CentOS Linux 的发行版本是通过编译 Red Hat, Inc 公开提供的 Red ......
Navicat连接oracle时,提示oracle library is not loaded
一、背景 本机配置:win7 64位 本机同时安装了oracle服务器端和客户端 服务器端:11gR2; 客户端:oracle10g32位(由于项目需要,必须安装此客户端) 二、报错描述 先安装的11gR2,用Navicat连接正常,后面再安装10g32位的客户端后,连接报错:oracle libr ......
CentOS7搭建LAMP详细教程
### 一、安装Apache 1.执行安装命令Apache及其扩展包 ``` yum install -y httpd httpd-manual mod_SSL mod_perl mod_auth_mysql ``` 如果显示如下图所示,则安装成功  完整的内核版本dracut -f /boot/initramfs-5.3.6-1.el7.elrepo.x86_64. ......