随笔分类 -  Linux

摘要:apt install open-vm-tools 阅读全文
posted @ 2025-10-21 15:15 hack747 阅读(6) 评论(0) 推荐(0)
摘要:安装的的系统是ubuntu 23.0.4LTS版本,但是显示的界面非常的小,而且显示Built-in Display,无法更改屏幕分辨率。 参照几个博客修改,均无效,可能是环境不同,或许有些网友会有效,例如这个帖子:https://blog.csdn.net/u013617229/article/d 阅读全文
posted @ 2025-10-17 15:32 hack747 阅读(107) 评论(0) 推荐(0)
摘要:1、查看占用内存最多的十个进程 ps aux|head -1;ps aux|grep -v PID|sort -rn -k +4|head 2、查看占用 cpu 最多的十个进程 ps aux|head -1;ps aux|grep -v PID|sort -rn -k +3|head ——————— 阅读全文
posted @ 2023-10-04 19:57 hack747 阅读(311) 评论(0) 推荐(0)
摘要:首先 yum install gcc 安装完成后 gcc -o 指定文件名 文件(gcc -o hello hello.c) 另外 对pthread_create未定义的引用 pthread库不是Linux系统默认的库,连接时需要使用库libpthread.a,在编译中要加-lpthread(放在命 阅读全文
posted @ 2022-04-27 18:26 hack747 阅读(105) 评论(0) 推荐(0)
摘要:[root@server ~]# useradd chenjiafa //添加一个名为chenjiafa的用户 [root@server ~]# passwd chenjiafa //修改密码 Changing password for user chenjiafa. New UNIX passwo 阅读全文
posted @ 2022-04-24 09:19 hack747 阅读(817) 评论(0) 推荐(0)
摘要:今天下午想装点东西。。 突然发现所有的6 yum源都失效了 YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch combination/removing mi 阅读全文
posted @ 2021-05-10 18:51 hack747 阅读(121) 评论(0) 推荐(0)
摘要:一、软件安装方法1)APT方式a.普通安装:apt-get install softname1 softname2 …;b.修复安装:apt-get -f install softname1 softname2... ;(-f Atemp to correct broken dependencies 阅读全文
posted @ 2020-03-12 07:54 hack747 阅读(2603) 评论(0) 推荐(0)