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

发布时间:2024年01月09日

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

文章来源:https://blog.csdn.net/qq_24768591/article/details/135484136
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。