package main
import (
"fmt"
)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Contents of the preconfiguration file (for squeeze) | |
### Localization | |
# Preseeding only locale sets language, country and locale. | |
d-i debian-installer/locale string en_US | |
# The values can also be preseeded individually for greater flexibility. | |
#d-i debian-installer/language string en | |
#d-i debian-installer/country string NL | |
#d-i debian-installer/locale string en_GB.UTF-8 | |
# Optionally specify additional locales to be generated. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface=vboxnet0 | |
domain=jumeicd | |
dhcp-range=192.168.100.3,192.168.100.253,255.255.255.0,1h | |
dhcp-option=3,192.168.100.1 | |
dhcp-option=6,192.168.100.1 | |
dhcp-boot=pxelinux.0,pxeserver,192.168.100.2 | |
pxe-service=x86PC, "Install Linux", pxelinux | |
enable-tftp | |
tftp-root=/srv/tftp | |
server=/jumei.com/192.168.21.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
telnet smtp.163.com 25 //登陆 smtp.163.com 端口号为 25 | |
Trying 202.108.44.205... | |
Connected to smtp.163.com (202.108.44.205). | |
Escape character is '^]'. | |
220 163.com Coremail SMTP(Anti Spam) System | |
// 与服务器打招呼,并告知客户端使用的机器名字,可以随便填写 | |
HELO localhost | |
250 OK | |
//使用身份认证登陆指令 | |
AUTH LOGIN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/sysctl.conf | |
kernel.ctrl-alt-del=1 | |
kernel.sysrq=0 | |
kernel.panic=10 | |
kernel.core_pattern=/dev/null | |
kernel.shmmax=262324224 | |
fs.file-max=128000 | |
net.core.wmem_default=200100 | |
net.core.rmem_default=200100 | |
net.core.wmem_max=3202200 |