随笔分类 -  Linux技术

1 2 3 4 5 ··· 10 下一页

怎么把linux上的UTC时间改成CST时间
摘要:https://it.cha138.com/ios/show-2111524.html [root@localhost ~]# dateFri Apr 14 23:26:05 EDT 2006 //EDT (美国)东区时区[root@localhost ~]# date -s 2011/9/30Fr 阅读全文

posted @ 2023-05-26 15:25 四海骄阳 阅读(277) 评论(0) 推荐(0) 编辑

在线Cron表达式生成/Linux Cron
摘要:https://cron.qqe2.com/ https://www.runoob.com/linux/linux-comm-crontab.html 0 22 * * 6 阅读全文

posted @ 2023-04-19 11:13 四海骄阳 阅读(208) 评论(0) 推荐(0) 编辑

vi 查找关键字
摘要:https://blog.csdn.net/weixin_40959890/article/details/128004090 vi打开一个文件后 命令模式下敲斜杆( / ),这时在状态栏(也就是屏幕左下脚)就出现了 “/” 然后输入你要查找的关键字敲回车就可以了。 如果你要继续查找此关键字,敲字符 阅读全文

posted @ 2023-04-19 08:46 四海骄阳 阅读(79) 评论(0) 推荐(0) 编辑

Linux将MySQL数据库目录挂载至新数据盘
摘要:https://www.bbsmax.com/A/QW5YRE1Mdm/ 具体操作 Mysql如何挂盘? 使用linux下的软连接方法,具体操作如下:(以迁移到/home/mysql/目录为例) 先停止mysql: /etc/init.d/mysqld stop 移动数据: mv /var/lib/ 阅读全文

posted @ 2023-04-13 09:55 四海骄阳 阅读(51) 评论(0) 推荐(0) 编辑

Linux磁盘的相关知识
摘要:https://www.jianshu.com/p/c254c972788a https://blog.csdn.net/weixin_33904522/article/details/116692690 Linux磁盘分区 一块没有分区的磁盘 --> 主分区 + 扩展分区 --> 主分区(c)+ 阅读全文

posted @ 2023-04-13 09:38 四海骄阳 阅读(46) 评论(0) 推荐(0) 编辑

Linux配置/etc/resolv.conf
摘要:[root@localhost logs]# cat /etc/resolv.conf# Generated by NetworkManagernameserver 119.29.29.29 腾讯域名解析服务器nameserver 8.8.8.8 阅读全文

posted @ 2023-04-04 09:10 四海骄阳 阅读(146) 评论(0) 推荐(0) 编辑

linux挂载硬盘步骤(简单易用,直接上手,无废话)-好
摘要:https://blog.csdn.net/bill_wjn/article/details/106013425?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EC 阅读全文

posted @ 2023-03-31 09:29 四海骄阳 阅读(758) 评论(2) 推荐(1) 编辑

选择mirrorlist 与 baseurl之间的区别
摘要:发现还有一个问题,CentOS-Base.repo 下的mirrorlist 与baseurl mirrorlist指向的就是一堆baseurl(Specifies a URL to a file containing a list of baseurls. baseUrl必须指向 yum服务器上的 阅读全文

posted @ 2023-02-10 10:40 四海骄阳 阅读(104) 评论(0) 推荐(0) 编辑

Centos7防火墙常用命令
摘要:https://blog.csdn.net/xyy1028/article/details/104787061 一.系统防火墙1.启动防火墙systemctl start firewalld2.关闭防火墙systemctl stop firewalld3.查看状态systemctl status f 阅读全文

posted @ 2023-01-12 11:14 四海骄阳 阅读(44) 评论(0) 推荐(0) 编辑

linux 关闭防火墙firewall,centos中关闭防火墙(firewall)及SELinux
摘要:https://blog.csdn.net/weixin_30983965/article/details/116864967 centos在不断的版本更新迭代过程中,在centos7中默认使用的是firewall作为防火墙。 centos7关闭firewall 查看运行状态:firewall-cm 阅读全文

posted @ 2023-01-12 10:59 四海骄阳 阅读(91) 评论(0) 推荐(0) 编辑

中间件操作命令
摘要:http://t.zoukankan.com/forest-sunshine-p-14357115.html 一、重启activemq服务 1.查看服务:ps -ef | grep activemq 2.查看服务目录:ll /proc/28317 3.进入服务目录 停止服务:./activemq s 阅读全文

posted @ 2023-01-12 09:37 四海骄阳 阅读(583) 评论(0) 推荐(0) 编辑

cat 正常 vi乱码
摘要:https://zhidao.baidu.com/question/1455557851155814180.html cat查看数据文件,中文显示正常vi编辑文件,中文显示乱码出现此问题,有可能是vim 编辑器的配置编码方面的问题。出现此情况,在vim 编辑器中输入:e ++enc=utf8:e + 阅读全文

posted @ 2023-01-06 09:03 四海骄阳 阅读(549) 评论(0) 推荐(0) 编辑

简单点,linux三种网络模式
摘要:https://blog.csdn.net/qq_45714272/article/details/105330790 一:简单介绍linux系统有三种网络模式分别是桥接模式、NAT模式、仅主机模式,名称分别为vmnet0、vmnet1、vmnet8。在windows系统中又有VMware Netw 阅读全文

posted @ 2022-01-28 15:11 四海骄阳 阅读(768) 评论(0) 推荐(0) 编辑

linux查找目录下的所有文件中是否含有某个字符串
摘要:https://www.cnblogs.com/keystone/articles/10653163.html 方法一: grep -rn "要查找的字符串" * -r 是递归查找 -n 是显示行号 * : 表示当前目录所有文件,也可以是某个文件名 方法二: find .|xargs grep “要 阅读全文

posted @ 2021-12-28 11:12 四海骄阳 阅读(1302) 评论(0) 推荐(0) 编辑

Linux配置/etc/resolv.conf详解
摘要:https://www.cnblogs.com/yuhaohao/p/13889240.html /etc/resolv.conf ; Created by cloud-init on instance boot automatically, do not edit.; options timeou 阅读全文

posted @ 2021-11-16 14:11 四海骄阳 阅读(1620) 评论(0) 推荐(0) 编辑

linux防火墙配置
摘要:1、Centos6: iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT iptables -A INPUT -s 192.168.200.178 -p all -j ACCEPT iptables -A INPUT -s 192.168.200 阅读全文

posted @ 2021-08-19 08:54 四海骄阳 阅读(423) 评论(0) 推荐(0) 编辑

Linux运维之防火墙之firewalld的管理
摘要:https://blog.csdn.net/qq_42303254/article/details/84981388 一、防火墙的介绍防火墙是整个数据包进入主机前的第一道关卡。防火墙主要通过Netfilter与TCPwrappers两个机制来管理的。 (1)Netfilter:数据包过滤机制(2)T 阅读全文

posted @ 2021-08-19 06:39 四海骄阳 阅读(576) 评论(0) 推荐(0) 编辑

1 2 3 4 5 ··· 10 下一页

导航