![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
文章平均质量分 55
jinzhou742
理想主义者
展开
-
【Linux】Ubuntu设置自动登录图形界面和远程shell
Ubuntu允许root登录图形界面和远程shell原创 2022-08-01 14:06:22 · 1020 阅读 · 0 评论 -
Nginx + Tomcat 实现负载均衡
【Linux】Nginx + Tomcat 实现负载均衡原创 2022-05-27 03:01:19 · 388 阅读 · 0 评论 -
【Linux】Ubuntu20.04 mysql 操作集锦
查看 mysql 依赖项dpkg --list|grep mysql卸载 mysqlsudo apt-get remove mysql-commonsudo apt-get autoremove --purge mysql-server-5.7dpkg -l|grep ^rc|awk '{print$2}'|sudo xargs dpkg -Psudo apt-get autoremove --purge mysql-apt-config安装 mysqlsudo apt install原创 2022-04-06 12:44:31 · 890 阅读 · 0 评论 -
【Linux】十分钟使用Hexo搭建个人博客并部署到Github
Hexo部署个人博客原创 2022-03-21 00:17:42 · 1163 阅读 · 0 评论 -
【Linux】Ubuntu安装nodejs与npm
前前后后踩了很多坑,不建议直接用apt-get install来安装nodejs,很可能遇到版本不对、安装包不全还卸载不干净等问题,推荐在淘宝镜像上下载压缩文件并上传到Linux环境中解压安装的方式,这样自己也知道卸载的时候该删除哪个文件夹打开淘宝镜像站,找到自己需要的nodejs版本,下载压缩文件。网址:https://registry.npmmirror.com/binary.html?path=node/v17.6.0/例如,我服务器的环境是Ubuntu20.04,则选择压缩包 node-v原创 2022-03-07 19:42:56 · 1730 阅读 · 0 评论 -
【Linux】Ubuntu云服务器配置MySQL
Ubuntu云服务器MySQL配置原创 2022-02-28 22:58:30 · 740 阅读 · 0 评论 -
【Linux】undefined reference to `__umoddi3‘ & `__udivdi3‘ 错误解决方案
报错如下:通过参考博客:http://blog.chinaunix.net/uid-20717979-id-3351360.html 后发现是数据类型问题,但是作者提供的思路没有解决,于是去lib/printfmt.c文件中做类型强转换后运行成功修改前:printnum(putch, putdat, num / base, base, width - 1, padc);修改后:printnum(putch, putdat, (uint32_t)num / (uint32_t)base, bas原创 2021-11-22 23:14:12 · 640 阅读 · 0 评论 -
【操作系统】Linux下实现信号量机制的抽烟者模型
一共5个文件,各文件功能已注释清除,运行方法和主要问题赋于文末// ipc.h#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <unistd.h>#include <sys/ipc.h>#include <sys/shm.h>#include <sys/sem.h>#include <sys/msg.h>#原创 2021-11-11 23:57:24 · 522 阅读 · 2 评论