****************ORACLE 11G RAC***********************
Disk /dev/sdb: 2147 MB, 2147483648 bytes
67 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 4154 * 512 = 2126848 bytes
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/sdc: 2147 MB, 2147483648 bytes
67 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 4154 * 512 = 2126848 bytes
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sdd: 2147 MB, 2147483648 bytes
67 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 4154 * 512 = 2126848 bytes
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/sde: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sde doesn't contain a valid partition table
Disk /dev/sdf: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdf doesn't contain a valid partition table
Disk /dev/sdg: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdg doesn't contain a valid partition table
Disk /dev/sdh: 2147 MB, 2147483648 bytes
67 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 4154 * 512 = 2126848 bytes
Disk /dev/sdh doesn't contain a valid partition table
Disk /dev/sdi: 2147 MB, 2147483648 bytes
67 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 4154 * 512 = 2126848 bytes
Disk /dev/sdi doesn't contain a valid partition table
Disk /dev/sdj: 2147 MB, 2147483648 bytes
67 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 4154 * 512 = 2126848 bytes
Disk /dev/sdj doesn't contain a valid partition table
Disk /dev/sdk: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdk doesn't contain a valid partition table
Disk /dev/sdl: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdl doesn't contain a valid partition table
Disk /dev/sdm: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdm doesn't contain a valid partition table
Disk /dev/sdn: 2147 MB, 2147483648 bytes
67 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 4154 * 512 = 2126848 bytes
Disk /dev/sdn doesn't contain a valid partition table
Disk /dev/sdo: 2147 MB, 2147483648 bytes
67 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 4154 * 512 = 2126848 bytes
Disk /dev/sdo doesn't contain a valid partition table
Disk /dev/sdp: 2147 MB, 2147483648 bytes
67 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 4154 * 512 = 2126848 bytes
Disk /dev/sdp doesn't contain a valid partition table
Disk /dev/sdq: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdq doesn't contain a valid partition table
Disk /dev/sdr: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdr doesn't contain a valid partition table
Disk /dev/sds: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sds doesn't contain a valid partition table
Disk /dev/sdt: 2147 MB, 2147483648 bytes
67 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 4154 * 512 = 2126848 bytes
Disk /dev/sdt doesn't contain a valid partition table
Disk /dev/sdu: 2147 MB, 2147483648 bytes
67 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 4154 * 512 = 2126848 bytes
Disk /dev/sdu doesn't contain a valid partition table
Disk /dev/sdv: 2147 MB, 2147483648 bytes
67 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 4154 * 512 = 2126848 bytes
Disk /dev/sdv doesn't contain a valid partition table
Disk /dev/sdw: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdw doesn't contain a valid partition table
Disk /dev/sdx: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdx doesn't contain a valid partition table
Disk /dev/sdy: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdy doesn't contain a valid partition table
[root@localhost ~]# scsi_id -g -u -s/block/sdb
36001438005decf680001100007630000
[root@localhost ~]# scsi_id -g -u -s/block/sdc
36001438005decf680001100007670000
[root@localhost ~]# scsi_id -g -u -s/block/sdd
36001438005decf6800011000076b0000
[root@localhost ~]# scsi_id -g -u -s/block/sde
36001438005decf6800011000076f0000
[root@localhost ~]# scsi_id -g -u -s/block/sdf
36001438005decf680001100007730000
[root@localhost ~]# scsi_id -g -u -s/block/sdg
36001438005decf680001100007810000
[root@localhost ~]# scsi_id -g -u -s/block/sdh
36001438005decf680001100007630000
[root@localhost ~]# scsi_id -g -u -s/block/sdi
36001438005decf680001100007670000
[root@localhost ~]# scsi_id -g -u -s/block/sdj
36001438005decf6800011000076b0000
[root@localhost ~]# scsi_id -g -u -s/block/sdk
36001438005decf6800011000076f0000
[root@localhost ~]# scsi_id -g -u -s/block/sdl
36001438005decf680001100007730000
[root@localhost ~]# scsi_id -g -u -s/block/sdm
36001438005decf680001100007810000
[root@localhost ~]# scsi_id -g -u -s/block/sdn
36001438005decf680001100007630000
[root@localhost ~]# scsi_id -g -u -s/block/sdo
36001438005decf680001100007670000
[root@localhost ~]# scsi_id -g -u -s/block/sdp
36001438005decf6800011000076b0000
[root@localhost ~]# scsi_id -g -u -s/block/sdq
36001438005decf6800011000076f0000
[root@localhost ~]# scsi_id -g -u -s/block/sdr
36001438005decf680001100007730000
[root@localhost ~]# scsi_id -g -u -s/block/sds
36001438005decf680001100007810000
[root@localhost ~]# scsi_id -g -u -s/block/sdt
36001438005decf680001100007630000
[root@localhost ~]# scsi_id -g -u -s/block/sdu
36001438005decf680001100007670000
[root@localhost ~]# scsi_id -g -u -s/block/sdv
36001438005decf6800011000076b0000
[root@localhost ~]# scsi_id -g -u -s/block/sdw
36001438005decf6800011000076f0000
[root@localhost ~]# scsi_id -g -u -s/block/sdx
36001438005decf680001100007730000
[root@localhost ~]# scsi_id -g -u -s/block/sdy
36001438005decf680001100007810000
sdb sdc sdd sde sdf sdg
sdh sdi sdj sdk sdl sdm
sdn sdo sdp sdq sdr sds
sdt sdu sdv sdw sdx sdy
sdg
sdm
sds
sdy
多路径采用厂商自带的多路径软件生成multipath.conf如下:
[root@tmsdb1 ~]# multipath -ll
mpath2 (36001438005decf680001100007670000) dm-1 HP,HSV450
[size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=100][active]
\_ 5:0:0:2 sdc 8:32 [active][ready]
\_ 6:0:1:2 sdu 65:64 [active][ready]
\_ round-robin 0 [prio=20][enabled]
\_ 5:0:1:2 sdi 8:128 [active][ready]
\_ 6:0:0:2 sdo 8:224 [active][ready]
mpath1 (36001438005decf680001100007630000) dm-0 HP,HSV450
[size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=100][active]
\_ 5:0:1:1 sdh 8:112 [active][ready]
\_ 6:0:0:1 sdn 8:208 [active][ready]
\_ round-robin 0 [prio=20][enabled]
\_ 5:0:0:1 sdb 8:16 [active][ready]
\_ 6:0:1:1 sdt 65:48 [active][ready]
mpath6 (36001438005decf680001100007810000) dm-5 HP,HSV450
[size=100G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=100][active]
\_ 5:0:0:6 sdg 8:96 [active][ready]
\_ 6:0:1:6 sdy 65:128 [active][ready]
\_ round-robin 0 [prio=20][enabled]
\_ 5:0:1:6 sdm 8:192 [active][ready]
\_ 6:0:0:6 sds 65:32 [active][ready]
mpath5 (36001438005decf680001100007730000) dm-4 HP,HSV450
[size=200G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=100][active]
\_ 5:0:1:5 sdl 8:176 [active][ready]
\_ 6:0:0:5 sdr 65:16 [active][ready]
\_ round-robin 0 [prio=20][enabled]
\_ 5:0:0:5 sdf 8:80 [active][ready]
\_ 6:0:1:5 sdx 65:112 [active][ready]
mpath4 (36001438005decf6800011000076f0000) dm-3 HP,HSV450
[size=200G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=100][active]
\_ 5:0:0:4 sde 8:64 [active][ready]
\_ 6:0:1:4 sdw 65:96 [active][ready]
\_ round-robin 0 [prio=20][enabled]
\_ 5:0:1:4 sdk 8:160 [active][ready]
\_ 6:0:0:4 sdq 65:0 [active][ready]
mpath3 (36001438005decf6800011000076b0000) dm-2 HP,HSV450
[size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=100][active]
\_ 5:0:1:3 sdj 8:144 [active][ready]
\_ 6:0:0:3 sdp 8:240 [active][ready]
\_ round-robin 0 [prio=20][enabled]
\_ 5:0:0:3 sdd 8:48 [active][ready]
\_ 6:0:1:3 sdv 65:80 [active][ready]
[root@tmsdb1 ~]# cat /etc/multipath.conf
### Donot edit the first two lines of this file or remove this file
### HP Device Mapper Multipath Enablement Kit v4.4.1
### The Device Mapper Multipath Template configuration file for RHEL5U4
### or later releases to be used with HP Storageworks Arrays.
### Use this configuration file as your /etc/multipath.conf file.
### If you already have a valid working configuration file, refer here
### for the recommended configuration for HP arrays.
### For a list of configuration options with descriptions, please refer
### to /usr/share/doc/<multipath-tools-version>/multipath.conf.annotated
# The defaults section
defaults {
udev_dir /dev
polling_interval 10
selector "round-robin 0"
path_grouping_policy failover
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
prio_callout "/bin/true"
path_checker tur
rr_min_io 100
rr_weight uniform
failback immediate
no_path_retry 12
user_friendly_names yes
}
# The blacklist section - use this to blacklist a multipath device based on
# it's wwid ( using wwid ) or device names ( using devnode ) or
# vendor and product id ( using device block).
blacklist {
# wwid 26353900f02796769
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z][[0-9]*]"
# devnode "^cciss!c[0-9]d[0-9]*"
# device {
# vendor "HP"
# product "OPEN-*"
# }
}
# The blacklist_exceptions section - to list device names to be treated
# as multipath candidates even if they are on the blacklist.
# Note: blacklist exceptions are only valid in the same class.
# It is not possible to blacklist devices using the devnode keyword
# and to exclude some devices of them using the wwid keyword.
#blacklist_exceptions {
# wwid 2345234245647657
# devnode "sda"
# device {
# vendor "HP"
# product "OPEN-*"
# }
#}
# The multipaths section - uncomment this section to define a per multipath
# device settings.
#multipaths {
# uncomment the multipath block to modify the settings of a multipath device
# based on its wwid
#multipath {
# wwid 2039485769900000000
# alias red
# path_grouping_policy group_by_prio
# path_selector "round-robin 0"
# failback immediate
# rr_weight uniform
# no_path_retry 10
# rr_min_io 100
#}
#}
# The devices section - used to define per storage array model settings
devices {
# If you are already using a valid configuration file and do not have a
# device subsection for HP arrays, please add the appropriate device subsection
# for the respective arrays from the entries below.
# If you already have a device subsection for HP arrays which has different
# parameters from the entries below, modify it appropriately.
# For EVA A/A arrays
device {
vendor "HP|COMPAQ"
product "HSV1[01]1 \(C\)COMPAQ|HSV2[01]0|HSV300|HSV4[05]0"
path_grouping_policy group_by_prio
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
path_checker tur
path_selector "round-robin 0"
prio_callout "/sbin/mpath_prio_alua /dev/%n"
rr_weight uniform
failback immediate
hardware_handler "0"
no_path_retry 18
rr_min_io 100
}
# For HP P2000 family
device {
vendor "HP"
product "P2000 G3 FC|P2000G3 FC/iSCSI"
path_grouping_policy group_by_prio
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
path_checker tur
path_selector "round-robin 0"
prio_callout "/sbin/mpath_prio_alua /dev/%n"
rr_weight uniform
failback immediate
hardware_handler "0"
no_path_retry 18
rr_min_io 100
}
# For XP arrays
device {
vendor "HP"
product "OPEN-.*"
path_grouping_policy multibus
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
path_selector "round-robin 0"
rr_weight uniform
path_checker tur
hardware_handler "0"
failback immediate
no_path_retry 18
rr_min_io 1000
}
# For MSA A/A arrays
device {
vendor "HP"
product "MSA VOLUME*"
path_grouping_policy group_by_prio
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
path_checker tur
path_selector "round-robin 0"
prio_callout "/sbin/mpath_prio_alua /dev/%n"
rr_weight uniform
failback immediate
hardware_handler "0"
no_path_retry 18
rr_min_io 100
}
# For MSA2xxxsa arrays
device {
vendor "HP"
product "MSA2012sa|MSA2312sa|MSA2324sa"
path_grouping_policy group_by_prio
getuid_callout "/sbin/scsi_id -g -u -n -s /block/%n"
path_checker tur
path_selector "round-robin 0"
prio_callout "/sbin/mpath_prio_alua %d"
rr_weight uniform
failback immediate
hardware_handler "0"
no_path_retry 18
rr_min_io 100
}
# For MSA23xxfc and MSA23xxi arrays
device {
vendor "HP"
product "MSA2312fc|MSA2324fc|MSA2312i|MSA2324i"
path_grouping_policy group_by_prio
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
path_checker tur
path_selector "round-robin 0"
prio_callout "/sbin/mpath_prio_alua /dev/%n"
rr_weight uniform
failback immediate
hardware_handler "0"
no_path_retry 18
rr_min_io 100
}
# For MSA20xxfc, MSA22xxfc and MSA20xxi arrays
device {
vendor "HP"
product "MSA2[02]12fc|MSA2012i"
path_grouping_policy multibus
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
path_selector "round-robin 0"
rr_weight uniform
path_checker tur
hardware_handler "0"
failback immediate
no_path_retry 18
rr_min_io 100
}
# To blacklist a device by vendor and product say, to blacklist a XP device
# uncomment the below block
#device {
# vendor "HP"
# product_blacklist "OPEN-.*"
#}
}
mpath2 2G
mpath1 2G
mpath3 2G
mpath6 100G
mpath5 200G
mpath4 200G
fdisk /dev/mapper/mpath1
fdisk /dev/mapper/mpath2
fdisk /dev/mapper/mpath3
fdisk /dev/mapper/mpath4
fdisk /dev/mapper/mpath5
fdisk /dev/mapper/mpath6
/etc/sysconfig/rawdevices
/dev/raw/raw1 /dev/mpath/mpath1p1
/dev/raw/raw2 /dev/mpath/mpath2p1
/dev/raw/raw3 /dev/mpath/mpath3p1
/dev/raw/raw4 /dev/mpath/mpath4p1
/dev/raw/raw5 /dev/mpath/mpath5p1
/dev/raw/raw6 /dev/mpath/mpath6p1
/etc/rc.local
chown grid:asmadmin /dev/raw/raw1
chown grid:asmadmin /dev/raw/raw2
chown grid:asmadmin /dev/raw/raw3
chown grid:asmadmin /dev/raw/raw4
chown grid:asmadmin /dev/raw/raw5
chown grid:asmadmin /dev/raw/raw6
chmod 660 /dev/raw/raw1
chmod 660 /dev/raw/raw2
chmod 660 /dev/raw/raw3
chmod 660 /dev/raw/raw4
chmod 660 /dev/raw/raw5
chmod 660 /dev/raw/raw6
service rawdevices restart
service rawdevices stop
service rawdevices start
/dev/raw
crw-rw---- 1 grid asmadmin 162, 1 Jun 26 14:21 raw1
crw-rw---- 1 grid asmadmin 162, 2 Jun 26 14:21 raw2
crw-rw---- 1 grid asmadmin 162, 3 Jun 26 14:21 raw3
crw-rw---- 1 grid asmadmin 162, 4 Jun 26 14:21 raw4
crw-rw---- 1 grid asmadmin 162, 5 Jun 26 14:21 raw5
crw-rw---- 1 grid asmadmin 162, 6 Jun 26 14:21 raw6
################ORACLE RAC10G#########################
[root@rac1 ~]# cat /etc/sysconfig/rawdevices
# raw device bindings
# format: <rawdev> <major> <minor>
# <rawdev> <blockdev>
# example: /dev/raw/raw1 /dev/sda1
# /dev/raw/raw2 8 5
/dev/raw/raw1 /dev/mpath/mpocrp1
/dev/raw/raw2 /dev/mpath/mpvdp1
/dev/raw/raw3 /dev/mpath/mpasmp1
[root@rac1 ~]# cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
route add -host 239.192.0.9 dev eth2
route add -host 239.192.0.10 dev eth2
route add -host 239.192.0.11 dev eth2
chown root:oinstall /dev/raw/raw1
chown oracle:oinstall /dev/raw/raw2
chown oracle:dba /dev/raw/raw3
chmod 660 /dev/raw/raw1
chmod 660 /dev/raw/raw2
chmod 660 /dev/raw/raw3
echo "30">/proc/sys/net/ipv4/tcp_fin_timeout
echo "1800">/proc/sys/net/ipv4/tcp_keepalive_time
echo "0">/proc/sys/net/ipv4/tcp_window_scaling
echo "0">/proc/sys/net/ipv4/tcp_sack
echo "0">/proc/sys/net/ipv4/tcp_timestamps
service rawdevices restart
service rawdevices stop
service rawdevices start
[root@rac1 raw]# pwd
/dev/raw
[root@rac1 raw]# ll
total 0
crw-rw---- 1 root oinstall 162, 1 Jun 20 20:30 raw1
crw-rw---- 1 oracle oinstall 162, 2 Aug 6 11:37 raw2
crw-rw---- 1 oracle dba 162, 3 Aug 6 11:37 raw3
[root@rac1 raw]#
RH LINUX5.5 RAW绑定的更多相关文章
-
Linux5.5安装10g rac
以前安装总结的,现把它贴出来,虽然10g现在慢慢越少了,但也有不少生产库跑10g的. 1.vi /etc/hosts 10.168.39.243 orcldb1 10.168.39.245 ...
-
Linux平台下裸设备的绑定:
Linux平台下裸设备的绑定: 运用RAW绑定 方法一 raw的配置(1) [root@qs-dmm-rh2 mapper]# cat /etc/rc.local #!/bin/sh # # This ...
-
oracle 裸设备划分 --centos6.5
主题思想:物理卷PV->卷组VG->逻辑卷LV(类型:raw)->添加表空间 操作过程 vg_orcl 8g 一:划分 二:创建裸设备 方法1:目前最常用的方法 #c ...
-
flock SUSE/RHEL
Util-linux-2.26 Util-linux 软件包其它实用程序.包括处理文件系统.控制台.分区以及消息等工具. 大概编译时间:1.3 SBU 需要磁盘空间:137 MB 6.65.1. FH ...
-
start_udev 是不是会写磁盘头
遇到一个案例,在这里记录一下 一套Oracle 11.2.0.4 RAC环境,操作系统是RHEL 6.5,共享磁盘是通过UDEV实现RAW绑定设备名,如下 [root@rac1 opt]# ll /d ...
-
RHEL 6.9 udev 将lv绑定raw devices
环境 RHEL6|RHEL7,LVM2,RAW device 用途 使用LVM的lv逻辑卷绑定裸设备 1. 编辑 /etc/udev/rules.d/60-raw.rules 添加如下: ACTION ...
-
KnockoutJS 3.X API 第五章 高级应用(1) 创建自定义绑定
您不仅限于使用内置的绑定,如click,value绑定等,您可以创建自己的绑定. 这是如何控制视图模型如何与DOM元素进行交互,并且为您提供了大量的灵活性,以便于以复用的方式封装复杂的行为. 注册绑定 ...
-
MVC中Action参数绑定的过程
一.题外话 上一篇:MVC中Action的执行过程 ControllerContext 封装有了与指定的 RouteBase 和 ControllerBase 实例匹配的 HTTP 请求的信息. 二. ...
-
C#的Raw Socket实现网络封包监视
同Winsock1相比,Winsock2最明显的就是支持了Raw Socket套接字类型,使用Raw Socket,可把网卡设置成混杂模式,在这种模式下,我们可以收到网络上的IP包,当然包括目的不是本 ...
随机推荐
-
提高(Android)开发效率的工具与网站
Dev_Tools 写这篇不是为了"水",是因为有些工具确实不错,但是换个电脑要找到或者在某个时候你想用但是你只知道存在了书签里.然后就只能下载chrome然后登录账户同步书签了. ...
-
AOJ 0033 Ball【DFS】
有一个筒,从A口可以放球,放进去的球可通过挡板DE使其掉进B管或C管里,现有带1-10标号的球按给定顺序从A口放入,问是否有一种控制挡板的策略可以使B管和C管中的球从下往上标号递增. 输入: 第一行输 ...
-
sql 创建数据库
CREATE DATABASE [NET_CN] ON PRIMARY( NAME=N'NET_CN',FILENAME= N'D:\Data\NET_CN.mdf',SIZE = 5120KB,MA ...
-
Android程序的签名保护及绕过方法
随着Android 市场的扩大,各类盗版.破解.打包党纷纷涌现,其使用的手法无非是apk _> smali ->修改代码 ->重打包签名,为对抗此类技术,广大程序员挖掘了Androi ...
-
UIVIew之霓虹灯实现
// // AppDelegate.m // NiHongPractice // #import "AppDelegate.h" #define kColorValue arc4r ...
-
mysql5.7慢查询开启配置
1.问题 当然又被度娘(我冤枉)坑了噻,网友说配置文件写下面三行: log-slow-queries=D:\Program Files\mysql-5.7.11-winx64\data\low.log ...
-
MongoDB Linux下的安装和启动(转)
1. 下载MongoDB,此处下载的版本是:mongodb-linux-i686-1.8.1.tgz.tar. http://fastdl.mongodb.org/linux/mongodb-linu ...
-
C语言完美体系
**第 1 篇 C 语言第一阶段 13 1.1C 语言第一阶段--语言课程概述 13 1.1.1 什么是语言,什么是 C 语言 13 1.1.2 基本常识 14 1.1.3 人与计算机之间的更好的交互 ...
-
把路由器改装成git服务器(OpenWRT环境的GIT服务器搭建)
在单位中,通常都标配了git服务器用来管理代码. 对于家庭或者小办公室,这种方式有点不经济.当然如果是开源项目就简单了,刚刚被微软收购的github是理想选择.但如果没有打算开源,我今天的话题可能对你 ...
-
Semi-prime H-numbers POJ - 3292 打表(算复杂度)
题意:参考https://blog.csdn.net/lyy289065406/article/details/6648537 一个H-number是所有的模四余一的数. 如果一个H-number是H ...