当前位置: 首页 > news >正文

好看的手机网站模板wordpress the post

好看的手机网站模板,wordpress the post,网站怎样做权重,技术网站模版1、创建一台同版本的ubuntu23的虚拟机 2、下载 ubuntu-base-23.10-base-armhf.tar.gz 3、上传到虚拟机里#xff0c;解压到rootfs文件夹下 tar -xf /opt/ubuntu-base-23.10-base-armhf.tar.gz -C /opt/rootfs4、安装 qemu#xff0c;对任何机器运行操作系统的全系统仿真。…1、创建一台同版本的ubuntu23的虚拟机 2、下载 ubuntu-base-23.10-base-armhf.tar.gz 3、上传到虚拟机里解压到rootfs文件夹下 tar -xf /opt/ubuntu-base-23.10-base-armhf.tar.gz -C /opt/rootfs4、安装 qemu对任何机器运行操作系统的全系统仿真。 qemu 是一个通用的、开源的机器仿真器和虚拟机拷贝它是为了可以模拟 arm cpu 进行文件系统的配置。 sudo apt-get install qemu-user-static sudo cp /usr/bin/qemu-arm-static rootfs/usr/bin/5、复制虚拟机的dns文件到rootfs系统内 sudo cp /etc/resolv.conf rootfs/etc/resolv.conf6、挂载ubuntu-base 编写挂载脚本 #!/bin/bash mnt() {echo MOUNTINGsudo mount -t proc /proc ${2}procsudo mount -t sysfs /sys ${2}syssudo mount -o bind /dev ${2}devsudo mount -o bind /dev/pts ${2}dev/ptssudo chroot ${2} } umnt() {echo UNMOUNTINGsudo umount ${2}procsudo umount ${2}syssudo umount ${2}dev/ptssudo umount ${2}dev }if [ $1 -m ] [ -n $2 ] ; thenmnt $1 $2 elif [ $1 -u ] [ -n $2 ]; thenumnt $1 $2 elseecho echo Either 1st, 2nd or both parameters were missingecho echo 1st parameter can be one of these: -m(mount) OR -u(umount)echo 2nd parameter is the full path of rootfs directory(with trailing /)echo echo For example: ch-mount -m /media/sdcard/echo echo 1st parameter : ${1}echo 2nd parameter : ${2} fi增加脚本执行权限 sudo chmod x mount.sh运行脚本挂载根文件系统 bash mount.sh -m rootfs/卸载则运行 bash mount.sh -u rootfs/7、更新源然后装软件 apt update apt install -y sudo language-pack-en-base ssh net-tools ethtool ifupdown iputils-ping rsyslog htop vim bash-completion systemd bash-completion apt install -y task-lxqt-desktop apt install -y build-essential qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools qt5* 8、用户配置 设置密码、添加用户 passwd root adduser xyy设置主机名称和本机IP echo xyy /etc/hostname echo 127.0.0.1 localhost /etc/hosts echo 127.0.0.1 xyy /etc/hosts9、打包镜像 先创建一个空镜像文件大小为4096MB dd if/dev/zero ofubuntu_rootfs.img bs1M count10240将该文件格式化成ext4文件系统 mkfs.ext4 ubuntu_rootfs.img将该镜像文件挂载到一个空的文件夹上然后将ubuntu_rootfs的文件复制到该空文件夹中 mkdir ubuntu_base_rootfs sudo mount ubuntu_rootfs.img ubuntu_base_rootfs sudo cp -rfp rootfs/* ubuntu_base_rootfs/复制完后用e2fsck修复及检测镜像文件系统resize2fs 减小镜像文件的大小 sudo umount ubuntu_base_rootfs/ e2fsck -p -f ubuntu_rootfs.img resize2fs -M ubuntu_rootfs.img
http://www.zqtcl.cn/news/609403/

相关文章:

  • 海南省建设厅网站首页有什么做设计的兼职网站
  • 网站导航功能苏州市高新区建设局网站
  • jsp网站 值班多语种网站开发
  • 公司网站英文做电商
  • 合肥企业网站建设公司哪家好卖产品怎么做网站
  • 网站建设公司86215中国中小企业网站
  • 做网站 如何 挣钱游戏网站开发协议
  • 网站建设发展wordpress比较慢
  • 收费网站推广动漫制作就业方向
  • 湖北优化网站建设设计公司需要什么资质
  • 个人网站怎么制作wordpress创意小工具
  • 网站管理维护怎么做在线oa
  • vue做企业网站wordpress 不发送邮件
  • 深圳做网站哪家便宜邮政编码html编写
  • 黑龙江营商环境建设局网站门户网站整改报告
  • 是不是做推广都得有网站深圳网站建设新闻
  • 旅游做视频网站关于建设网站的书本
  • 营销网站是什么意思快站优惠券app
  • wordpress加dz公司网站搜索优化
  • 北京网站seo技术厂家联合外发加工网
  • 自己做的网站 jen江门模板建站定制
  • 教做糕点的网站工作计划范文
  • dw自己做网站需要什么黄骅贴吧足疗
  • 稻香村网站建设网站建设制作 优帮云
  • 简单的网站作业seo关键词搜索和优化
  • 个人域名备案网站名称例子龙岩网站制作公司
  • 深圳专门做网站的公司电子商务网站推广目的分为
  • 政协网站法治建设版块设计头像 制作 免费
  • wordpress 去除下划线成都seo公司排名
  • 网站移动页面怎么做万网域名管理入口