一.检查是否安装了本地任务 Crontab systemctl status crond 二.如果没有就安装呀 yum install -y vixie-cron yum install -y crontabs 然后启动: systemctl start crond.service 三.cronta ...
分类:
系统相关 时间:
2020-07-03 21:00:09
阅读次数:
71
电脑上安装了SQLServer,停止SQL Server Reporting Services (MSSQLSERVER)服务,然后设置为禁用了 ...
分类:
系统相关 时间:
2020-07-03 19:27:14
阅读次数:
55
起因 安装nodejs / npm 软连接的添加和删除 nodejs npm 软链接 建立软连接: ln -s /usr/nodejs/bin/npm /usr/local/bin/ ln -s /usr/nodejs/bin/node /usr/local/bin/ 删除软连接: rm -rf / ...
分类:
系统相关 时间:
2020-07-03 19:23:18
阅读次数:
98
软件著作权申报时,使用Linux系统find命令如何统计项目行数 案例:我们查询当前目录下的php,js,css,html文件的代码行数,并忽略./App/Runtime 和 ./Uploads 目录下的文件find ./ "(" -path "./App/Runtime" -o -path "./ ...
分类:
系统相关 时间:
2020-07-03 19:19:37
阅读次数:
71
1.文件内容查询 1.1.Tail 命令 tail [参数] [文件] 参数: -f 循环读取 -q 不显示处理信息 -v 显示详细的处理信息 -c<数目> 显示的字节数 -n<行数> 显示文件的尾部 n 行内容 --pid=PID 与-f合用,表示在进程ID,PID死掉之后结束 -q, --qui ...
分类:
系统相关 时间:
2020-07-03 19:18:44
阅读次数:
130
在当前命令窗口下输入命令: ls / 你会看到如下图所示: 树状目录结构: 以下是对这些目录的解释: /bin:bin是Binary的缩写, 这个目录存放着最经常使用的命令。 /boot:这里存放的是启动Linux时使用的一些核心文件,包括一些连接文件以及镜像文件。 /dev :dev是Device ...
分类:
系统相关 时间:
2020-07-03 19:15:49
阅读次数:
60
请您根据本课程所学内容总结梳理出一个精简的Linux系统概念模型,最大程度统摄整顿本课程及相关的知识信息,模型应该是逻辑上可以运转的、自洽的,并举例某一两个具体例子(比如读写文件、分配内存、使用I/O驱动某个硬件等)纳入模型中验证模型。谈谈您对课程的心得体会,改进建议等。 1.冯·诺依曼计算机体系中 ...
分类:
系统相关 时间:
2020-07-03 19:15:00
阅读次数:
74
https://www.cnblogs.com/echo-valley/p/8268527.html ls -lt /dirname/ |grep filname | head -n 1 | awk '{print $9}' ls -lt /dirname/ 获取文件并按时间先后排序 grep fi ...
分类:
系统相关 时间:
2020-07-03 19:08:29
阅读次数:
66
PTA 自测-5 Shuffling Machine 题目描述 Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as ...
分类:
系统相关 时间:
2020-07-03 17:48:11
阅读次数:
67
内容辅助键: A:main方法 main,然后alt+/,回车 B:输出语句 syso,然后alt+/,回车 快捷键: A:注释 单行:选中内容,ctrl+/,取消注释,重复执行 多行:选中内容,ctrl+shift+/,取消注释,ctrl+shift+\ B:格式化 ctrl+shift+F 右键 ...
分类:
系统相关 时间:
2020-07-03 17:47:24
阅读次数:
76
虚拟机中安装银河麒麟后,默认为最大分辨率,再次调节分辨率后无法进行保存,所以只能使用终端进行命令操作 1、使用 CTRL+ALT+T 快速打开终端命令行 2.输入 xrandr 命令,查询分辨率支持的列表 3、根据自己所使用的分辨率,进行输入 命令为: xrandr -s 分辨率_刷新频率 eg:x ...
分类:
系统相关 时间:
2020-07-03 17:28:50
阅读次数:
353
1.先更新安装源(新服务器需要非必须) sudo apt-get update 2.安装redis sudo apt-get install redis-server 3.修改配置文件 sudo vim /etc/redis/redis.conf redis默认只能本机访问,需要修改一些配置 注释掉 ...
分类:
系统相关 时间:
2020-07-03 17:05:04
阅读次数:
62
We all, whether we know it or not, are fighting to make the kind of a world that we should like.不管意识到与否,我们都在为创造一个我们喜欢的世界而奋斗。 IDEA导入eclipse项目 弃用eclipse ...
分类:
系统相关 时间:
2020-07-03 15:46:11
阅读次数:
107
一、查看哪些端口被打开 netstat -anp二、关闭端口号:iptables -A INPUT -p tcp --drop 端口号-j DROP iptables -A OUTPUT -p tcp --dport 端口号-j DROP三、打开端口号:iptables -A INPUT -ptcp ...
分类:
系统相关 时间:
2020-07-03 15:44:33
阅读次数:
84
eclipse安装主题插件(Color Theme) 点击“Help”--> Install New Software Name:ColorThemeLocation:http://eclipse-color-theme.github.io/update Window -> Perferences ...
分类:
系统相关 时间:
2020-07-03 15:35:53
阅读次数:
112
常规篇: 首先,用ps查看进程,方法如下: $ ps -ef ……smx 1822 1 0 11:38 ? 00:00:49 gnome-terminalsmx 1823 1822 0 11:38 ? 00:00:00 gnome-pty-helpersmx 1824 1822 0 11:38 pt ...
分类:
系统相关 时间:
2020-07-03 15:26:54
阅读次数:
72
直接使用命令: conda install easydict 安装失败。 查找可用安装包: anaconda search -t conda easydict 查找结果: wmz@ubuntu:~/anaconda3/bin$ anaconda search -t conda easydict Us ...
分类:
系统相关 时间:
2020-07-03 15:18:45
阅读次数:
172