2017年11月6日 星期一

Linux Debian 8 installation note


  1. change password : passwd root
  2. change port of ssh 
    1. vi /etc/ssh/sshd_config
    2. Port 
    3. /etc/init.d/ssh restart
  3. apt-get update, apt-get upgrade
  4. htop : apt-get install htop
  5. iftop : apt-get install iftop
  6. tmux : apt-get install tmux
    1. vi ~/.tmux.conf
    2. https://goo.gl/yrloua
    3. set -g default-terminal "screen-256color"
    4. aliase tmux = 'tmux -2'
  7. vim : 
    1. vim ~/.vimrc
    2. set nocompatible
    3. set backspace=2
  8. Apache2
    1. apt-get -y install apache2
    2. remove default index.html under /var/www/html
    3. restart : /etc/init.d/apache2 restart
    4. show enabled site :  apache2ctl -S
    5. enable site : a2ensite
    6. disable site : a2dissite
    7. reload : /etc/init.d/apache2 reload
  9. PHP5 
    1. apt-get -y install php5 libapache2-mod-php5
    2. MySQL MariaDB support : apt-get -y install php5-mysqlnd php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
  10. Wordpress
    1. http://idroot.net/linux/install-wordpress-debian-8/
  11. Rsync : apt-get -y install rsync
  12. Rclone : https://rclone.org/install/
    1. for google drive

沒有留言: