Linux
Linux
木卫二号Coding
悟饭,你也变强了
展开
-
CentOS6 安装golang
CentOS6 安装golang下载wget http://golangtc.com/static/go/1.8/go1.8.linux-amd64.tar.gz11解压tar -xzf go1.8.linux-amd64.tar.gz -C /usr/local11配置环境变量export PATH=$PATH:/usr/local/go/bin11检查Go版本g原创 2017-04-19 14:48:17 · 2172 阅读 · 0 评论 -
github.com/tealeg/xlsx 问题"multiple-value cell.String() in single-value context" 解决
github.com/tealeg/xlsx 读取xlsx时报错 multiple-value cell.String() in single-value context”解决办法for _, cell := range row.Cells { fmt.Printf("%s ", cell.String(), "123")}改为for _, cell := range row.Cell转载 2017-04-19 17:54:11 · 9172 阅读 · 1 评论 -
异常内容 /lib64/libc.so.6: version `GLIBC_2.18‘ not found
谨慎升级GLIBC,GLIBC为linux底层类库。原创 2023-03-22 23:35:02 · 174 阅读 · 0 评论 -
configure: error: no acceptable C compiler found in $PATH
异常内容解决方法进行安装gcc -v检查是否安装成功。原创 2023-03-22 23:33:52 · 47 阅读 · 0 评论 -
One of the configured repositories failed (Unknown),
One of the configured repositories failed (Unknown),and yum doesn’t have enough cached data to continue. At this point the onlysafe thing yum can do is fail. There are a few ways to work “fix” this:空间不够,或删除缓存yum clean all原创 2022-01-05 22:08:20 · 2455 阅读 · 0 评论 -
tsar安装
安装tsarwget -O tsar.zip https://github.com/alibaba/tsar/archive/master.zip --no-check-certificate unzip tsar.zip cd tsar-master/ make make install 执行tsar -l显示如下Time ---cpu-- ---mem-- --原创 2017-04-24 17:55:22 · 639 阅读 · 0 评论 -
centos7没有安装ifconfig命令的解决方法
yum install -y net-tools.x86_64转载 2017-04-11 09:14:15 · 6834 阅读 · 0 评论 -
CentOS7禁用防火墙相关命令
启动一个服务:systemctl start firewalld.service关闭一个服务:systemctl stop firewalld.service重启一个服务:systemctl restart firewalld.service显示一个服务的状态:systemctl status firewalld.service在开机时启用一个服务:转载 2017-04-11 09:12:16 · 542 阅读 · 0 评论 -
安装VMWare Workstation期间使用默认的HTTPS Port 443结果出现:This port is in use by another program
http://www.crifan.com/vmware_workstation_https_port_443_this_port_is_in_use_by_another_program/?utm_source=tuicool&utm_medium=referral转载 2015-12-31 12:34:29 · 1599 阅读 · 0 评论 -
Centos YUM安装httpd ,mysql , php
1) yum -y install httpd php mysql mysql-server php-mysql2) 为mysql设置密码:mysqladmin -u root password 'ENTER-PASSWORD-HERE'3) 使用mysqlmysql -u root -p 输入密码后,即可在终端中使用mysql服务。4) 设置开启启转载 2015-03-23 09:12:29 · 452 阅读 · 0 评论