
Linux
Linux
木卫二号Coding
悟饭,你也变强了
展开
-
Ubuntu-配置apt国内源
Ubuntu-配置apt国内源。原创 2025-03-12 17:48:44 · 357 阅读 · 0 评论 -
CentOS7+Python+Flask+Https服务
确认Openssl存在req 是 OpenSSL 工具的一个子命令,用于处理证书签名请求。-newkey rsa:2048 选项表示要创建一个新的 RSA 密钥,并将其长度设置为 2048 位。这个密钥将用于后续的证书请求和签名操作。-nodes 选项表示不要对私钥进行加密,即使私钥被泄露也不会对其进行保护。这在测试和开发过程中很有用,但在生产环境中不建议使用。-keyout example.key 选项指定了生成的私钥文件的路径和名称。原创 2024-08-22 22:35:32 · 460 阅读 · 0 评论 -
CentOS7-离线安装Code-Server,WEB界面
【代码】CentOS7-离线安装Code-Server。原创 2024-07-26 23:06:10 · 493 阅读 · 0 评论 -
宝塔安装完成,但访问https宝塔面板404,可以试试如下操作
使用http登录成功,后面再看是什么原因。选 14 查看登录信息,和密码。选 26 关闭面板ssl。原创 2024-07-22 23:34:07 · 1830 阅读 · 0 评论 -
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 · 2225 阅读 · 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 · 9242 阅读 · 1 评论 -
异常内容 /lib64/libc.so.6: version `GLIBC_2.18‘ not found
谨慎升级GLIBC,GLIBC为linux底层类库。原创 2023-03-22 23:35:02 · 295 阅读 · 0 评论 -
configure: error: no acceptable C compiler found in $PATH
异常内容解决方法进行安装gcc -v检查是否安装成功。原创 2023-03-22 23:33:52 · 163 阅读 · 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 · 2652 阅读 · 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 · 697 阅读 · 0 评论 -
centos7没有安装ifconfig命令的解决方法
yum install -y net-tools.x86_64转载 2017-04-11 09:14:15 · 6866 阅读 · 0 评论 -
CentOS7禁用防火墙相关命令
启动一个服务:systemctl start firewalld.service关闭一个服务:systemctl stop firewalld.service重启一个服务:systemctl restart firewalld.service显示一个服务的状态:systemctl status firewalld.service在开机时启用一个服务:转载 2017-04-11 09:12:16 · 580 阅读 · 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 · 1672 阅读 · 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 · 490 阅读 · 0 评论