服务器2025年10月14日
文章目录 1 下载文件创建rootfs文件夹 2 安装qemu-user-static搭建arm64模拟环境 3 chroot 到 模拟arm64的文件系统下 4 安装基础的软件包 5 系统基础的修改 添加用户、设定合适的组并设置密码 设置主机名 设置自动更新DNS 配置登录的串口 6 退出并制作可烧录的固件 退出arm64模拟文件系统 使用dd指令制作空...
服务器2025年10月14日
最近在使用ubuntu,在linux下,要编辑文件或者其他的文本文件,哪那么一个ubuntu linux下的强大的文本编辑工具就不得不提了,那就是VI编辑器。下面把VI常用到的命令行贴出来。 :w !sudo tee % 强制保存命令此命令是把当前文件(即%)作为stdin传给sudo tee命令来执行。说起来挺绕口,其实就是:用sudo强制保存。有时候在...
服务器2025年10月13日
去文件-首选项-设置里修改。 "terminal.integrated.fontFamily": ""注意此处默认为空白,所以显示的就比较奇怪。此处我改为"terminal.integrated.fontFamily": "monospace", 其实随便添一个字体即可,我写的...
服务器2025年10月13日
Ubuntu默认已经安装了Python的版本了,不过是Python2的版本。 我们安装好Python3想把他切换为系统默认的版本。 sudo update-alternatives --config python //显示当前系统中所有的Python版本。 直接输入数字,即可切换为相应的版本号。 这样你甚至可以将自己喜欢的任意版本python安装到任意位置...
服务器2025年10月13日
在ubuntu下使用Qt 编译时候遇上了cannot find -lGL错误,使用命令 sudo apt-get install libqt4-dev或者sudo apt-get install libgl1-mesa-dev或者libgl1-mesa-dev或者libglu1-mesa-dev可以解决问题 之前可以先apt-get install upd...
服务器2025年10月13日
因为想试试在Linux系统上爆破 所以安装了一下Ubuntu。第一次安装包报了个server64 busybox-initramfs。在安装系统那边。我一直还以为是我磁盘分配错了。 后来在网上找了资料。 解决方法: 1光盘安装看到安装界面后, 2选择安装语言,强烈建议选择英文。中文的话后面会有很多乱码。 3先键盘下移到安装(I)那一行,就往下移动一行。 4...
服务器2025年10月12日
首先,安装MySQL $ sudo apt-get install mysql-server $ sudo apt-get install mysql-client 安装时输出root用户的密码 在安装phpmyadmin $ sudo apt-get install phpmyadmin $ sudo apt-get install php-mbstri...
服务器2025年10月12日
安装 sudo apt-get install MySQL-server mysql-client 查看安装端口情况 sudo netstat -tap | grep mysql 配置文件位置 sudo vim /etc/mysql/my.cnf 打开关闭服务 /etc/init.d/mysql start/stop 卸载 [plain] view pla...
服务器2025年10月12日
Step1: 切换用户为postgres sudo su postgres Step2: 用postgres连接postgreSQL psql -U postgres Step3: 修改postgres密码 alter user postgres with password 'new password'; 现在postgres用户就拥有了新密码 ...
服务器2025年10月12日
先安装mysql sudo apt-get update sudo apt-get install mysql-server sudo mysql_secure_installation具体详情请另查。注意:mysql 5.7.24 会有安全检测之类,可能需要降低安全机制: 详见:https://blog.csdn.net/u014236541/artic...