我可以抱你吗?

外面下着雨
犹如我心血在滴
爱你那么久
其实算算不容易

就要分东西
明天不再有关系
留在家里的衣服
有空再来拿回去

不去想爱都结了果
舍不得拼命找借口
不勉强你再为了我
心不在留不准是痛

我可以抱你吗爱人
让我在你肩膀哭泣
如果今天我们就要分离
让我痛快地哭出声音

我可以抱你吗爱人
容我最后一次这样叫你
你也不得已
我会笑笑地离去
————
现在的心情,是忧忧的悲伤,世界之大,谁了解我啊,难道这就是命运注定吗?我好失败,失败人生!我不甘心!

发表在 生活点滴 | 标签为 | 留下评论

英语学习笔记3-感谢信

范文:

02/06/2013
Dear Dr. Emma Hour,
I thank you deeply for your most generous financial support for my education in univercity. I am very grateful for it. Without
your help, I may never have been able to complte my studies. Your generosity and help have been an inspiration to me.
The graduation caremony will be help next month. I will send you an invitiation card when the date is settled. Please come and
I hope to share the import moment wiht you. I am sure that you must be very happy for me.
My mom told me that you are really busy these days. Be sure to have enough rest. Hope I can see you soon.
Again, thank you for your encouragement and financial support.
Sincerly yours
Wang Lin
发表在 生活点滴 | 标签为 | 留下评论

英语学习笔记(二)-信件的格式

信件的格式:

日期
称呼,
(空一行)
正文
(空一行)
落款
签名
发表在 生活点滴 | 标签为 | 留下评论

zenoss学习(一)

zenoss我之前安装过,这个安装过程还是比较麻烦的,尤其是那个rabbitmq,如果你的主机名存在一点问题,那估计安装就会出些小问题,以前我是按照官方文档一步一步来安装的,速度非常慢,但是还是安装成功了。现在我们来按照官方脚本来自动安装下:

wget --no-check-certificate https://github.com/zenoss/core-autodeploy/tarball/4.2.3 -O auto.tar.gz
tar xvf auto.tar.gz
yum remove mysql-libs mysql* -y
cd zenoss-core-autodeplo-*
nohup ./core-autodeploy.sh &

这样就会慢慢安装好,然后在iptables里面放行8080,最后在浏览器里面输入http://ip:8080,访问测试吧!
这里有些参考资料:
1. 安装
2.文档
3.配置

发表在 监控 | 标签为 , | 留下评论

guacamole之mysql验证方式

guacamole vnc安装在以前的文章里面好像说过,但那时说的是xml验证方式,现在我们来说一说mysql验证方式的安装。步骤如下:

一、安装环境
Ubuntu 12.04 x86_64
Guacamole 0.8.0
Mysql 5.5

二 、安装开始
I、安装

cd /root
apt-get update -y
apt-get upgrade -y
apt-get install libcairo2 tomcat6 libvncserver0 libfreerdp1 libvorbisenc2 -y
wget http://jaist.dl.sourceforge.net/project/guacamole/current/binary/ubuntu-12.04-amd64/guacamole-0.8.0-ubuntu-12.04-amd64.tar.gz
wget http://jaist.dl.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-mysql-0.8.0.tar.gz
wget http://cdn.mysql.com/Downloads/Connector-J/mysql-connector-java-5.1.25.zip
tar xzvf guacamole-0.8.0-ubuntu-12.04-amd64.tar.gz
cd guacamole-0.8.0-ubuntu-12.04-amd64/
dpkg -i *.deb
apt-get install mysql-server -y

II、配置
1. guacamole支持mysql验证

cd /root
tar xzvf guacamole-auth-mysql-0.8.0.tar.gz
mkdir /var/lib/guacamole/classpath
cp guacamole-auth-mysql-0.8.0/lib/* /var/lib/guacamole/classpath
mysql -u root -p
CREATE DATABASE guacamole;
CREATE USER 'muziboke'@'localhost' IDENTIFIED BY 'your_password';
GRANT SELECT,INSERT,UPDATE,DELETE ON guacamole.* TO 'muziboke'@'localhost';
FLUSH PRIVILEGES;
[ ! -x /usr/bin/unzip ] && apt-get install unzip -y
unzip mysql-connector-java-5.1.25.zip
cp mysql-connector-java-5.1.25-bin.jar /var/lib/guacamole/classpath/
cd /root/guacamole-auth-mysql-0.8.0/schema
cat ./*.sql | mysql -u root -p guacamole
vim /etc/guacamole/guacamole.properties
//修改这个文件,增加以下内容
# Location to read extra .jar's from
lib-directory: /var/lib/guacamole/classpath
# Auth provider class
auth-provider: net.sourceforge.guacamole.net.auth.mysql.MySQLAuthenticationProvider
# MySQL properties
mysql-hostname: localhost
mysql-port: 3306
mysql-database: guacamole
mysql-username: muziboke
mysql-password: your_password

2. 修改tomcat配置文件

cd /etc/tomcat6/server.xml
//在<host> ...</host>之间,最后行加入一行
<Context path="" docBase="guacamole" debug="0" reloadable="true" />
3. 重启tomcat
service tomcat6 restart

———————————-以下部分与开发有关————————————
III、guacamole 表结构说明

发表在 linux | 标签为 | 留下评论

木子CentOS 镜像源

因为好奇163,搜狐等各大门户站点的开源镜像,于是自己瞎捣鼓,弄了个centos 镜像,目前是测试看看,希望大家不要黑我哦,谢谢大拿们!
木子镜像

发表在 linux | 标签为 , | 留下评论

英语学习笔记1

2013/05/26
作文模板:
___①____(背景),(so/and) I am writing the letter to ___②___.
The reasons for my ___③___ are as follows.First of all,___④_____.Furthermoer,____⑤____. In addition,___⑥_____.
Thank you very much for your patience and kindness in reading this letter. I am deeply sorry for any inconvenience caused thereby. I would highly appreiciate it if you coud____⑦______.I am looking forward to your early replay.

说明举例子:

I bought a Tv set yesterday from your store,but it could not work well
I learned a training course from the advertisement in the newspaper.
Our company has ordered some photographic paper and chemicals.
I am a senior student from Chinese Peiking University.
I am happy to hear that you will visit my hometown for a week.


doing sth
recommend
express my sincere thanks to sb
applying for
appologize to you / make an appology
I am writing the letter to express my disappiontment on this


recommendation
arrangements of the trip
decision
application

④⑤⑥
写3个理由,尽量用简单举行,避免写自己不会或者拿不定的单词、词汇等
First,the TV set turns off by itself.
…..


写出你的目的,一定要注意,否则别人都不知道你要他干什么

句型:
He likes to run
Peter likes dancing
The use of computers raises concern

My mother wants
I am a 20-year-old student
I can speak English fluently /well
I have worked as a receptionist in another hotel for three years

Kind patient friendly easy-going nice
I am kind to others
I can speek English well
I hope I can have salary of 5,000RMB

give / offer sb sth

发表在 生活点滴 | 标签为 | 留下评论

为了明天

某天经过和几位大牛的交流后,我深呼吸了一口气,心里明白了什么叫差距?什么叫打击?什么叫低调?什么叫奋斗?放眼看世界,那点皮毛,不值得一提,拎不出来的。为了明天:
我要低调
我要自信
我要发奋
我要坚持
……
或许3年
或许10年
也或许100年
只为明天

发表在 生活点滴 | 标签为 | 留下评论

lvm学习之实践

lvm实际操作,废话少说

创建pv
pvcreate /dev/loop8
创建vg
vgcreate vg0 /dev/loop8
创建lv
lvcreate -L 2G -n lv0 vg0

好了,这样我们就创建了一个2G的lv逻辑卷了,下面我们再整理下这里的逻辑
物理磁盘或分区=>PV物理卷=>VG卷组=>LV逻辑卷,一步一步来的。我们看下我的逻辑卷信息

lvdisplay

然后格式逻辑卷,挂载

mkfs.ext4 /dev/vg0/lv0
mount /dev/vg0/lv0 /mnt
cd /mnt
dd if=/dev/zero of=/mnt/test bs=1M count=10
df -h

OK,今天就学习到这里,下次再详细来说说这里的命令咯~

发表在 linux | 标签为 | 留下评论

linux ssh客户端工具

平时工作环境是linux,一直都使用ubuntu作为桌面办公,远程ssh服务器,直接起个终端即可,很方便!但是windows要下个工具才可以,在windows下,我一直喜欢ScureCRT工具,这个工具是要收费的,我这里有个绿色版本的,很好用,如果喜欢的可以从这里下载SecureCRT,谢谢!

发表在 linux | 标签为 , | 留下评论