存档

‘日常记事’ 分类的存档

修改域名DNS设置

2012年2月23日 admin 没有评论

 

image

 

 

 

image

 

 

 

image

分类: 日常记事 标签:

支付宝出问题了

2012年2月5日 admin 没有评论

今天支付服务器的托管费用,结果支付失败, 首页也没有任何维护的通知。

支付服务器托管费用

可用余额

支付失败

后来联系客服, 是对方的支付宝账号有问题。

分类: 日常记事 标签:

新服务器N19上架,使用SSD硬盘存储

2012年2月2日 admin 没有评论

今天上架了新的服务器,命名 n19-cntob 。

服务器配置:

CPU  Xeon L3426 4核HT  一共8核心

内存:  8G

硬盘: 2 x 160G SSD

机房:加州T2机房

带宽:50mbps 独享

主板 是超微的  Supermicro  x8sil   这块主板现在售价大约在 1500人民币左右。

主板信息 Supermicro  x8sil

 

Supermicro  x8sil  价格

 

参考价格:
1590[北京]
商家报价:¥1527 至 ¥1528
  • 主芯片组:Intel 3400
  • 适用平台:Intel平台
  • 集成芯片:显卡/网卡
  • CPU种类:Intel Xeon X3400/Xeon L3400/Core i3/Pentium G6950/Celeron G1101
  • CPU插槽:Socket 1156
  • 支持CPU:1
  • 内存描述:支持DDR3 1333/1066/800内存,最大支持32GB
  • PCI插槽:2×33MHz PCI slots
  • 主板板型:Micro ATX
  • 显卡插槽:2×(x8) PCI-E 2.0(1in x16 slot) 1×(x4) PCI-E(in x8 slot)
  • 网络芯片:板载Intel 82574L双千兆网卡
  • SATA接口:6个SATAII接口

      CPU  Xeon L3426 4核HT  一共8核心

       

      CPU  Xeon L3426 4核HT  一共8核心

       

      硬盘 是  intel SSD  160G

      === START OF INFORMATION SECTION ===
      Device Model:     INTEL SSDSA2CW160G3
      Serial Number:    CVPR122306A9160DGN
      Firmware Version: 4PC10362
      User Capacity:    160,041,885,696 bytes
      Device is:        Not in smartctl database [for details use: -P showall]
      ATA Version is:   8
      ATA Standard is:  ATA-8-ACS revision 4
      Local Time is:    Fri Feb  3 08:34:15 2012 PST
      SMART support is: Available – device has SMART capability.
      SMART support is: Enabled

      通过DD测试,数据不理想可能由于SSD缓存利用

       

      DD测试

       

      内存,我们可以看出来 主板一共4个内存插槽,已经使用了2个,  4 x 2 一共  8G 内存

       

      Memory Device
              Array Handle: 0x002A
              Error Information Handle: Not Provided
              Total Width: 64 bits
              Data Width: 64 bits
              Size: 4096 MB
              Form Factor: DIMM
              Set: None
              Locator: DIMM1A
              Bank Locator: BANK0
              Type: DDR3
              Type Detail: Synchronous
              Speed: 1333 MHz
              Manufacturer: Manufacturer00
              Serial Number: 00000000
              Asset Tag: AssetTagNum0
              Part Number:

      Memory Device
              Array Handle: 0x002A
              Error Information Handle: Not Provided
              Total Width: Unknown
              Data Width: Unknown
              Size: No Module Installed
              Form Factor: DIMM
              Set: None
              Locator: DIMM1B
              Bank Locator: BANK1
              Type: Unknown
              Type Detail: Unknown
              Speed: Unknown
              Manufacturer: Manufacturer01
              Serial Number: SerNum01
              Asset Tag: AssetTagNum1
              Part Number: ModulePartNumber01

      Memory Device
              Array Handle: 0x002A
              Error Information Handle: Not Provided
              Total Width: 64 bits
              Data Width: 64 bits
              Size: 4096 MB
              Form Factor: DIMM
              Set: None
              Locator: DIMM2A
              Bank Locator: BANK2
              Type: DDR3
              Type Detail: Synchronous
              Speed: 1333 MHz
              Manufacturer: Manufacturer02
              Serial Number: 00000000
              Asset Tag: AssetTagNum2
              Part Number:

      Memory Device
              Array Handle: 0x002A
              Error Information Handle: Not Provided
              Total Width: Unknown
              Data Width: Unknown
              Size: No Module Installed
              Form Factor: DIMM
              Set: None
              Locator: DIMM2B
              Bank Locator: BANK3
              Type: Unknown
              Type Detail: Unknown
              Speed: Unknown
              Manufacturer: Manufacturer03
              Serial Number: SerNum03
              Asset Tag: AssetTagNum3
              Part Number: ModulePartNumber03

       

      服务器网卡有2个接口,使用eth0

      SIOCGMIIREG on eth0 failed: Input/output error
      eth0: negotiated 100baseTx-FD, link ok
      SIOCGMIIREG on eth1 failed: Input/output error
      eth1: no link

       

       

      网络方面,这次拿了几个段的IP  , 是  173  和 50段开通, 速度还可以。

       

      173 ping 值

       

      173 ping 值

       

      其他地方PING 情况

      ping 图

       

      综合性能使用UB5.1.2测试分数为:2443

       

      unixbench 跑风

      [root@n19-cntob unixbench-5.1.2]# ./Run
      make all
      make[1]: Entering directory `/etc/yum.repos.d/unixbench-5.1.2′
      Checking distribution of files
      ./pgms  exists
      ./src  exists
      ./testdir  exists
      ./tmp  exists
      ./results  exists
      make[1]: Leaving directory `/etc/yum.repos.d/unixbench-5.1.2′
      sh: 3dinfo: command not found

         #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
         #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
         #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
         #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
         #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
          ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

         Version 5.1.2                      Based on the Byte Magazine Unix Benchmark

         Multi-CPU version                  Version 5 revisions by Ian Smith,
                                            Sunnyvale, CA, USA
         December 22, 2007                  johantheghost at yahoo period com

      1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

      1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

      1 x Execl Throughput  1 2 3

      1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

      1 x File Copy 256 bufsize 500 maxblocks  1 2 3

      1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

      1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

      1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

      1 x Process Creation  1 2 3

      1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

      1 x Shell Scripts (1 concurrent)  1 2 3

      1 x Shell Scripts (8 concurrent)  1 2 3

      8 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

      8 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

      8 x Execl Throughput  1 2 3

      8 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

      8 x File Copy 256 bufsize 500 maxblocks  1 2 3

      8 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

      8 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

      8 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

      8 x Process Creation  1 2 3

      8 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

      8 x Shell Scripts (1 concurrent)  1 2 3

      8 x Shell Scripts (8 concurrent)  1 2 3

      ========================================================================
         BYTE UNIX Benchmarks (Version 5.1.2)

         System: n19-cntob.com: GNU/Linux
         OS: GNU/Linux — 2.6.18-274.17.1.el5 — #1 SMP Tue Jan 10 17:25:58 EST 2012
         Machine: x86_64 (x86_64)
         Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
         CPU 0: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz (3733.4 bogomips)
                Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
         CPU 1: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz (3733.3 bogomips)
                Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
         CPU 2: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz (3733.3 bogomips)
                Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
         CPU 3: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz (3733.3 bogomips)
                Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
         CPU 4: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz (3733.3 bogomips)
                Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
         CPU 5: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz (3733.3 bogomips)
                Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
         CPU 6: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz (3733.3 bogomips)
                Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
         CPU 7: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz (3733.3 bogomips)
                Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
         23:14:42 up 1 day, 13:06,  2 users,  load average: 0.00, 0.00, 0.00; runlevel 3

      ————————————————————————
      Benchmark Run: Fri Feb 03 2012 23:14:42 – 23:42:49
      8 CPUs in system; running 1 parallel copy of tests

      Dhrystone 2 using register variables       17812399.6 lps   (10.0 s, 7 samples)
      Double-Precision Whetstone                     3516.6 MWIPS (9.9 s, 7 samples)
      Execl Throughput                               2380.1 lps   (30.0 s, 2 samples)
      File Copy 1024 bufsize 2000 maxblocks        768547.7 KBps  (30.0 s, 2 samples)
      File Copy 256 bufsize 500 maxblocks          209826.7 KBps  (30.0 s, 2 samples)
      File Copy 4096 bufsize 8000 maxblocks       1770643.3 KBps  (30.0 s, 2 samples)
      Pipe Throughput                             1362560.1 lps   (10.0 s, 7 samples)
      Pipe-based Context Switching                 214435.3 lps   (10.0 s, 7 samples)
      Process Creation                               7691.1 lps   (30.0 s, 2 samples)
      Shell Scripts (1 concurrent)                   3985.4 lpm   (60.0 s, 2 samples)
      Shell Scripts (8 concurrent)                   1927.4 lpm   (60.0 s, 2 samples)
      System Call Overhead                        1098504.0 lps   (10.0 s, 7 samples)

      System Benchmarks Index Values               BASELINE       RESULT    INDEX
      Dhrystone 2 using register variables         116700.0   17812399.6   1526.3
      Double-Precision Whetstone                       55.0       3516.6    639.4
      Execl Throughput                                 43.0       2380.1    553.5
      File Copy 1024 bufsize 2000 maxblocks          3960.0     768547.7   1940.8
      File Copy 256 bufsize 500 maxblocks            1655.0     209826.7   1267.8
      File Copy 4096 bufsize 8000 maxblocks          5800.0    1770643.3   3052.8
      Pipe Throughput                               12440.0    1362560.1   1095.3
      Pipe-based Context Switching                   4000.0     214435.3    536.1
      Process Creation                                126.0       7691.1    610.4
      Shell Scripts (1 concurrent)                     42.4       3985.4    940.0
      Shell Scripts (8 concurrent)                      6.0       1927.4   3212.3
      System Call Overhead                          15000.0    1098504.0    732.3
                                                                         ========
      System Benchmarks Index Score                                        1102.2

      ————————————————————————
      Benchmark Run: Fri Feb 03 2012 23:42:49 – 00:10:42
      8 CPUs in system; running 8 parallel copies of tests

      Dhrystone 2 using register variables       41542253.1 lps   (10.0 s, 7 samples)
      Double-Precision Whetstone                    13752.7 MWIPS (9.9 s, 7 samples)
      Execl Throughput                              20841.1 lps   (30.0 s, 2 samples)
      File Copy 1024 bufsize 2000 maxblocks        190342.0 KBps  (30.0 s, 2 samples)
      File Copy 256 bufsize 500 maxblocks           54029.9 KBps  (30.0 s, 2 samples)
      File Copy 4096 bufsize 8000 maxblocks        612079.4 KBps  (30.0 s, 2 samples)
      Pipe Throughput                             4398498.0 lps   (10.0 s, 7 samples)
      Pipe-based Context Switching                1244403.4 lps   (10.0 s, 7 samples)
      Process Creation                              61356.4 lps   (30.0 s, 2 samples)
      Shell Scripts (1 concurrent)                  28087.6 lpm   (60.0 s, 2 samples)
      Shell Scripts (8 concurrent)                   4040.7 lpm   (60.1 s, 2 samples)
      System Call Overhead                        3971284.6 lps   (10.0 s, 7 samples)

      System Benchmarks Index Values               BASELINE       RESULT    INDEX
      Dhrystone 2 using register variables         116700.0   41542253.1   3559.7
      Double-Precision Whetstone                       55.0      13752.7   2500.5
      Execl Throughput                                 43.0      20841.1   4846.8
      File Copy 1024 bufsize 2000 maxblocks          3960.0     190342.0    480.7
      File Copy 256 bufsize 500 maxblocks            1655.0      54029.9    326.5
      File Copy 4096 bufsize 8000 maxblocks          5800.0     612079.4   1055.3
      Pipe Throughput                               12440.0    4398498.0   3535.8
      Pipe-based Context Switching                   4000.0    1244403.4   3111.0
      Process Creation                                126.0      61356.4   4869.6
      Shell Scripts (1 concurrent)                     42.4      28087.6   6624.4
      Shell Scripts (8 concurrent)                      6.0       4040.7   6734.5
      System Call Overhead                          15000.0    3971284.6   2647.5
                                                                         ========
      System Benchmarks Index Score                                        2443.0

      [root@n19-cntob unixbench-5.1.2]#

      分类: 日常记事 标签:

      LuNamp和LuManager的目录结构

      2012年1月25日 admin 没有评论

      现在有不少人使用Lu控制面板,了解配置文件结构是非常比较的, 能够快速处理问题。

      常用命令

      ######—— 软件操作方法:
      * 关闭LUM及所有组件:lu-stop
      * 启动LUM及所有组件:lu-start
      * 重启LUM及所有组件:lu-restart

      * 关闭MySQL:mysql-stop
      * 启动MySQL:mysql-start
      * 重启MySQL:mysql-restart

      * 关闭PgSQL:pgsql-stop
      * 启动PgSQL:pgsql-start
      * 重启PgSQL:pgsql-restart

      * 关闭Nginx:nginx-stop
      * 启动Nginx:nginx-start
      * 重启Nginx:nginx-restart

      * 关闭apache:apache-stop
      * 启动apache:apache-start
      * 重启apache:apache-restart

      * 关闭pureftpd:pureftpd-stop
      * 启动pureftpd:pureftpd-start
      * 重启pureftpd:pureftpd-restart

      * 关闭LUM后台:lum-stop
      * 启动LUM后台:lum-start
      * 重启LUM后台:lum-restart

      * 修复LUM文件权限(包括MySQL数据库权限的LUM软件本身的权限等):lu-repair

       

      目录结构

      / etc/
      my.cnf #mysql配置文件
      ipfw.conf #ipfw防火墙的配置文件(仅FreeBSD)
      home/
      ftp #FTP目录(默认情况下,所有网站位于此目录下)
      hosts_backup #网站备份目录
      logs_backup #网站访问日志备份目录
      lum_files #重要内容保护目录
      mysql_data #mysql数据库目录
      pgsql_data #pgsql数据库目录
      mysqls_backup #mysql数据库备份目录
      pgsqls_backup #pgsql数据库备份目录
      files_backup #垃圾桶(被删除文件)
      lum_safe_files #LUM重要文件存放目录
      usr/
      local/
      apache/
      httpd.conf #apache配置文件
      vhost.conf #apache虚拟主机配置文件
      apache_LuManager/
      bind/
      freetype/
      gd/
      jpeg/
      libiconv/
      libmcrypt/
      libpng/
      LuManager/
      Conf/
      htaccess_files/ #伪静态(重写规则)存放目录
      config.php #LUM配置文件
      Tpl/
      App/ #应用程序目录
      User_1520/ #用户模板目录
      Runtime/ #LUM临时目录
      LuNamp/
      cmd/ #LUN系统命令存放目录(该目录下的命名无需使用完整路径,如要重启nginx,直接执行nginx-restart便可)
      apache_LuManager-reload #重载LUM后台面板
      apache_LuManager-restart
      apache_LuManager-start
      apache_LuManager-stop
      apache-reload #重启apache
      apache-restart
      apache-start
      apache-stop
      crontab_cmd.sh #计划任务脚本
      lu-repair #修复LUN和LUM的文件权限
      lu-restart #重启LUN各组件
      lu-start
      lu-stop

      mysql_install_db.sh #初始化数据库(危险)
      mysql-restart #重启mysql
      mysql-start
      mysql-stop

      nginx-reload #重载nginx
      nginx-restart #重启nginx
      nginx-start #启动nginx
      nginx-stop #关闭nginx

      pgsql-reload #重载PostgreSQL
      pgsql-restart #重启PostgreSQL
      pgsql-start #启动PostgreSQL
      pgsql-stop #关闭PostgreSQL

      pureftpd-restart #重启pureftpd
      pureftpd-start
      pureftpd-stop

      webserver-reload #重载web服务(包括nginx和apache,会自动判断LUM是否启用apache)
      webserver-restart
      webserver-start
      webserver-stop
      pm/ #phpMyAdmin目录
      make/
      memcached/
      mysql/
      nginx/
      conf/
      nginx.conf #nginx配置文件
      vhost.conf #nginx虚拟主机配置文件
      perl/
      php/
      php_fcgi/
      php_LuManager/
      pureftpd/
      pgsql/
      Zend/
      Zend_LuManager/
      LuManager/

      分类: 日常记事 标签:

      购买阿里云一年2990

      2012年1月22日 admin 没有评论

      image

       

      image

       

      image

      分类: 日常记事 标签:

      晚上给N18服务器打补丁

      2012年1月20日 admin 没有评论

       

      服务器有新的补丁了,晚上人少,打补丁。 补丁一百多M很庞大。

       

      image

       

      image

       

      image

      分类: 日常记事 标签:

      ename出问题了

      2012年1月18日 admin 没有评论

      ename用的是 Discuz 执行SQL 错误。

      image

      分类: 日常记事 标签:

      MySQL manager or server PID file could not be found!

      2012年1月13日 admin 没有评论

       

      今天重启MySQL数据库,提示错误“MySQL manager or server PID file could not be found!”

      一般是程序进程卡死,结束进程重新启动就可以了,登录服务器,执行命令

      查找mysql进程

      ps aux |grep mysqld

      强制终止, 多次执行

      killall mysqld 

      启动数据库

      service mysqld start

      分类: 日常记事 标签:

      网易年终小游戏

      2012年1月12日 admin 没有评论

       

      创业艰难,网易年终游戏

       

      image

       

      image

      image

       

       

       

      image

      分类: 日常记事 标签:

      体验云计算

      2012年1月5日 admin 没有评论

      image

       

      image

      分类: 日常记事 标签: