随笔分类 - Linux[使用]
摘要:参考 https://blog.csdn.net/w3045872817/article/details/77334886 前言 在Debian上安装mysql的时候Debin安装Mysql,第一次出现了问题,需要卸载重新安装,卸载的时候又出现了新的问题,这里记录下来,以备以后使用。 步骤 先运行s
阅读全文
摘要:参考 https://portal.databasemart.com/kb/a457/how-to-install-desktop-environment-and-xrdp-service-in-debian-9.aspx 1. 确保已经安装桌面系统 如果没有安装,运行下面安装,安装完重启。 tas
阅读全文
摘要:1. Debian无法apt install debian安装完成后,如果运行apt install,提示 Media change: please insert the disc labeled 'Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 C
阅读全文
摘要:centos查看cpu信息 cat /proc/cpuinfo processor有几个就是有几个cpu,每一列是每个cpu的信息 每个processor中的cores是当前cpu中有几个核心。 centos 7忘记密码 重启服务器,然后按esc 选中第一个按e 选择到linuxefi或是linux
阅读全文
摘要:centos上面的gcc是4.x的,因为我们使用了c++17,所以想升级成最新的gcc 1. 下载源码 https://gcc.gnu.org/index.html 2. 下载下来是.tar.xz,因为xz的格式比较小 3. 解压 xz -d gcc.tar.xztar zvf gcc.tar 4.
阅读全文