linux
有故事的驴
这个作者很懒,什么都没留下…
展开
-
Linux jar包使用nohup后台运行
Linux 运行jar包命令如下:方式一:java -jar shareniu.jar特点:当前ssh窗口被锁定,可按CTRL + C打断程序运行,或直接关闭窗口,程序退出那如何让窗口不锁定?方式二java -jar shareniu.jar &&代表在后台运行。特定:当前ssh窗口不被锁定,但是当窗口关闭时,程序中止运行。继续改进,如何让窗口关闭时...转载 2018-06-08 14:28:38 · 1539 阅读 · 0 评论 -
CentOS 7的安装
访问其官网,https://www.centos.org/,点击Get CentOS Now,点击alternative downloads,点击CentOS 7列表中的x86_64,点击http://mirrors.163.com/centos/7/isos/x86_64/,里边有几个不同的版本。其中这两个比较常用。其他的可以查看0_README.txt中查看各版本的区别。CentOS-7-...转载 2018-09-11 15:39:28 · 171 阅读 · 0 评论 -
CentOS7使用firewalld打开关闭防火墙与端口
1、firewalld的基本使用启动: systemctl start firewalld关闭: systemctl stop firewalld查看状态: systemctl status firewalld 开机禁用 : systemctl disable firewalld开机启用 : systemctl enable firewalld 2.systemct...转载 2018-09-11 15:43:44 · 157 阅读 · 0 评论 -
CentOS设置系统时间与网络时间同步
Linux的时间分为System Clock(系统时间)和Real Time Clock (硬件时间,简称RTC)。系统时间:指当前Linux Kernel中的时间。硬件时间:主板上有电池供电的时间。查看系统时间的命令: #date设置系统时间的命令: #date –set(月/日/年 时:分:秒)例:#date –set “10/11/10 10:15”查看硬件时间的命令...转载 2018-11-15 17:07:48 · 399 阅读 · 0 评论