Skip to content
Hunter Wu edited this page Mar 18, 2019 · 16 revisions

Softwares

Ubuntu Release upgrade

18.04

  • php7 conf for apache2
sudo apt install libapache2-mod-php7.2
sudo a2enmod php7.2
sudo systemctl restart apache2
  • php7 extensions
    • php7.2-bcmath

16.04

  • php7 conf for apache2
  • php7 extensions
    • php7.0-curl
    • php7.0-intl
    • php7.0-mbstring
    • php-redis
  • php-fpm
  • rm /etc/cron.d/php5
  • mysql-server
    • purge and install
    • sudo mysql_secure_installation
    • user cannot login root without password
  • eclipse purge and re-install

S410

apt

apt-get install libappindicator1 # for chrome
apt-get -f install
apt-get install fail2ban # server
apt-get install git screen vim curl bison
apt-get install apache2 mysql-server php5 php5-curl phpmyadmin
apt-get install redis-server
apt-get install composer
apt-get install npm
apt-get install Mercurial # for go-find-references
apt-get install grc # universal coulouriser
apt-get install ruby # for gem # for grb
apt-get install android android-tools-adb
apt-get install meld
apt install fcitx fcitx-chewing
apt install libjpeg62 # CoR
apt install fcitx-anthy # japanese input

php

curl -sS https://getcomposer.org/installer | php

npm

sudo npm install -g grunt-cli
sudo npm install -g jshint
sudo npm install -g uglifyjs json-minify

G530

  • LiLi USB Creator + SY-H61-U3M
  • Ubuntu Server 13.10 x86_64 --> USB Mode: Forced FDD
  • Ubuntu Server 13.10 i386 --> USB Mode: Auto

Install Ubuntu 14.04 inside Win7

  • Boot From Ubuntu USB
  • Choose Install Ubuntu in Win7
  • Restart in Win7
  • Use Wubi (It works now!)

After kernel upgrade

  • If it can't boot from the new kernel, edit /boot/grub/grub.cfg to boot from the old kernel by default is a workaround.

apt source

  • vim /etc/apt/sources.list
:%s/us.archive.ubuntu.com/free.nchc.org.tw/g

Devices

RK3066 (CHUWI V17HD)

  • Download & Install SDK
  • Edit udev rules (see step #3), the RK3066 Vendor ID is 2207
  • Restart udev (udevadm control --reload-rules)
  • Edit $HOME/.android/adb_usb.ini, add 0x2207 at the end of the file
  • Restart adb server (adb kill-server && adb start-server)
  • Plug & List your device (adb devices)

mt7601u (MI wifi)

http://bbs.xiaomi.cn/t-10260085

auto wlxf0b42931c5e9
iface wlxf0b42931c5e9 inet static
    address 192.168.2.1
    netmask 255.255.255.0
  • sudo service networking restart
  • sudo apt-get install isc-dhcp-server
  • vim /etc/dhcp/dhcpd.conf
subnet 192.168.199.0 netmask 255.255.255.0 {
   range 192.168.199.10 192.168.199.20;
   option routers 192.168.199.1;
   option domain-name-servers 114.114.114.114;
}
  • vim /etc/default/isc-dhcp-server
INTERFACES="wlxf0b42931c5e9"
sudo apt-get install bcmwl-kernel-source

mi3

  • Read-only file system
mount -o remount,rw /system
Clone this wiki locally