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

做360网站快速排名软件制作公司网页价钱

做360网站快速排名软件,制作公司网页价钱,网站开发初学,中卫网站建设1、创建一台同版本的ubuntu18.04的虚拟机 2、下载rk3288_ubuntu_18.04_armhf_ext4_v2.04_20201125-1538_DESKTOP.img 3、创建空img镜像容器 dd if/dev/zero ofubuntu_rootfs.img bs1M count102404、将该容器格式化成ext4文件系统 mkfs.ext4 ubuntu_rootfs.img5、将该镜像文件…1、创建一台同版本的ubuntu18.04的虚拟机 2、下载rk3288_ubuntu_18.04_armhf_ext4_v2.04_20201125-1538_DESKTOP.img 3、创建空img镜像容器 dd if/dev/zero ofubuntu_rootfs.img bs1M count102404、将该容器格式化成ext4文件系统 mkfs.ext4 ubuntu_rootfs.img5、将该镜像文件挂载到一个rootfs文件夹上然后将ubuntu_base_rootfs的文件复制到rootfs文件夹中 mkdir rootfs sudo mount ubuntu_rootfs.img rootfs mkdir ubuntu_base_rootfs sudo mount rk3288_ubuntu_18.04_armhf_ext4_v2.04_20201125-1538_DESKTOP.img ubuntu_base_rootfs sudo cp -rfp ubuntu_base_rootfs/* rootfs/6、安装 qemu对任何机器运行操作系统的全系统仿真。 qemu 是一个通用的、开源的机器仿真器和虚拟机拷贝它是为了可以模拟 arm cpu 进行文件系统的配置。 sudo apt-get install qemu-user-static sudo cp /usr/bin/qemu-arm-static rootfs/usr/bin/7、复制虚拟机的dns文件到rootfs系统内 echo nameserver 114.114.114.114 rootfs/etc/resolv.conf echo nameserver 8.8.8.8 rootfs/etc/resolv.conf echo DNS114.114.114.114 8.8.8.8 rootfs/etc/systemd/resolved.conf 8、挂载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 9、增加脚本执行权限 sudo chmod x mount.sh 10、运行脚本挂载根文件系统 bash mount.sh -m rootfs/11、装软件 mkdir /tmp chmod 777 /tmpapt update apt install -y gcc-7 apt install -y build-essentialapt install -y gitapt install -y libgmp-dev libudev-dev apt install -y libusb-1.0-0 libusb-1.0-0-dev libhidapi-dev libhidapi-libusb0apt install -y qt5-default apt install -y libqt5* qtmultimedia5-dev qtcreator qtconnectivity5-dev apt install -y mysql-client mysql-common mysql-serverln -s /usr/lib/arm-linux-gnueabihf/libMali.so /usr/lib/arm-linux-gnueabihf/libmali.so.1 12、配置SSH允许root用户登录 echo PermitRootLogin yes /etc/ssh/sshd_config passwd root13、设置NTP服务器 echo NTPntp1.aliyun.com ntp.neu.edu.cn /etc/systemd/timesyncd.conf14、设置中文 echo LANGzh_CN.utf8 /etc/default/localeapt install -y language-pack-zh-hans15、修改状态栏在底部修改/usr/share/lxpanel/profile/Lubuntu/panels/panel把edgetop改为 Global {edgebottom16、卸载镜像 bash mount.sh -u rootfs/17、替换桌面背景和图标 cp desktop_imgs/lubuntu-ff-logo.png rootfs/usr/share/lubuntu/images/lubuntu-ff-logo.pngcp desktop_imgs/firefly-default-wallpaper.png rootfs/usr/share/lubuntu/wallpapers/firefly-default-wallpaper.png18、用e2fsck修复及检测镜像文件系统resize2fs 减小镜像文件的大小 sudo umount rootfse2fsck -p -f ubuntu_rootfs.img resize2fs -M ubuntu_rootfs.img
http://www.hkea.cn/news/14535912/

相关文章:

  • 连云港建设网站公司网站建设服务费的税收分类
  • 青岛 制作网站 大点的公司东莞专业网站建设服务
  • 北京海岸设计公司网站运输公司网站模板
  • 深圳网站建设设计首选公司做业务需要知道哪些网站
  • 备案网站建设书移动端网站开发哪家好
  • 如何建设国际网站首页网站模板内容怎么添加图片
  • 个人做网站流程图网络营销方案案例
  • 洛阳 网站建设单页营销网站
  • 威县网站建设品牌网络推广运营公司
  • 自己做的网站网页打开速度慢石家庄房产备案查询网
  • 路由器做内部网站服务器云南网站建设一条龙
  • 学院网站信息化建设做网站怎样设置搜索引擎
  • 网站开发推荐笔记本aaaa景区网站建设标准
  • 山东 网站建设 公司网站建设公司株洲
  • 阿里巴巴的网站建设与维护wordpress 商品展示插件
  • 徐州工作招聘信息网天津网络排名优化
  • 服务器上配置网站即墨网络有限公司
  • 网站开发进度设计做设计不进设计公司网站
  • 深圳外包网站制作公司兼职做ps网站
  • 谷歌排名算法徐州关键词优化平台
  • 上海网站模板与网站签约
  • 为什么没人做同城购物网站网站logo下载
  • 网站建设开始学什么58同城网站模板
  • it美工做网站亲子装网站建设
  • php网站建设实训报告一加开发者模式怎么关闭
  • 漳州手机网站开发东营网红餐厅
  • 什么学做网站中山网站建设找阿江
  • 网站建设的请示中国互联网公司排名100强
  • 长沙网站建设哪里好汝阳县建设局网站
  • 网络知识网站wordpress建图片网站