小米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.https://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
相关推荐
下雪天的夏风10 分钟前
TS - tsconfig.json 和 tsconfig.node.json 的关系,如何在TS 中使用 JS 不报错
前端·javascript·typescript
danplus11 分钟前
node发送邮件:如何实现Node.js发信功能?
服务器·node.js·外贸开发信·邮件群发·蜂邮edm邮件营销·邮件接口·营销邮件
【D'accumulation】16 分钟前
典型的MVC设计模式:使用JSP和JavaBean相结合的方式来动态生成网页内容典型的MVC设计模式
java·设计模式·mvc
diygwcom21 分钟前
electron-updater实现electron全量版本更新
前端·javascript·electron
BeyondESH24 分钟前
Linux线程同步—竞态条件和互斥锁(C语言)
linux·服务器·c++
wn53126 分钟前
【Go - 类型断言】
服务器·开发语言·后端·golang
hanniuniu1327 分钟前
详细解读,F5服务器负载均衡的技术优势
运维·服务器·负载均衡
试行30 分钟前
Android实现自定义下拉列表绑定数据
android·java
茜茜西西CeCe36 分钟前
移动技术开发:简单计算器界面
java·gitee·安卓·android-studio·移动技术开发·原生安卓开发
Hello-Mr.Wang38 分钟前
vue3中开发引导页的方法
开发语言·前端·javascript