工作中的小笔记
活水774
这个作者很懒,什么都没留下…
展开
-
linux 服务器中文乱码问题
突然发现服务器中文乱码了,下面三步骤可解决1:vim /etc/profile2:在文件的最末尾加上代码export LANG="zh_CN.UTF-8"export LC_CTYPE="zh_CN.UTF-8"3:使文件生效source /etc/profile原创 2022-12-13 22:47:30 · 454 阅读 · 0 评论 -
Centos7克隆与克隆后ip、网络等问题--笔记
1、Centos7克隆步骤2、克隆后修改ip地址3、克隆的虚拟机联网问题原创 2022-04-21 12:31:54 · 3558 阅读 · 0 评论 -
java判断当前时间在时间区间内
public static void main(String[] args) throws ParseException { SimpleDateFormat ft = new SimpleDateFormat ("yyyy-MM-dd hh:mm:ss"); Date startTime = ft.parse("2021-08-05 10:00:00"); Date endTime = ft.parse("2030-08-05 10:00:00"); .原创 2021-08-12 13:37:36 · 900 阅读 · 0 评论