- change password : passwd root
- change port of ssh
- vi /etc/ssh/sshd_config
- Port
- /etc/init.d/ssh restart
- apt-get update, apt-get upgrade
- htop : apt-get install htop
- iftop : apt-get install iftop
- tmux : apt-get install tmux
- vi ~/.tmux.conf
- https://goo.gl/yrloua
- set -g default-terminal "screen-256color"
- aliase tmux = 'tmux -2'
- vim :
- vim ~/.vimrc
- set nocompatible
- set backspace=2
- Apache2
- apt-get -y install apache2
- remove default index.html under /var/www/html
- restart : /etc/init.d/apache2 restart
- show enabled site : apache2ctl -S
- enable site : a2ensite
- disable site : a2dissite
- reload : /etc/init.d/apache2 reload
- PHP5
- apt-get -y install php5 libapache2-mod-php5
- 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
- Wordpress
- Rsync : apt-get -y install rsync
- Rclone : https://rclone.org/install/
- for google drive
2017年11月6日 星期一
Linux Debian 8 installation note
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言