摘要: 在 Anaconda Prompt窗口输入命令: jupyter notebook --generate-config 找到jupyter_notebook_config.py文件,打开,搜索并设置 notebook_dir 作为新的工作目录,保存。 修改快捷方式的属性: 在目标 栏去掉选中的部分, 阅读全文
posted @ 2020-07-31 12:58 lightandtruth 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 静态ip:给虚拟机绑定一个固定的ip。 需要配置三个值:IPADDR(该虚拟机的IP地址——ipv4)、NETMASK(子网掩码)、GATEWAY(网关) IPADDR的值 根据VMware的网段——VMware的虚拟网络设置中的子网IP,第四个数字任意(>=0,且<255,并且异于vm网关、子网I 阅读全文
posted @ 2020-06-04 10:38 lightandtruth 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 如果数据库配置了自动存储管理(ASM),先删除聚集同步服务CSS(Cluster Synchronization Services),DOS命令:localconfig delete 关闭所有Oracle 服务 在安装目录下找到 deinstall.bat 双击,执行卸载,或在开始菜单进入卸载 删除 阅读全文
posted @ 2020-05-29 13:35 lightandtruth 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 参考文章:SpringBoot热部署 idea配置: Settings——>Build,Execution,Deployment——>Compiler——>(右边视图)Build project automatically(该项打勾) 快捷键:Ctrl + Shift + Alt + / ——>Re 阅读全文
posted @ 2020-04-22 09:28 lightandtruth 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 单机搭建: 安装 gcc yum install -y gcc-c++ 下载 redis-3.0.6.tar.gz,并解压: tar -zxvf redis.3.0.6.tar.gz 编译:进入解压目录,执行命令: make 安装redis:在解压目录下执行命令: make install PREF 阅读全文
posted @ 2020-04-19 13:16 lightandtruth 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 安装服务器: yum install vsftpd -y 添加ftp 用户 useradd ftpuser ftpuser 是用户名,这时home 文件夹中会有响应的目录 设置密码: passwd ftpuser 禁止ssh登录 vim /etc/passwd 修改文件: # 将 ftpuser:x 阅读全文
posted @ 2020-04-09 12:06 lightandtruth 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 将 tar -zxvf jdk.tar.gz 将解压后的文件夹移动到 /usr/local/java 目录下 vim /etc/profile 在末行添加: OK 阅读全文
posted @ 2020-03-30 17:45 lightandtruth 阅读(118) 评论(0) 推荐(0) 编辑
摘要: su: 登录root账号 安装依赖: yum -y install pcre pcre-devel yum -y install zlib zlib-devel yum -y install openssl openssl-devel 下载nginx 安装包:https://nginx.org/en 阅读全文
posted @ 2020-03-30 16:20 lightandtruth 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 启动并登录Linux系统,执行命令 ifconfig 获取IP地址 然后打开你的Xshell,新建连接, 名称任意起 主机:填写刚刚获取的ip 其他默认。 为了使xshell 不掉线,xshell新建连接时要设置:保持活动状态,时间间隔小于 60s(默认值), 该值可以在centos系统中设置,这样 阅读全文
posted @ 2020-03-30 16:13 lightandtruth 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 参考文章 import pymysql import pandas from IPython.core.display import display db = pymysql.connect( host='localhost', port=3306, user='root', password='r 阅读全文
posted @ 2020-03-19 12:53 lightandtruth 阅读(121) 评论(0) 推荐(0) 编辑