Home
- Details
- Written by: sam
- Category: 電腦相關
- Hits: 3162
Move Windows LAMP to Debian 8 (Jessie) and use Nginx to replace Apache, also setup rewriting http to https.
for apt installing latest packages
root@boredom:~# echo 'APT::Install-Recommends "0"; APT::Install-Suggests "0";' > 99recommended
backup source
root@boredom:~# cp /etc/apt/sources.list{,.orig} && vi /etc/apt/sources.list
add testing sources
for Debian Jessie
Read more: Install Nginx, MySQL, PHP-FPM, Joomla in Debian 8
- Details
- Written by: sam
- Category: 電腦相關
- Hits: 2889
My mail system is postfix on centos 5.5, it's too old, and I can't update now.
Build new mail system on day of unemployment.
The new one is is Debian8.
When you have done by Debian installed.
root at debian:~# netstat -ntulp |grep :25 tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 654/exim4 tcp6 0 0 ::1:25 :::* LISTEN 654/exim4
root at debian:~# lsof -Pni :25 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME exim4 654 Debian-exim 4u IPv4 11812 0t0 TCP localhost:smtp (LISTEN) exim4 654 Debian-exim 5u IPv6 11813 0t0 TCP localhost:smtp (LISTEN)
remove exim4*
- Details
- Written by: sam
- Category: 電腦相關
- Hits: 2132
最近發現似乎用不到CHEF這麼大且需要HOST和CLIENT架構的輔助軟體
當然它還是有很方便的地方,例如可以在HOST看狀態等等
看了最近的DEVOPS介紹發現ANSIBLE實在是比較符合
先寫一個小PLAYBOOK測試一下
ansible-playbook checkmirror.yml
##### Update showterm link to Https #####
- OPENNMS CUSTOM SERVICE
- mac cron launchctl & OSX FTP LOG
- DRBD && keepalived && nginx && heartbeat
- citrix xenserver
- Chef-solo-3-chef add multi user with data_bag include authorized_keys for ssh
- XEN SERVER BACKUP
- ESXi 備份
- gerrit oauth
- Chef-solo-2
- Chef-solo
- s3 mount to linux or use chef
- fail2ban
- MRBS 資源、會議室預約系統
- FORTINET 200D DNS
- debian service
- FORTINET 200D DHCP