linux下python3.6.7安装yum -y install gcc yum -y install wget openssl openssl-develtar xvf Python-3.6.7.tgzcd Python-3.6.7/ ./configure --prefix=/usr/loca ...
分类:
编程语言 时间:
2021-06-03 18:13:34
阅读次数:
0
1、使用命令下载 curl -sS https://getcomposer.org/installer | php 2.下载之后设置环境变量 mv composer.phar /usr/local/bin/composer 3.修改权限,否则执行会出错 chmod -R 777 /usr/local ...
分类:
其他好文 时间:
2021-06-03 18:05:24
阅读次数:
0
一、连接数据库: dsn := "root:123456@tcp(127.0.0.1:3306)/more?charset=utf8mb4&parseTime=True&loc=Local" db, err := gorm.Open(mysql.Open(dsn), &gorm.Config{}) ...
分类:
数据库 时间:
2021-06-03 17:50:45
阅读次数:
0
#CentOS7的yum源中默认好像是没有mysql 1.1 下载mysql的repo源 cd /usr/local wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm 1.2 安装mysql-community-r ...
分类:
数据库 时间:
2021-06-03 17:43:34
阅读次数:
0
1.环境安装 yum -y install compat-libcap1 compat-libstdc++-33 ksh libaio-devel libstdc++-develrpm -ivh oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm ...
分类:
数据库 时间:
2021-06-02 20:49:42
阅读次数:
0
1.下载python3.6包 wget https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tar.xz 2.安装相关依赖 yum install gcc-c++ yum install pcre pcre-devel yum install z ...
分类:
编程语言 时间:
2021-06-02 20:23:58
阅读次数:
0
#ping whole local domainfor ip in {1..255};do ping -c 3 192.168.110.$ip >> ping.log;done grep '3 ttl' ping.log |awk '{print $4}' | sed 's\:\\g' |while ...
分类:
系统相关 时间:
2021-06-02 20:19:59
阅读次数:
0
1、先停用CentOS7自带的防火墙 //关闭防火墙 systemctl stop firewalld.service //永久关闭防火墙 systemctl disable firewalld.service 2、安装iptables yum install -y iptables-service ...
分类:
其他好文 时间:
2021-06-02 20:03:37
阅读次数:
0
启动nginx服务时如果遇到这个错误 Job for nginx.service failed because the control process exited with error code. See “systemctl stat 可能原因如下: 1.nginx配置文件有错误 运行下面命令查 ...
分类:
其他好文 时间:
2021-06-02 19:50:08
阅读次数:
0
spark连接mysql数据库 安装启动检查Mysql服务。netstat -tunlp (3306) spark 连接mysql驱动程序。 cd /usr/local/hive/lib ls mysql* cp mysql-connector-java-5.1.40-bin.jar /usr/lo ...
分类:
数据库 时间:
2021-06-02 19:08:19
阅读次数:
0