X-Frame-Options
HTTP 响应头是用来给浏览器指示允许一个页面可否在 <frame>
, <iframe>
或者 <object>
中展现的标记。网站可以使用此功能,来确保自己网站的内容没有被嵌到别人的网站中去,也从而避免了点击劫持 (clickjacking) 的攻击。
Popular Articles
Recent Stories
There is no translation available.
Odoo is very well known ERP system today. Odoo 9 provides great features that will help to grow business. By default odoo runs over port 8069. So we are accessing server using domain:8069. What if we need to access server using only domain like a standard website? We can do it by configuring web server with odoo. Here I am going to show you configuration of Apache web server for odoo.
There is no translation available.
locale -a
显示支持的语言
vi /etc/default/locale
编辑使用的语言
There is no translation available.
1. 先升级:
sudo apt-get update
2. 然后添加PPA:
sudo add-apt-repository ppa:ondrej/php
There is no translation available.
FFmpeg has been removed from Ubuntu 14.04 and was replaced by Libav. This decision has been reversed so that FFmpeg is available now in Ubuntu 15.04 again, but there is still no official package for 14.04. In this tutorial, I will show you how to install FFmpeg from mc3man ppa. Add the mc3man ppa:
There is no translation available.
按照目录大小排序,以M为单位,不显示子目录
du -h --block-size=m --max-depth=1 |sort -n
There is no translation available.
Cron是Linux系统中最有用的工具之一,cron作业是在指定时间到来时被调度执行的作业。 最常见的自动化系统管理和自动维护工作,比如每天发出的按计划完成了备份的通知,或者是按计划定时清理/tmp/目录的通知。还有很多Web应用程序也需要执行定时作业。 本文讲述了Cron的工作机制,你可以用cron实现调度作业作业。Cron本身是一个守护进程,在后台运行,通过配置文件“crontab”来根据时间调度指定的作业执行。
There is no translation available.
cp -a [dir1]/. [dir2]
如果没有加“/.” 则变成连同把dir1这个文件夹一起复制到dir2下。