摘要: 很多人用ubuntu虚拟机virtualbox会非常卡, 解决方法: 1. 首先安装编译内核所用的软件包 sudo apt-get update && sudo apt-get upgrade //升级版本 可以不做 sudo apt-get dist-upgrade sudo apt-get in 阅读全文
posted @ 2019-06-20 23:20 石门 阅读(5744) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get purge ......(点点为为程序名称), purge参数为彻底删除文件, 然后sudo apt-get autoremove, sudo apt-get clean 和 dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dp 阅读全文
posted @ 2019-06-12 19:27 石门 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Linux下环境变量设置的三种方法: 如想将一个路径加入到$PATH中,可以像下面这样做: 只对当前的shell 起作用的环境变量 1、控制台中设置,不赞成这种方式,因为他只对当前的shell 起作用,换一个shell设置就无效了: 直接控制台中输入 : $PATH="$PATH":/NEW_PAT 阅读全文
posted @ 2019-06-10 13:25 石门 阅读(611) 评论(0) 推荐(0) 编辑
摘要: 1.安装必备的相关包 //安装增强文件报错 1 Please install the Linux kernel "header" files matching the current kernel //构建Linux内核头文件 2 sudo pacman -S linux-headers, //再次 阅读全文
posted @ 2019-06-02 19:36 石门 阅读(1151) 评论(0) 推荐(0) 编辑
摘要: Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87) (VERR_NEM_VM_CREATE_FAILED).Result Code: E_FAIL (0x80004005)Component: ConsoleWra 阅读全文
posted @ 2019-06-01 12:53 石门 阅读(13219) 评论(0) 推荐(0) 编辑
摘要: 首先安装语言包 在system设置中找到更新语言,并把Chinese(simplified)点上,然后安装。 第二步,安装IBus框架 在终端输入以下命令:sudo apt-get install ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4启动IBus 阅读全文
posted @ 2019-05-31 12:20 石门 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 一、下载protobuf 方法一: > git clone https://github.com/protocolbuffers/protobuf.git 方法二: > 或者将准备好的压缩包进行拖入 解压 Unzip protobuf1.zip 二、安装(Linux Ubuntu)(1)安装依赖工具 阅读全文
posted @ 2019-05-30 14:24 石门 阅读(1157) 评论(0) 推荐(0) 编辑
摘要: Arch linux衍生版安装配置(Manjaro,Antergos,Apricity.etc) 当前位置: Home » Linux/Mac » Arch linux衍生版安装配置(Manjaro,Antergos,Apricity.etc) 常用的命令: pacman -Syu –ignore  阅读全文
posted @ 2019-05-08 21:45 石门 阅读(3544) 评论(0) 推荐(0) 编辑
摘要: 0安装 Redis sudo pacman -S redis 1配置 Redis的配置信息在/etc/redis/redis.conf下。 查看 sudo vi /etc/redis/redis.conf 核心配置选项 绑定ip:如果需要远程访问,可将此⾏注释,或绑定⼀个真实ip bind 127. 阅读全文
posted @ 2019-05-08 19:12 石门 阅读(611) 评论(0) 推荐(0) 编辑
摘要: Go语言操作MySQL数据库 go get -u -v github.com/go-sql-driver/mysql 2 配置环境 //创建目录,将作为GOPATH,为以后的代码工作目录mkdir -p ~/goPro/binmkdir -p ~/goPro/src //安装golang$ sudo 阅读全文
posted @ 2019-05-08 19:01 石门 阅读(1192) 评论(0) 推荐(0) 编辑