随笔分类 -  Linux

摘要:官方地址:https://mirrors.tuna.tsinghua.edu.cn/help/centos/ 前提:连接外网 1、copy sudo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak 阅读全文
posted @ 2020-08-29 22:19 市丸银 阅读(2084) 评论(0) 推荐(0) 编辑
摘要:开启防火墙端口 netstat -ano |grep 50070 firewall-cmd --get-active-zones sudo firewall-cmd --zone=public --add-port=50070/tcp --permanent sudo firewall-cmd -- 阅读全文
posted @ 2020-08-23 18:50 市丸银 阅读(325) 评论(0) 推荐(0) 编辑
摘要:1、参考 https://www.cnblogs.com/gme5/p/11765151.htmlhttps://blog.csdn.net/qq_43475458/article/details/107123220https://blog.csdn.net/qq_41259576/article/ 阅读全文
posted @ 2020-08-04 22:16 市丸银 阅读(105) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/zuidongfeng/p/8032505.html 注意:先开启远程连接,在开启后台运行,即cp 到6379.config https://www.it1352.com/1530005.html 阅读全文
posted @ 2020-07-30 08:45 市丸银 阅读(70) 评论(0) 推荐(0) 编辑
摘要:安装 https://liqiang.io/post/install-snap-in-centos-cd98d073 启动 https://www.jianshu.com/p/42739a0182ff 安装本地包 https://blog.csdn.net/qq_25540095/article/d 阅读全文
posted @ 2020-07-03 11:08 市丸银 阅读(758) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/nahancy/article/details/86316971 阅读全文
posted @ 2020-07-03 10:34 市丸银 阅读(99) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/wanyefu/article/details/81026936 阅读全文
posted @ 2020-05-13 13:48 市丸银 阅读(96) 评论(0) 推荐(0) 编辑
摘要:一、安装Ubuntu18.04 省略 二、安装VmwareTool 1.选择机器右击安装2.打开文件,copy压缩文件到其它目录(理由: 内存不够解压)3.解压文件,运行./忘记名字了.pl文件4.注意安装的过程,不是所有的选项都选默认 三、Ubuntu解决复制粘贴的问题 目的:方便更换清华源 su 阅读全文
posted @ 2019-11-29 17:19 市丸银 阅读(1301) 评论(0) 推荐(0) 编辑
摘要:ubuntu 14.04: http://mirrors.aliyun.com/ubuntu-releases/14.04/ ubuntu 16.04: http://mirrors.aliyun.com/ubuntu-releases/16.04/ ubuntu 18.04: http://mir 阅读全文
posted @ 2019-11-22 19:57 市丸银 阅读(137) 评论(0) 推荐(0) 编辑
摘要:一、安装 # 1. 更新 sudo apt-get update # 2. 安装 sudo apt-get install -y mongodb # 3. 查看是否安装成功 # a. 服务状态 sudo systemctl status mongodb sudo service mongodb st 阅读全文
posted @ 2019-11-22 10:17 市丸银 阅读(545) 评论(0) 推荐(0) 编辑
摘要:一、安装 # 1.更新 sudo apt-get update # 2.安装 sduo apt-get install -y mysql-server mysql-client # 3.确保mysql服务开启 sudo service mysql start sudo service mysql s 阅读全文
posted @ 2019-11-21 16:00 市丸银 阅读(223) 评论(0) 推荐(0) 编辑
摘要:(1)安装tofrodos sudo apt-get install tofrodos (2)做一些优化 ln -s /usr/bin/todos /usr/bin/unix2dos ln -s /usr/bin/fromdos /usr/bin/dos2unix 第一种方法: cat -A filename 就可以看到Windows下的断元字符 ^M 要去除他,最简单用下面的命令: dos2un 阅读全文
posted @ 2019-10-10 11:50 市丸银 阅读(329) 评论(0) 推荐(0) 编辑
摘要:一、安装python 1、安装依赖包 1)、安装gcc 通过gcc --version 查看,若没有则安装gcc 2)、安装其他依赖包 2.下载源码 官网:www.python.org 3、解压 4、创建一个空文件夹用于放置python3的程序 5、执行配置文件、编译、编译安装 1)、执行配置文件( 阅读全文
posted @ 2019-09-24 14:16 市丸银 阅读(1178) 评论(0) 推荐(0) 编辑
摘要:一、简介 1.Redis是目前最常用的非关系型数据库(NOSql)之一,常以key-value的形式存储。 2.Redis的读写速度远远高于关系型数据库(Mysql、orcal),常用来用作热数据的缓存 二、在Windows上安装配置 1、下载: https://github.com/microso 阅读全文
posted @ 2019-09-20 14:04 市丸银 阅读(174) 评论(0) 推荐(0) 编辑
摘要:1、查看硬盘大小 2、查看内存大小 3、配置主键名称 4、挂载镜像 5、配置YUM软件仓库 6、配置网卡参数(三种方案) 7、加域 注意:重启生效 查看加域的状态 查看域与本地机器的时间差 8、忘记root密码 阅读全文
posted @ 2019-09-12 11:59 市丸银 阅读(571) 评论(0) 推荐(0) 编辑
摘要:去除注释和空行 grep -v "^#" httpd.conf | grep -v "^$" >> vsftpd.conf -v 表示取反 ^# 表示注解行 ,^$表示空行 连接工具xshell 或 MobeXterm(力推) 注意:ubuntu和suse不需要挂载镜像和配置yum仓库 在实体机上安 阅读全文
posted @ 2019-09-11 15:06 市丸银 阅读(231) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/pyyu/p/9276851.html 阅读全文
posted @ 2019-09-02 15:35 市丸银 阅读(89) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示