??xml version="1.0" encoding="utf-8" standalone="yes"?>中文字幕亚洲图片,久久久婷婷五月亚洲97号色,亚洲私人无码综合久久网 http://www.tkk7.com/bukebushuo/category/39106.html随心所Ԍ无往不利Q?/description>zh-cn Fri, 24 Dec 2010 16:19:03 GMT Fri, 24 Dec 2010 16:19:03 GMT 60 H破VMware Workstation 虚拟机网卡MAC地址限制 http://www.tkk7.com/bukebushuo/archive/2010/09/30/333561.html蓝剑 蓝剑 Thu, 30 Sep 2010 08:25:00 GMT http://www.tkk7.com/bukebushuo/archive/2010/09/30/333561.html http://www.tkk7.com/bukebushuo/comments/333561.html http://www.tkk7.com/bukebushuo/archive/2010/09/30/333561.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/333561.html http://www.tkk7.com/bukebushuo/services/trackbacks/333561.html 版权声明Q?/strong>原创作品Q允许{载,转蝲时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将q究法律责Q?a >http://slmagicbox.blog.51cto.com/194074/175415
环境Q?br />
虚拟Y件版本:VMware-Workstation 6.5.1 build-126130
虚拟机Guest OSQ?Windows 2003 R2 SP2 体中文版
场景Q?br />
׃软glicensel定到操作系lMAC地址Q但是VMware Workstation限制虚拟机Guest OS的静态MAC地址必须?00:0c:29:xx:yy:zz
解决ҎQ?br />
~辑虚拟机VMX文gQ添加或修改以下?br />
ethernet0.present = "true"
ethernet0.checkMACAddress = "FALSE"
ethernet0.addressType = "static"
ethernet0.address = "00:11:43:5a:e0:9f"
]]> CentOS上PHP5.3q接MySQL出现登陆错误的解x?/title> http://www.tkk7.com/bukebushuo/archive/2010/06/30/324877.html蓝剑 蓝剑 Wed, 30 Jun 2010 06:07:00 GMT http://www.tkk7.com/bukebushuo/archive/2010/06/30/324877.html http://www.tkk7.com/bukebushuo/comments/324877.html http://www.tkk7.com/bukebushuo/archive/2010/06/30/324877.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/324877.html http://www.tkk7.com/bukebushuo/services/trackbacks/324877.html
1、编辑my.cnf注释掉一下行Q?br />
old_passwords = 1
2、重启MySQL
service mysqld restart
/etc/inint.d/mysqld restart
3、检查是否有16位的密码
SELECT user, Length(`Password`) FROM `mysql`.`user`;
4、如果有Q把对应的用户名密码用以下SQL更新
UPDATE mysql.user SET Password = PASSWORD('password') WHERE user = 'username';
5、更新后要刷?br />
FLUSH PRIVILEGES;
]]> CentOS上Oracle的问?/title> http://www.tkk7.com/bukebushuo/archive/2010/06/29/324772.html蓝剑 蓝剑 Tue, 29 Jun 2010 05:41:00 GMT http://www.tkk7.com/bukebushuo/archive/2010/06/29/324772.html http://www.tkk7.com/bukebushuo/comments/324772.html http://www.tkk7.com/bukebushuo/archive/2010/06/29/324772.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/324772.html http://www.tkk7.com/bukebushuo/services/trackbacks/324772.html 今天在启动服务器上的ORACLE旉到如下错误:
SQL> startup;
ORA-00119: invalid specification for system
parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved
network name 'LISTENER_ORCL'
然后Q在|上找了一些资料,解决了此问题?/p>
解决的方式如下(q是|上的一位达x案,我照他的步骤利解决Q不q决定还是做一个笔讎ͼQ?/p>
W一步:复制一份pfile参数文gQ注意:oracle中的pfile指的是init<sid>.ora文gQ?/strong>
$ ./sqlplus / as sysdba;
SQL> create pfile from spfile='/opt/ora11/oracle/dbs/spfilesouask.ora';
W二步:修改pfile参数文gQ也即修改init<sid>.ora文gQ?/strong>
l过W一步以后,你就会在$ORACLE_HOME/dbs目录下发现有q么一个文件init<sid>.oraQ这是你第一步创?
的文件。由于我的oracle实例名ؓorclQ所以我的pfile文g为initorcl.ora?/p>
用gedit打开Q找?font color="#ff0000">local_listenerq一行,然后其g改ؓQ?/font>
(ADDRESS_LIST=(Address=(Protocol=tcp)
(Host=your_hostname)(Port=1521)))
其中的your_hostnameZ的主机名Q其实导致ORA-00119和ORA-00132?
误的原因很可能是你修改了你的hostnameQ但是我看了一下我的tnsname.ora文g里面的那个LISTENER_ORCL(可能你不是这?
名字)和后面修改的your_hostname一_我做的只是将tnsname.ora文g中的(ADDRESS_LIST=(Address=
(Protocol=tcp)
(Host=your_hostname)(Port=1521)))复制到pfile文g?#8220;local_listener=”后面Q然后就利启动?
数据库,我也不知道ؓ什么直接用*.local_listener='LISTENER_ORCL'找不到Q而一定要*.local_listener='(ADDRESS_LIST=(Address=(Protocol=tcp)
(Host=your_hostname)(Port=1521)))'才可以,q个问题以后研究一?/font>?/font>
以下是我的一个修Ҏ例:
修改之前可能是这?/font>
*.local_listener='LISTENER_ORCL'
修改后的值大概就是这个样子了
*.local_listener='(ADDRESS_LIST=(Address=(Protocol=tcp)
(Host=your_hostname)(Port=1521)))'
然后保存退?/font>
W三步:以pfile创徏spfile
使用以下命o创徏spfile
SQL> create spfile from pfile='/opt/ora11/oracle/dbs/initsouask.ora';
W四步:启动数据?/strong>
SQL> startup;
]]>Linux下MySQL的操?/title> http://www.tkk7.com/bukebushuo/archive/2010/06/28/324668.html蓝剑 蓝剑 Mon, 28 Jun 2010 06:20:00 GMT http://www.tkk7.com/bukebushuo/archive/2010/06/28/324668.html http://www.tkk7.com/bukebushuo/comments/324668.html http://www.tkk7.com/bukebushuo/archive/2010/06/28/324668.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/324668.html http://www.tkk7.com/bukebushuo/services/trackbacks/324668.html mysqldump -u 用户?-p 数据库名 > 导出的文件名
mysqldump -u wcnc -p smgp_apps_wcnc > wcnc.sql
2.导出一个表
mysqldump -u 用户?-p 数据库名 表名> 导出的文件名
mysqldump -u wcnc -p smgp_apps_wcnc users> wcnc_users.sql
3.导出一个数据库l构
mysqldump -u wcnc -p -d --add-drop-table smgp_apps_wcnc
>d:wcnc_db.sql
-d 没有数据 --add-drop-table 在每个create语句之前增加一个drop table
4.导入数据?/p>
常用source 命o
q入mysql数据库控制台Q?/p>
如mysql -u root -p
创徏I数据库
mysql>CREATE DATABASE dbname;
mysql>use 数据?/p>
然后使用source命oQ后面参Cؓ脚本文g(如这里用到的.sql)
mysql>source d:wcnc_db.sql Q注Q如果写成source
d:"wcnc_db.sqlQ就会报语法错误Q?/p>
5、远E访问MySQL的设|?br />
mysql默认是不允许q程q接的,因ؓ有很大的安全隐患,所以需要手动增加可以远E访问数据库的用戗?br />
mysql -u root -p
grant select,insert,update,delete on *.* to root@"202.11.10.253"
Identified by "dboomysql";
----允许地址202.11.10.253上用root用户Q密码dboomysql来连接mysql的所有数据库Q付l?
select,insert,update,delete权限?br />
grant all on *.* to root@"202.11.10.253" Identified by "dboomysql"
----允许地址202.11.10.253上用root用户Q密码dboomysql来连接mysql的所有数据库Q付l所有权限?br />
GRANT ALL PRIVILEGES ON dbname.* TO db_root_name@"%" IDENTIFIED BY "db_root_passwd";
----让用h从Q意地址讉K某数据库的全部权?br />
q可能需要修攚w|文Ӟ
vi /etc/mysql/my.cnf
bind-address = 127.0.0.1 --> bind-address = 0.0.0.0
6、修改密?br />
mysqladmin -u root password 'newpassword' 更改密码
7、显CZ文ؕ码解?修改my.cnf
[client]
default-character-set=GBK
[mysqld]
default-character-set=GBK
init_connect='SET NAMES gbk'
或者执行以下语句:
SET character_set_client = utf8 ;
SET character_set_connection = utf8 ;
SET character_set_database = utf8 ;
SET character_set_results = utf8 ;
SET character_set_server = utf8 ;
SET collation_connection = utf8 ;
SET collation_database = utf8 ;
SET collation_server = utf8 ;
使用命o SHOW VARIABLES LIKE 'character%';查看数据库编?br />
需要特别注?如果是SUPER用户比如rootq行数据库连接查询,则上q配|中的init_connect不会起作用,
此时只能在查询数据库前先执行Qmysql_query('SET NAMES gbk');才可以?br />
]]> 关于.bash_profile?bashrc的区?/title> http://www.tkk7.com/bukebushuo/archive/2010/06/06/322874.html蓝剑 蓝剑 Sun, 06 Jun 2010 01:26:00 GMT http://www.tkk7.com/bukebushuo/archive/2010/06/06/322874.html http://www.tkk7.com/bukebushuo/comments/322874.html http://www.tkk7.com/bukebushuo/archive/2010/06/06/322874.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/322874.html http://www.tkk7.com/bukebushuo/services/trackbacks/322874.html /etc/profile:此文件ؓp?
l的每个用户讄环境信息 ,当用L一ơ登录时,?
文g被执?/span>.
q从/etc/profile.d?
录的配置文g中搜?/span>shell的设|?
/etc/bashrc:?
每一个运?/span>bash shell的用h行此文g.?span>bash
shell 被打开?该文件被d.
~/.bash_profile:?
个用户都可用该文g输入专用于自׃用的 shell信息,?
用户d?/span>,?br />
文g仅仅执行一??
认情况下 ,他设|一些环境变?执行用户?bashrc?
?/span>.
~/.bashrc:该文件包含专用于你的bash
shell 的bash信息,?
d时以及每ơ打开新的 shell??br />
?
文g被读?/span>.
~/.bash_logout:当每ơ退出系l?退
?/span>bash shell)?执行该文?span>.
另外,/etc/profile中设定的变量(?
局 )的可以作用于M用户,而~/.bashrc{?
中设定的变量 (局?只能l承/etc/profile?
的变?/span>,他们?父子"?
p?/span>.
~/.bash_profile 是交互式?span>login
方式q入 bash q行?span>
~/.bashrc
是交互式 non-login 方式q入
bash q行?br />
通常二者设|大致相同,所以通常前者会调用
后者?/span>
]]> CentOS安装MySQL http://www.tkk7.com/bukebushuo/archive/2010/06/04/322779.html蓝剑 蓝剑 Fri, 04 Jun 2010 09:42:00 GMT http://www.tkk7.com/bukebushuo/archive/2010/06/04/322779.html http://www.tkk7.com/bukebushuo/comments/322779.html http://www.tkk7.com/bukebushuo/archive/2010/06/04/322779.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/322779.html http://www.tkk7.com/bukebushuo/services/trackbacks/322779.html
yum install mysql mysql-devel mysql-server
2、设定运行?br />
chkconfig --levels 235 mysqld on
3、启?br />
/etc/init.d/mysqld start
4、检查运行状?br />
netstat -tap | grep mysql
5、修改密?br />
mysqladmin -u root password yourrootsqlpassword
mysqladmin -h server1.example.com -u root password yourrootsqlpassword
]]> CentOS配置VSFTPD的注意事?/title> http://www.tkk7.com/bukebushuo/archive/2010/06/04/322761.html蓝剑 蓝剑 Fri, 04 Jun 2010 08:14:00 GMT http://www.tkk7.com/bukebushuo/archive/2010/06/04/322761.html http://www.tkk7.com/bukebushuo/comments/322761.html http://www.tkk7.com/bukebushuo/archive/2010/06/04/322761.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/322761.html http://www.tkk7.com/bukebushuo/services/trackbacks/322761.html
setsebool -P ftpd_disable_trans 1
2、检查所有用?br />
cat /etc/passwd |cut -f 1 -d :
3、追加FTP用户
useradd -s /sbin/nologin -d /app/www/news.9ask.cn cmsnews
4、追加用户后立刻修改密码
passwd
5、设定运行?br />
chkconfig --levels 235 vsftpd on
]]> CentOS不更新内核的Ҏ http://www.tkk7.com/bukebushuo/archive/2010/06/04/322708.html蓝剑 蓝剑 Fri, 04 Jun 2010 03:05:00 GMT http://www.tkk7.com/bukebushuo/archive/2010/06/04/322708.html http://www.tkk7.com/bukebushuo/comments/322708.html http://www.tkk7.com/bukebushuo/archive/2010/06/04/322708.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/322708.html http://www.tkk7.com/bukebushuo/services/trackbacks/322708.html
比如从CentOS5.4升到CentOS5.5
如果不想升内核Ҏ有两?
1.修改yum的配|文?vi /etc/yum.confQ在[main]的最后添加exclude=kernel*
2.直接在yum的命令行执行如下的命令:
yum --exclude=kernel* update
]]> CentOS5.4 升?5.5 http://www.tkk7.com/bukebushuo/archive/2010/06/03/322632.html蓝剑 蓝剑 Thu, 03 Jun 2010 08:25:00 GMT http://www.tkk7.com/bukebushuo/archive/2010/06/03/322632.html http://www.tkk7.com/bukebushuo/comments/322632.html http://www.tkk7.com/bukebushuo/archive/2010/06/03/322632.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/322632.html http://www.tkk7.com/bukebushuo/services/trackbacks/322632.html 1、先修改更新源ؓ国内的更新源
# cd /etc/yum.repos.d
# mv CentOS-Base.repo CentOS-Base.repo.save
# wget http://centos.ustc.edu.cn/CentOS-Base.repo
2?/span>清理D留文g然后更新标准库,再升U?br />
# yum clean all
# yum update glibc\*
# yum update yum\* rpm\* python\*
# yum clean all
# yum update
# reboot
]]> Ubuntu 下安装用iSCIS http://www.tkk7.com/bukebushuo/archive/2010/02/25/313885.html蓝剑 蓝剑 Thu, 25 Feb 2010 06:30:00 GMT http://www.tkk7.com/bukebushuo/archive/2010/02/25/313885.html http://www.tkk7.com/bukebushuo/comments/313885.html http://www.tkk7.com/bukebushuo/archive/2010/02/25/313885.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/313885.html http://www.tkk7.com/bukebushuo/services/trackbacks/313885.html
.KO2s
XosXu]0 Linuxeden博客家园
9`+t&n0i myWP:A,q:U
安装iscsitarget
l0eKxll {)x^i0 sudo apt-get install iscsitarget
安装后这个包的文件有Q?br />
/usr
/usr/sbin
/usr/sbin/ietd
/usr/sbin/ietadm
zK[SmSJ_!B(W
P0 /usr/shareLinuxeden博客家园$A+i+D?
S8n;T1|
/usr/share/lintianLinuxeden
博客家园$bp6d
kW I6u
/usr/share/lintian/overrides
/usr/share/lintian/overrides/iscsitarget
/usr/share/docLinuxeden博客家园"NKn
o#rMMVP+As9w
/usr/share/doc/iscsitarget
/usr/share/doc/iscsitarget/changelog.gz
/usr/share/doc/iscsitarget/README.gz
/usr/share/doc/iscsitarget/ChangeLog.gz
/usr/share/doc/iscsitarget/README.vmwareLinuxeden博客家园T
r]7s$i
qC/u
/usr/share/doc/iscsitarget/README.Debian
/usr/share/doc/iscsitarget/copyright
/usr/share/doc/iscsitarget/changelog.Debian.gz
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/ietadm.8.gzLinuxeden博客家园/LK%m
cKKn
/usr/share/man/man8/ietd.8.gz
/usr/share/man/man5
/usr/share/man/man5/ietd.conf.5.gz
/etc
/etc/ietd.conf
/etc/initiators.allow
/etc/initiators.deny
/etc/init.d
/etc/init.d/iscsitargetLinuxeden博客家园;fKa`([4|
`
?
装open-iscsi
sudo
apt-get install open-iscsi
安装后这个包的文件有Q?br />
/bin
/sbin
/sbin/iscsiadm
/sbin/iscsi-iname
/sbin/iscsi_discovery
/sbin/iscsid
/varLinuxeden博客家园hy~-v0j
])jP
/var/libLinuxeden博客家园xp;
{p7w3i2cK_
/var/lib/open-iscsiLinuxeden
博客家园7|/ATf?&R!g
/etc
s;rR0D;{1h-j-H3U0 /etc/init.d
/etc/init.d/open-iscsi
/etc/iscsi
/etc/iscsi/iscsid.conf
/etc/iscsi/initiatorname.iscsi
.K0?:"-a.f!qh
z0 /usr
/usr/share
/usr/share/doc
/usr/share/doc/open-iscsiLinuxeden博客家园$`1g%n/s
mK`5Jw
/usr/share/doc/open-iscsi/README.gz
/usr/share/doc/open-iscsi/README.Debian
/usr/share/doc/open-iscsi/copyright
/usr/share/doc/open-iscsi/changelog.Debian.gzLinuxeden博客家园G&@!]HK
L#g}-Ni
/usr/share/manLinuxeden
博客家园2YOj Xa"~9w'B+G%_
/usr/share/man/man8
(_Z2q$yi.e+K
vKLZ0 /usr/share/man/man8/iscsi-iname.8.gz
/usr/share/man/man8/iscsid.8.gz
/usr/share/man/man8/iscsiadm.8.gz
修改你的
target name
~?
?etc/ietf.conf
iqn.YYYY-MM.com.example:anyname.you.want
其中
YYYY-MM是你购买q个域名的时_因ؓ域名可能卖个其他人。用上购买旉׃怕卖l其他h后就名字不唯一了。只是测试所以这行不用修改也可以?br />
修改Lun?br />
如果你导出的是整个磁盘就需要下面的格式
Lun 0
Path=/dev/sdb,Type=fileio
x"'lN"`w8B0 我们导出盘上的文g
?
此我们用下面的格?br />
7R)?$rv v;G
]1Xu0 Lun 0 Path=/tmp/templun3,Type=fileio
修改 中间??4Q防止和sda名字冲突
Lun 4
Path=/tmp/templun3,Type=fileio
k"`Y
@*TF;Q(K5u5"0 Linuxeden博客家园AV~L
fg&w
创徏E疏(spareQ文?span style="display: none;">Linuxeden?
客家?xb+d1s-f.p+OE%J
dd if=/dev/zero f=templun3 count=0 bs=1
seek=200G
重新启动
iscsitarget
sudo
/etc/init.d/iscsitarget restartLinuxeden博客
家园~}~A#x
fR*[N
tLB@k
Linuxeden博客家园f$xsB/p
/ux3Xc.O
到此为止target端就配置好了?span style="display: none;">Linuxeden
博客家园"x/^2A7h[&v2L9f
Linuxeden
博客家园l}-Ljs
initiator不需要配|,但需要执行下面的命oQ?br />
启动
open-iscsi
/etc/init.d/open-iscsi
start
首先要发C的target
iscsiadm -m
discovery -t sendtargets -p targetIP
2~8F
y'oMe0 q个时候可以列出所?target
iscsiadm
-m node
?
后登录target
iscsiadm
–m node –lLinuxeden博客家园O?
P"~s+nS
q个时候可以列出发现的新磁?span style="display: none;">Linuxeden
博客家园0F(nZk/G7A2I
sudo fdisk -lLinuxeden
博客家园?I5RR#PD"d
Linuxeden博客家园
wl)ho
h-}
现在可以格式化,挂在文gpȝ?
]]> Linux上安装VMWare Server 出现反复提示序列号不正确的解x?/title> http://www.tkk7.com/bukebushuo/archive/2010/01/20/310259.html蓝剑 蓝剑 Wed, 20 Jan 2010 09:09:00 GMT http://www.tkk7.com/bukebushuo/archive/2010/01/20/310259.html http://www.tkk7.com/bukebushuo/comments/310259.html http://www.tkk7.com/bukebushuo/archive/2010/01/20/310259.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/310259.html http://www.tkk7.com/bukebushuo/services/trackbacks/310259.html
export LANG=en_US.UTF-8
之后p正常输入验证码跟启动vmware?
]]> CentOS 5.4 安装和卸载桌?/title> http://www.tkk7.com/bukebushuo/archive/2009/12/30/307791.html蓝剑 蓝剑 Wed, 30 Dec 2009 08:33:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/12/30/307791.html http://www.tkk7.com/bukebushuo/comments/307791.html http://www.tkk7.com/bukebushuo/archive/2009/12/30/307791.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/307791.html http://www.tkk7.com/bukebushuo/services/trackbacks/307791.html
昄pȝ已经安装的组Ӟ和可以安装的lg:
#yum grouplist
如果pȝ安装之初采用最化安装Q没有安装xwindowQ那么先安装Q?br />
#yum groupinstall "X Window System"
安装GNOME桌面环境
yum groupinstall "GNOME Desktop Environment"
安装KDE桌面环境
yum groupinstall "KDE (K Desktop Environment)"
卸蝲GNOME桌面环境
yum groupremove "GNOME Desktop Environment"
卸蝲KDE桌面环境
yum groupremove "KDE (K Desktop Environment)"
]]> CentOS 5.4 下安?iSCSI http://www.tkk7.com/bukebushuo/archive/2009/12/30/307754.html蓝剑 蓝剑 Wed, 30 Dec 2009 06:00:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/12/30/307754.html http://www.tkk7.com/bukebushuo/comments/307754.html http://www.tkk7.com/bukebushuo/archive/2009/12/30/307754.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/307754.html http://www.tkk7.com/bukebushuo/services/trackbacks/307754.html 以下说明包括服务器端和客L安装Q其实对使用者来_只需要装客户端就行?br />
[服务器iscsi-target]
1:安装
iscsitarget下蝲地址
http//iscsitarget.sourceforge.net/
最新的?0.4.15 ?br />
注意Q安装要2.6.14以上内核
W一?解压Q然后进入目?br />
#tar -zxf iscsitarget-0.4.15.tar.gz
#cd iscsitarget-0.4.15
#yum -y install gcc gcc-c++ kernel-devel
~译?最好安装好上面q些?/p>
W二步:~译E式
#make
#make install
W三步:加入到系l服务,讄开机预讑?iscsi-target
#chkconfig --add iscsi-target
#chkconfig iscsi-target on
#/etc/init.d/iscsi-target start
?iSCSI Target 端主机预设?tcp ?3260 端口来服务,所以防火墙记的开.
#iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 3260 -j ACCEPT
查看服务是否启动
# ps -C ietd
PID TTY TIME CMD
2691 ? 00:00:00 ietd
2;配置
~辑/etc/ietd.conf
####使用盘
more /etc/ietd.conf
Target iqn.2008-02.cn.sports:storage.test
Lun 0 Path=/dev/sdb,Type=fileio
Alias Test
####使用大文?br />
dd if=/dev/zero of=/iscsidisk/sharedisk1.img bs=1k count=1 seek=5000K
more /etc/ietd.conf
Target iqn.2008-02.cn.sports:storage.test
Lun 0 Path=/iscsidisk/sharedisk1.img,Type=fileio
Alias Test
查启动后的iscsi
#cat /proc/net/iet/volume
认证
/etc/initiators.allow
iqn.2008-02.cn.sports:storage.test 192.168.255.49
/etc/initiators.deny
iqn.2008-02.cn.sports:storage.test ALL
[客户端机器iscsi-initiator]
yum -y install iscsi-initiator-utils
service iscsi start
扫描
[root@centos49 ~]# iscsiadm -m discovery --type sendtargets --portal 192.168.255.30
192.168.255.30:3260,1 iqn.20080-03.com.30:storage.iscsitest
登记
[root@centos49 iscsi]# iscsiadm -m node -T iqn.20080-03.com.30:storage.iscsitest -p 192.168.255.30 --login
Login session [iface: default, target: iqn.20080-03.com.30:storage.iscsitest, portal: 192.168.255.30,3260]
注销
[root@centos49 iscsi]# iscsiadm -m node -T iqn.20080-03.com.30:storage.iscsitest -p 192.168.255.30 --logout
察看分区
fdisk -l
windows iscsi客户端下载地址
http://www.microsoft.com/downloads/details.aspx?FamilyID=12cb3c1a-15d6-4585-b385-befd1319f825&DisplayLang=en#filelist
]]> U旗 DC Server 5.0 开启远E服?/title> http://www.tkk7.com/bukebushuo/archive/2009/12/21/306808.html蓝剑 蓝剑 Mon, 21 Dec 2009 07:59:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/12/21/306808.html http://www.tkk7.com/bukebushuo/comments/306808.html http://www.tkk7.com/bukebushuo/archive/2009/12/21/306808.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/306808.html http://www.tkk7.com/bukebushuo/services/trackbacks/306808.html
一些操作上有所不同Q?br />
1、开启SSH:
手动启动 service sshd start
自动启动 chkconfig --list sshd
或者从控制面板中选择服务Q在其中LsshdQ设|ؓ自动启动Q操作与Windows基本怼Q?br />
2、root账户通过ssh登陆Q要更改sshd_config
vi /etc/ssh/sshd_config
PermitRootLogin no->yes
3、XDMCP
3.1、更?/etc/X11/xdm/xdm-config
DisplayManager.requestPort: 0 ==> !DisplayManager.requestPort: 0
3.2、更?/etc/X11/xdm/Xaccess
#* #any host can get a login window ==> * #any host can get a login window
3.3、更?/etc/X11/xdm/kdmrc
在[Xdmcp]D?Enable=true
4、重新启?br />
]]> 在linux 下运行PowerDesigner 15 Beta 2 http://www.tkk7.com/bukebushuo/archive/2009/08/30/293232.html蓝剑 蓝剑 Sun, 30 Aug 2009 14:31:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/08/30/293232.html http://www.tkk7.com/bukebushuo/comments/293232.html http://www.tkk7.com/bukebushuo/archive/2009/08/30/293232.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/293232.html http://www.tkk7.com/bukebushuo/services/trackbacks/293232.html 阅读全文 ]]> Ubuntupȝ的安全检?/title> http://www.tkk7.com/bukebushuo/archive/2009/06/24/283880.html蓝剑 蓝剑 Wed, 24 Jun 2009 02:26:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/06/24/283880.html http://www.tkk7.com/bukebushuo/comments/283880.html http://www.tkk7.com/bukebushuo/archive/2009/06/24/283880.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/283880.html http://www.tkk7.com/bukebushuo/services/trackbacks/283880.html 阅读全文 ]]> Ubuntu Server 9.04 安装VMWareServer2.01 注意事项 http://www.tkk7.com/bukebushuo/archive/2009/06/23/283728.html蓝剑 蓝剑 Tue, 23 Jun 2009 05:27:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/06/23/283728.html http://www.tkk7.com/bukebushuo/comments/283728.html http://www.tkk7.com/bukebushuo/archive/2009/06/23/283728.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/283728.html http://www.tkk7.com/bukebushuo/services/trackbacks/283728.html 阅读全文 ]]> Ubuntu常用命o大全 http://www.tkk7.com/bukebushuo/archive/2009/06/21/283427.html蓝剑 蓝剑 Sat, 20 Jun 2009 18:40:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/06/21/283427.html http://www.tkk7.com/bukebushuo/comments/283427.html http://www.tkk7.com/bukebushuo/archive/2009/06/21/283427.html#Feedback 2 http://www.tkk7.com/bukebushuo/comments/commentRss/283427.html http://www.tkk7.com/bukebushuo/services/trackbacks/283427.html 阅读全文 ]]> Ubuntu9.04 Server 旉不正的解决Ҏ http://www.tkk7.com/bukebushuo/archive/2009/06/19/283304.html蓝剑 蓝剑 Fri, 19 Jun 2009 15:04:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/06/19/283304.html http://www.tkk7.com/bukebushuo/comments/283304.html http://www.tkk7.com/bukebushuo/archive/2009/06/19/283304.html#Feedback 1 http://www.tkk7.com/bukebushuo/comments/commentRss/283304.html http://www.tkk7.com/bukebushuo/services/trackbacks/283304.html 装完8.04升前需要先把时间设|正,否则升?.04后本地时间将不一致? 很不q,有一台服务器升?.04前未调整旉Q就出现了上面情况,通过多种Ҏ均不?nbsp; 阅读全文 ]]> ubuntu 9.04下架构extmail邮g服务?---补充 http://www.tkk7.com/bukebushuo/archive/2009/06/18/283060.html蓝剑 蓝剑 Thu, 18 Jun 2009 07:31:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/06/18/283060.html http://www.tkk7.com/bukebushuo/comments/283060.html http://www.tkk7.com/bukebushuo/archive/2009/06/18/283060.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/283060.html http://www.tkk7.com/bukebushuo/services/trackbacks/283060.html ubuntu 9.04下架构extmail邮g服务?/a>》以及?a >ubuntu9.04下架构extmail服务器-最新篇?-作者:阛_ q行实践Q?
其中一些不太明了的地方q行了补充说明?
]]> Ubuntu Server8.04 直接升?9.04 http://www.tkk7.com/bukebushuo/archive/2009/06/09/281019.html蓝剑 蓝剑 Tue, 09 Jun 2009 13:38:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/06/09/281019.html http://www.tkk7.com/bukebushuo/comments/281019.html http://www.tkk7.com/bukebushuo/archive/2009/06/09/281019.html#Feedback 3 http://www.tkk7.com/bukebushuo/comments/commentRss/281019.html http://www.tkk7.com/bukebushuo/services/trackbacks/281019.html 而直接安?.04到选择语言时就LQ所以先安装8.04 然后再升U? ׃普通的方式要升U成9.04必须先升U到8.10Q而IA64版无8.10Q? 所以需要经q特别处理直接升U到9.04 阅读全文 ]]> REDHAT 5.3 开启远E桌面ƈ使用 xmanager q接 http://www.tkk7.com/bukebushuo/archive/2009/06/08/280685.html蓝剑 蓝剑 Mon, 08 Jun 2009 09:04:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/06/08/280685.html http://www.tkk7.com/bukebushuo/comments/280685.html http://www.tkk7.com/bukebushuo/archive/2009/06/08/280685.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/280685.html http://www.tkk7.com/bukebushuo/services/trackbacks/280685.html
2Q安装xmanager 3.0
3: 安装完xmanager后有个xshell,q行它可以连接到redhat?br />
4Q在xshell中运行gdmsetupQ配|xdmcp
5Q最重要的在xshell中运行(因ؓredhat安装了防火墙Q把端口l禁止了要打开它)
1. #setup
2. "Firewall Configuration" --> "Enabled" --> select "ssh" and type "6003:t177/udp" behind "other Ports".
]]> Ubuntu中VirtualBox|络讄上网 http://www.tkk7.com/bukebushuo/archive/2009/05/10/269897.html蓝剑 蓝剑 Sun, 10 May 2009 07:08:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/05/10/269897.html http://www.tkk7.com/bukebushuo/comments/269897.html http://www.tkk7.com/bukebushuo/archive/2009/05/10/269897.html#Feedback 2 http://www.tkk7.com/bukebushuo/comments/commentRss/269897.html http://www.tkk7.com/bukebushuo/services/trackbacks/269897.html
VirtalBox默认提供了四个网卡供你用,q个很不错,
一般我选择桥接方式Q这样可以直接分配一个和L怼的IPQ?br />
可以直接上|了Q?br />
名称那里Q由于我有两个网卡,eth1是无U网卡,默认选择eth0
q接方式选择Bridged AdapterQ桥接)
]]> Ubuntu 中VirtualBoxH口透明的解x?/title> http://www.tkk7.com/bukebushuo/archive/2009/05/10/269894.html蓝剑 蓝剑 Sun, 10 May 2009 06:23:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/05/10/269894.html http://www.tkk7.com/bukebushuo/comments/269894.html http://www.tkk7.com/bukebushuo/archive/2009/05/10/269894.html#Feedback 1 http://www.tkk7.com/bukebushuo/comments/commentRss/269894.html http://www.tkk7.com/bukebushuo/services/trackbacks/269894.html
出现半透明状态,你可以如下处理即可解除半透明效果Q?br />
1:~辑文g
sudo gedit /usr/bin/VirtualBox
2Q在打开的文件中Q?br />
在PATHQ?#8230;…一行前加入Q?br />
export XLIB_SKIP_ARGB_VISUALS=1
3Q保存文Ӟ注销重启?br />
以后每次启动OK?br />
]]> Cairo-dock 2.0 正式发布 http://www.tkk7.com/bukebushuo/archive/2009/05/10/269882.html蓝剑 蓝剑 Sun, 10 May 2009 04:05:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/05/10/269882.html http://www.tkk7.com/bukebushuo/comments/269882.html http://www.tkk7.com/bukebushuo/archive/2009/05/10/269882.html#Feedback 2 http://www.tkk7.com/bukebushuo/comments/commentRss/269882.html http://www.tkk7.com/bukebushuo/services/trackbacks/269882.html
昄速度更快Q显C效果更强大Q不用不知道Q一用忘不了?br />
下蝲地址Q?br />
ȝ序:
http://prdownload.berlios.de/cairo-dock/cairo-dock_v2.0.0_i686.deb
插gQ?br />
http://prdownload.berlios.de/cairo-dock/cairo-dock-plug-ins_v2.0.0_i686.deb
先安装主E序Q然后插件?br />
屏幕截屏Q请查看本h的相?br />
http://www.tkk7.com/bukebushuo/gallery/39496.html
]]> Ubuntu 9.04 使用技巧集?/title> http://www.tkk7.com/bukebushuo/archive/2009/05/07/269419.html蓝剑 蓝剑 Thu, 07 May 2009 07:17:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/05/07/269419.html http://www.tkk7.com/bukebushuo/comments/269419.html http://www.tkk7.com/bukebushuo/archive/2009/05/07/269419.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/269419.html http://www.tkk7.com/bukebushuo/services/trackbacks/269419.html
lsof -i:端口?br />
或?br />
sudo netstat -anp | grep '^tcp.*LISTEN'
2Q更Ҏ间和时区
1)选择用户时区
tzselect
2)讄pȝ时区
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
3)更新|络旉
ntpdate cn.pool.ntp.org
4)讄日期到BIOS
date -s YYYYMMDD
3Q查看分区UUID/LABEL
blkid
或?br />
ls -l /dev/disk/by-uuid
ls -l /dev/disk/by-label
4: gedit中文q解决
gconf-editor->apps->gedit-2->preferences->encodings->auto_detected->GB2312
5: 安装语言选择?br />
apt-get install language-selector
安装完成后,q行以下命o卛_切换语言
gnome-language-selector
6Q安装新立得
apt-get install synaptic
安装完后直接q行 synaptic卛_
7: 安装pȝ监视?br />
apt-get install gnome-system-monitor
安装完后直接q行 gnome-system-monitor
8:安装软g源设|器
apt-get install software-properties-gtk
]]> Ubuntu 9.04 安装vsftpd 注意事项 http://www.tkk7.com/bukebushuo/archive/2009/05/04/268757.html蓝剑 蓝剑 Mon, 04 May 2009 02:53:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/05/04/268757.html
sudo apt-get install vsftpd
2Q服务重起命?br />
sudo /etc/init.d/vsftpd start 启动
sudo /etc/init.d/vsftpd restart 重v
3:修改配置文g
sudo gedit /etc/vsftpd.conf
4Q指定ftp用户根目?br />
local_root=/var/www
参考:
http://unix-cd.com/unixcd12/article_4640.html
]]> Ubuntu 9.04 Desktop 支持4G以上内存的方?/title> http://www.tkk7.com/bukebushuo/archive/2009/04/29/268247.html蓝剑 蓝剑 Wed, 29 Apr 2009 14:22:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/04/29/268247.html http://www.tkk7.com/bukebushuo/comments/268247.html http://www.tkk7.com/bukebushuo/archive/2009/04/29/268247.html#Feedback 5 http://www.tkk7.com/bukebushuo/comments/commentRss/268247.html http://www.tkk7.com/bukebushuo/services/trackbacks/268247.html
鉴于64位版本好多Y件支持不I我们装server内核
使用如下命oQ?br />
sudo apt-get install linux-restricted-modules*-server linux-image-server linux-headers-server linux-server
安装后重启升U相兌YӞ卛_
//q是切换回原来内核得命oQ?br />
sudo apt-get install linux-restricted-modules*-generic linux-image-generic linux-headers-generic linux-generic
]]> Ubuntu 9.04 ?8.10 的差?/title> http://www.tkk7.com/bukebushuo/archive/2009/04/25/267448.html蓝剑 蓝剑 Fri, 24 Apr 2009 16:01:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/04/25/267448.html http://www.tkk7.com/bukebushuo/comments/267448.html http://www.tkk7.com/bukebushuo/archive/2009/04/25/267448.html#Feedback 3 http://www.tkk7.com/bukebushuo/comments/commentRss/267448.html http://www.tkk7.com/bukebushuo/services/trackbacks/267448.html
2Q其ơ,pȝ理里面的语a支持整个变了Q?br />
q且原先是很小的一个对话框Q现在可以手动调节大了
3Q升U前的iBus不能用了Q先把ibus以及scim全部删除Q?br />
清理后再重新安装Q重新登陆后可以了?br />
4: pȝ启动和关闭画面的那个q度条现在变成线状了Q?br />
5Q不心升后,桌面上的那上下两个系l栏没了Q系l重装!有想升的要心Q?br />
6Qubuntu 9.04目前的那个IA64版本的镜像不能用Q我M四五张盘去装Q?br />
到检硬盘的地方死掉,最后只得按?.04的,然后再升U成9.04Q不q,
感觉不是很稳定,只能{到9.10了!
]]> Ubuntu 安装rpm格式文g的方?/title> http://www.tkk7.com/bukebushuo/archive/2009/04/22/267030.html蓝剑 蓝剑 Wed, 22 Apr 2009 11:09:00 GMT http://www.tkk7.com/bukebushuo/archive/2009/04/22/267030.html http://www.tkk7.com/bukebushuo/comments/267030.html http://www.tkk7.com/bukebushuo/archive/2009/04/22/267030.html#Feedback 0 http://www.tkk7.com/bukebushuo/comments/commentRss/267030.html http://www.tkk7.com/bukebushuo/services/trackbacks/267030.html 有时候,我们惌使用的Y件ƈ没有被包含到 Ubuntu 的仓库中Q而程序本w也没有提供?Ubuntu 可以使用?deb 包,你又不愿从源代码~译。但假如软g提供?rpm 包的话,我们也是可以?Ubuntu 中安装的?
Ҏ一Q?
1. 先安?alien ?fakeroot q两个工P其中前者可以将 rpm 包{换ؓ deb 包。安装命令ؓQ?
sudo apt-get install alien fakeroot
2. 需要安装的 rpm 包下载备用,假设?package.rpm?
3. 使用 alien ?rpm 包{换ؓ deb 包:
fakeroot alien package.rpm
4. 一旦{换成功,我们可以卛_使用以下指o来安装:
sudo dpkg -i package.deb
Ҏ二:
1.CODE:
sudo apt-get install rpm alien
2.CODE:
alien -d package.rpm
3.CODE:
sudo dpkg -i package.deb
]]>
վ֩ģ壺
vaר |
Ļַ |
ƷƷ߹ۿ
|
ʥһ |
99þƷƵ77 |
Ƶ |
99Ʒѹۿ |
һҳ |
97Ƶѹۿ |
ƵպƵ |
ŮѹۿˬˬˬƵ |
Ʒ߹ۿ |
Ʒһģʽ |
վ |
**aaaaaëƬ |
þþƷav鶹ͼƬ |
Ƶվ |
ɫվwww |
Ʒva鶹 |
aëƬȫ |
AVƬ߹ۿ |
99þþùƷţţĴ
|
ֳִִӲƵ |
AV뾫Ʒվ߹ۿ |
ֻˬڵƵ |
Ѿþþþþþ |
av뾫ƷƷ |
ĻmvߵӰ |
ľþþƷ1 |
Ůڵվ |
jizzѹۿ |
ƵС˵ͼƬ |
ִִӲˬƵ |
99պƷ |
һվƵ |
ƵƷ |
ѿƵվ |
ĻþþƷVA
|
˹mvƵ |
þþƷվ |
ҹӰ߹ۿ |