Yu-Min Space

2013年5月23日 星期四

MySQL Unix timestamp 相關函式

›
FROM_UNIXTIME()   Format UNIX timestamp as a date UNIX_TIMESTAMP() Return a UNIX timestamp

MySQL IP LONG 轉換函式

›
INET_ATON() Return the numeric value of an IP address INET_NTOA() Return the IP address from a numeric value
2013年5月20日 星期一

CentOS 安裝 SOP

›
韌體更新 BIOS 的安全設置 GRUB / LILO 的密碼 更新軟體套件 yum update TCP_WRAPPERS 阻止所有的主機連線 編輯 /etc/hosts.deny 加入 ALL: ALL@ALL, PARANOID 停用、反安裝不用的服...
2013年5月17日 星期五

使用 openssl 利用 gmail smtp 寄件範例

›
openssl s_client -connect smtp.gmail.com:587 -starttls smtp -crlf ehlo 250-mx.google.com at your service, [xx.xx.xx.xx] 250-SIZE 3588257...
2013年3月26日 星期二

Proxmox VE 安裝 rsync

›
安裝相關軟體 apt-get dist-upgrade apt-get update apt-get install xinetd apt-get install rsyncd 編輯 /etc/xinetd.d/rsync  內容如下 # default: of...
2013年3月1日 星期五

使用UNIX date 指令轉換 時間 timestamp 表示方法

›
date +%s -d "2013-03-01 12:12:11" date -d @1362129131 +'%F %H:%M:%S'
2013年2月27日 星期三

LEAF 使用 modules.tgz 載入自訂模組

›
#!/bin/sh MODULES="" diskfile=/var/lib/lrpkg/pkgpath.disks MODPKG_NAME=modules.tgz TMPDIR=/tmp [ "$MODULES" = "...
‹
›
首頁
查看網路版

關於我自己

Yu-Min Space
廉價知識勞工
檢視我的完整簡介
技術提供:Blogger.