1、蛋定:天塌不下来,任风雨来袭,我自岿然不动,操!这种境界得好好修炼,努力构建和谐社会,处理各种内部矛盾
2、健康:组织发动开展“除四害”(前列腺炎、颈脊椎病、鸡眼、痔疮等)及健康教育工作
3、效率:真抓实干,注重特色,扎实有效地推动效能建设活动
4、整合:找出路,做打算,深入学习实践科学发展观
坚持三个代表,牢记八荣八耻,以科学发展观为指导,以构建和谐社会为目的,美好的明天就在眼前,加油吧,火鸟!
1、蛋定:天塌不下来,任风雨来袭,我自岿然不动,操!这种境界得好好修炼,努力构建和谐社会,处理各种内部矛盾
2、健康:组织发动开展“除四害”(前列腺炎、颈脊椎病、鸡眼、痔疮等)及健康教育工作
3、效率:真抓实干,注重特色,扎实有效地推动效能建设活动
4、整合:找出路,做打算,深入学习实践科学发展观
坚持三个代表,牢记八荣八耻,以科学发展观为指导,以构建和谐社会为目的,美好的明天就在眼前,加油吧,火鸟!
【第一天】唐僧:悟空,你變成套套吧,今天為師要親自收拾這個女妖精。
【第二天】唐僧:悟空,你變成偉哥吧,今天為師要親自收拾這個女妖精,直到她求饒。
【第三天】唐僧:今天好無聊…悟空…你變成女妖精吧…
【第四天】唐僧: 悟空,為師已經厭倦這種生活了…你把我變成女妖精吧…
【第五天】唐僧: 悟空,你今天變成為師吧!
【第六天】唐僧: 悟空,你今天不用變了…
1、昨天没事去街上逛逛,想买件衬衫,我知道很多店都他妈的装b摆谱,一件衣服卖好几百,于是我们就直奔牌子产品班尼路,心想也就顶多一百块钱吧,我也就顶多衬这个价位的衣服,一问280,立即傻眼,妈的,真把自己当牌子了,于是回家不买了,现在随便一件衣服都几百块,真不知道衣服都是卖给谁的,比自己收入低的人一坨一坨的;也不是说自己收入过低买不起,只是觉得就那么点布太不值了,现在的钱都是自己用一滴精一滴血换来的,哪舍得买这种东西,看起来我也得像老罗一样遇到便宜的衬衫一次买它几件,这样既显得阔气又有衣服穿。
2、油价6块多了,听说in usa才4.13,注意计量单位都是升/人民币哦。
美国人真是太坏了。
1、“每个人的心中都一段小电影。”
“你在我心中永远是无码的。”
2、先生,麻烦您给我一例煎饼果子,七分熟,少少辣,多一些sauce,嗯,还有,extra egg,谢谢。
3、杜蕾丝广告:致所有使用我们竞争对手产品的人们:父亲节快乐。
4、“厚积薄发”?您的人生是一场拉稀么?
5、客官,您是打尖还是住店?我大便
6、某男,拿起了一本新出版的《男人装》杂志,才看了封面,“唰”的一下脸就白了……
想要明白这个笑话,可以用robbin williams说过的一句话来诠释:“在大脑和阴茎之间,我的血液只能够跑到其中一头……”
1、总感觉乱七八糟的,有点理不清头绪,很多事都这样,需要整理一下了
2、我越来越觉得自己是一个有点爱心泛滥的人了
3、最近在学车,这是个很讨厌的事,我一定得坚守一个纯洁的游戏规则,时间?老子跟他们耗上了!
4、对于去一个陌生的地方我一点兴奋的念头都没有了
5、我在寻找两个人,还没想到好的方法
mysql -u username -p DatabaseName
Enter password: YourPassword
...
mysql> REPAIR TABLE tablename;
...
mysql> exit
在centos中,如果selinux级别为强制,某些web访问可能会出现403 forbidden的访问错误,selinux中会提示:“SELinux is preventing the httpd from using potentially mislabeled files ()。”按照提示restorecon -v不起作用。
SELinux引入了文件的Context概念,每个文件的属性中都包含着一个Context,而这个Context又包括了 User,Role,Range,Type四种类型。传统的Linux访问控制只会通过user/group/other来实现访问控制,而 SELinux却是通过文件的Context来控制访问的。
用ls -Z可以查看文件夹中的文件的context属性,通过查看可以得知被禁止访问的文件夹属性不为httpd_sys_content_t,所以禁止访问,通过命令改变context属性即可:
chcon -t httpd_sys_content_t ‘文件夹’ -R
发生这种错误的原因需要修改/etc/php.ini
error_reporting=E_ALL^E_NOTICE
Quick fix:
chcon -R -t httpd_sys_content_t
Now for the meat:
So in Fedora Core 3 we now have SELinux enabled by default in the
installation. I decided to leave it enabled because security is a “Good
Thing” (right?) and I knew I was going to have to get familiar with it
at some point. So this was all fine and good until I ran into the first
piece of the system I wanted to work with that was affected by the
default policy that’s called “targeted”.
The “targeted” policy confines certain network daemons to run in their
own specific “security domain”. These daemons include dhcpd, httpd
(apache), named, nscd, ntpd, portmap, snmpd, squid, and syslogd.
When I setup apache on a system where it wil be utilized, I have a
habit of not using /var/www/html as my starting point for document
roots, but rather create a dir at /home/websites and place my document
roots in there. In the good ol’ days of Discretionary Access Controls
(DAC) just making sure that apache had the perms it needed to read the
documents in there was enough (using chmod, chown, and the like).
Not so with SELinux enabled. In addition to the regular DAC we’re
all used to, we now have Mandatory Access Controls (MAC) that define
security contexts for files/directories etc. Turns out it looks like by
default, apache only has access to /var/www/html when it’s fired up….
I’m guessing that and probably /var/log/httpd (which is exactly as it
should be). To enable apache to view my files in /home/websites, I had
to apply a new security context to these files. The answer to this is
the chcon command. To be brief, the full command I executed was:
chcon -R -t httpd_sys_content_t /home/websites
After executing this, apache could read my files.
Important links I found in troubleshooting:
http://fedora.redhat.com/docs/selinux-apache-fc3
http://fedora.redhat.com/docs/selinux-faq-fc3/
http://lwn.net/Articles/105409/
I like where this SELinux thing is going. Permissions done right,
for sure. This doesn’t come with out growing pains though. It’s complex
(or so it seems to me after only working with it for a couple days) and
will take some time to learn. I’m prepared for some frustration….
Now many of you are probably asking yourself why would anyone (let
alone me) want to bother with this? Well I think a simple example of
one of the cool things is that even though something like /etc/passwd
has DAC octal perms of 644 (rw-r–r–), apache still can’t read it
because that file is not with in apache’s security context. So any
users on your system can’t write a little script that reads your
/etc/passwd file and basically posts it on a web page for the world to
see (giving potential crackers a list of valid user accounts on the
system).
老子首先是人民,某些人自称是我儿子,其实我是你妈(=mlgb,不是他母亲)的奴隶,既然做奴隶,也得梦想着选个有钱的主吧,一个傻穷逼,还天天吹牛逼,当这种人的奴隶有什么前途?
凤凰网转:
如果, 一说’民主’, 你就骂人家是 ‘西奴’, 那么我问你:
你现在享受的网络和通讯, 不是西方先发明的?
你生活得以方便的所有现代设施, 不是西方先发明的?
你和领导们穿的西服,皮鞋…..不是西方先发明的?
你所崇拜和学习的科学, 不是西方来的?
你的代表在那里开会的大会堂, 不但是西方的, 而且是西方古代式的!
你口口声声说的马克思, 不是西方的?
你和你老婆接吻, 不也是西方的?
…….
好啦, 不用我多说了! 你自己看看吧, 你身处的世界, 什么不是西方先发明的?
其实, 谁先发明的并不重要, 重要的是, 人类的发明,被人类所用!!
如果, 当年的中国能早点吸纳科学, 而不顽固坚持自己的’理学’, 那中国就不会有什么’鸦片战争’, 我们更不可能现在才发展起来! 现如今, 你还反对科学吗?
放弃你那东西方的偏见吧! 就算你抗拒了民主, 你的子孙后代也一定会接受的……不过是代价高一点而已!
一个网友的回答:人类也是西方的神造出来的….圣经里是有记载的…