10/06
18
http://code.google.com/p/scite-for-php/
10/06
18
一无所知的入门学习的最好学习资料就是Emacs自带的Tutorial,即 C-h t。学习时间大概2~3小时。
10/06
14
memcache模块是一个高效的守护进程,提供用于内存缓存的过程式程序和面向对象的方便的接口,特别是对于设计动态web程序时减少对数据库的访问。.....
10/06
13
可以把ttserver理解成一种key-value形式的数据库,在运营中就像管理数据库一样去管理ttserver,使得性能和数据安全都能得到较好的保障。
部署ttserver的方式,可以根据访问量和数据规模循序渐进地这样部署:
部署ttserver的方式,可以根据访问量和数据规模循序渐进地这样部署:
10/06
7
Good artists copy, great artists steal
-----------------Picasso once said
10/06
6
sudo vi /etc/network/interfaces
//这个应该是决定是否启用这个端口
auto eth0
//静态设置IP
iface eth0 inet static
address 172.16.146.200
netmask 255.255.255.0
#broadcast 172.16.146.255
gateway 172.16.146.254
//通过dhcp动态设置
iface eth0 inet dhcp
//设置DNS服务器
sudo vi /etc/resolv.conf
nameserver 202.96.128.68
nameserver 61.144.56.101
nameserver 192.168.8.220
//重新设置网络,以启用新设置
sudo /etc/init.d/networking restart
ubuntu下一个网卡设置多个IP
要加一个 192.168.0.111 的 ip
sudo ifconfig eth0:0 192.168.0.111 up
就搞定了。
如果需要开机自动绑定的话,
就写到 /etc/network/interfaces 中,仿照 eth0 写个 eth0:0
auto eth0
iface eth0 inet static
address 192.168.0.5
netmask 255.255.255.0
gateway 192.168.0.1
auto eth0:0
iface eth0:0 inet static
address 192.168.0.25
netmask 255.255.255.0
gateway 192.168.0.1
//这个应该是决定是否启用这个端口
auto eth0
//静态设置IP
iface eth0 inet static
address 172.16.146.200
netmask 255.255.255.0
#broadcast 172.16.146.255
gateway 172.16.146.254
//通过dhcp动态设置
iface eth0 inet dhcp
//设置DNS服务器
sudo vi /etc/resolv.conf
nameserver 202.96.128.68
nameserver 61.144.56.101
nameserver 192.168.8.220
//重新设置网络,以启用新设置
sudo /etc/init.d/networking restart
ubuntu下一个网卡设置多个IP
要加一个 192.168.0.111 的 ip
sudo ifconfig eth0:0 192.168.0.111 up
就搞定了。
如果需要开机自动绑定的话,
就写到 /etc/network/interfaces 中,仿照 eth0 写个 eth0:0
auto eth0
iface eth0 inet static
address 192.168.0.5
netmask 255.255.255.0
gateway 192.168.0.1
auto eth0:0
iface eth0:0 inet static
address 192.168.0.25
netmask 255.255.255.0
gateway 192.168.0.1
10/06
6
RAID 0又称为Stripe或Striping,它代表了所有RAID级别中最高的存储性能。RAID 0提高存储性能的原理是把连续的数据分散到多个磁盘上存取,这样,系统有数据请求就可以被多个磁盘并行的执行,每个磁盘执行属于它自己的那部分数据请求。这种数据上的并行操作可以充分利用总线的带宽,显著提高磁盘整体存取性能
RAID 1又称为Mirror或Mirroring,它的宗旨是最大限度的保证用户数据的可用性和可修复性。 RAID 1的操作方式是把用户写入硬盘的数据百分之百地自动复制到另外一个硬盘上。由于对存储的数据进行百分之百的备份,在所有RAID级别中,RAID 1提供最高的数据安全保障。同样,由于数据的百分之百备份,备份数据占了总存储空间的一半,因而,Mirror的磁盘空间利用率低,存储成本高。
......
RAID 1又称为Mirror或Mirroring,它的宗旨是最大限度的保证用户数据的可用性和可修复性。 RAID 1的操作方式是把用户写入硬盘的数据百分之百地自动复制到另外一个硬盘上。由于对存储的数据进行百分之百的备份,在所有RAID级别中,RAID 1提供最高的数据安全保障。同样,由于数据的百分之百备份,备份数据占了总存储空间的一半,因而,Mirror的磁盘空间利用率低,存储成本高。
......






