小米note4x 刷ubuntu touch 后 换源&&apache2 报错

Ubuntu-Touch-mido(Pre-Alpha V1.1).zip

File sharing and storage made simpleMediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.icon-default.png?t=N7T8https://download1321.mediafire.com/0179ujnsun0gjuTkAP6qf3cefmowb1lIx0a7phRCXxEttPLPHmCTKu6Lj0SIcheyspZiGKuV0-dnDh9WcCiId5B03gkmPQwlCV20H13Uhqf6WObC-9HcYh_oXENnXSmMRaKiopdrAhAwTb7STrmPTL57BuhnKB-qrr8pVeCzzFU42w/cgyqxk6wgy60yhz/Ubuntu-Touch-mido%28Pre-Alpha+V1.1%29.zip

ssh phablet@<ip-address>

默认密码是a

sudo su

切换root

换源

vi /etc/apt/sources.list
:%s/ports.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g
 

修改只读分区命令,否则rootfs只读,不能apt安装软件

sudo mount -o remount,rw /
 

重启apache2报错

sudo /etc/init.d/apache2 restart

 错误

Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2:
Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
echo "ServerName localhost" | sudo tee /etc/apache2/conf-available/fqdn.conf
 sudo a2enconf fqdn

相关推荐

  1. cocos2dx4.0 vs编译

    2024-01-10 06:26:07       38 阅读
  2. datasophon安装apache doris

    2024-01-10 06:26:07       37 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-01-10 06:26:07       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-01-10 06:26:07       100 阅读
  3. 在Django里面运行非项目文件

    2024-01-10 06:26:07       82 阅读
  4. Python语言-面向对象

    2024-01-10 06:26:07       91 阅读

热门阅读

  1. c++学习:容器list实战(获取目录返回容器list)

    2024-01-10 06:26:07       50 阅读
  2. 面试经典150题(78-81)

    2024-01-10 06:26:07       68 阅读
  3. 2401d,ddip1027如何支持sql

    2024-01-10 06:26:07       51 阅读
  4. macos m1如何卸载redis

    2024-01-10 06:26:07       55 阅读
  5. 记一次线上报错 GList AddChildAt NullReferenceException

    2024-01-10 06:26:07       61 阅读
  6. 异构微服务远程调用如何打jar包

    2024-01-10 06:26:07       58 阅读