小米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@

默认密码是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

你可能感兴趣的:(java,服务器,前端)