Kernel Panic after Yum Update – CentOS with Hyper-V Linux Integration Components

I am runnning CentOS 5.5 in a VM on Hyper-V. I created a fresh installation. I then installed Hyper-V Linux Integration Components. After Installing them I ran yum update. After running a “yum update”, and rebooting I received this error. Unable to access resume device (/dev/VolGroup00/LogVol01) mount: could not find filesystem ‘/dev/root’ setuproot: moving /dev failed: No such file or directory setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory switchroot: mount failed: No such file or directory Kernel panic – not syncing: Attempted to kill init! During the yum update process, it updated my kernel. Read More


Squid代理服务器简介 Squid是一种在Linux系统下使用的优秀的代理服务器软件。 squid不仅可用在Linux系统上,还可以用在AIX、Digital Unix、FreeBSD、HP-UX、Irix、NetBSD、Nextstep、SCO和Solaris等系统上。 Squid是一个缓存internet数据的一个软件,它接收用户的下载申请,并自动处理所下载的数据。也就是说,当一个用户象要下载一个主页时,它向Squid发出一个申请,要Squid替它下载,然后Squid Read More


在Debian中网卡的设置可以通过/etc/network/interfaces文件来进行,具体可分为三种不同的配置方式:DHCP自动获取、静态分配IP地址和PPPoE宽带拨号。 具体设置如下:在进行配置之前,首先进入/etc/network目录中,编辑interfaces文件: 网卡通过DHCP自动获取IP地址 # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # # The loopback network interface(配置环回口) # 开机自动激lo接口 auto lo # 配置lo接口为环回口 iface lo inet loopback # # The primary network interface Read More


1. What is custombuild?Custombuild is a tool, which can install/update: Apache 1.3, 2.0 or 2.2 AWstats Autoconf Automake cURL Dovecot Exim configuration files FreeType GD libiconv libjpeg libpng libmcrypt libmhash mod_perl MySQL PHP (with or without suPHP) 4, 5 or 6 ProFTPD Pure-FTPd SpamAssassin Webalizer Zend Optimizer Zlib Update web-applications as: Atmail Open webmail Roundcube webmail Squirrelmail webmail phpMyAdmin UebiMiau webmail 2. Why should I use it?Custombuild is able to install PHP with suPHP, all versions of PHP (4,5,6), Pure-FTPd, SpamAssassin, ProFTPD, MySQL, Exim, RoundCube webmail, Atmail lite webmail, and so on. It has an options file, Read More


DirectAdmin默认会安装WEB环境,装完的MYSQL没有给我们root密码,没法直接运行mysql_secure_installation。怎么办呢? 以下就是解决办法: 1.获得directadmin的mysql管理员密码。 路径是/usr/local/directadmin/conf/mysql.conf 2.利用mysql已经创建的MYSQL管理员账户重置ROOT密码。 mysql -u da_admin -p mysql> SET PASSWORD FOR ‘root’@’localhost’ = PASSWORD(‘newpass’); 3.运行mysql_secure-installation 会提示输入root密码,输入你刚刚重置的密码即可。 PS:转载请注明出处,谢谢! Read More


第一步:修改网卡信息   修改文件/etc/udev/rules.d/z25_persistent-net.rules 文件,原来为: protime-linux:/etc/udev/rules.d# cat z25_persistent-net.rules# This file was automatically generated by the /lib/udev/write_net_rules# program, probably run by the persistent-net-generator.rules rules file.## You can modify it, as long as you keep each rule on a single line.# MAC addresses must be written in lowercase.# PCI device 0x1022:0x2000 (pcnet32)SUBSYSTEM==”net”, DRIVERS==”?*”, ATTRS{address}==”00:0c:29:15:3a:48″, NAME=”eth0″# PCI device 0x1022:0x2000 (pcnet32)SUBSYSTEM==”net”, DRIVERS==”?*”, Read More

Ubuntu SSH: How To Enable Secure Shell in Ubuntu

SSH (Secure SHell) is possibly the best way to remotely access a Unix system – it’s very secure thanks to automatic encryption of all the traffic, and it’s also quite universal because you can do all sorts of things: access remote command line shell, forward graphics session output, establish network tunnels and set up port redirections. Today I’m going to show you how to get started with SSH in Ubuntu. Installing SSH server in Ubuntu By default, your system will have no SSH service enabled, which means you won’t be able to connect to it remotely using SSH protocol (TCP port 22). This means that installing SSH server will be one of the first post-install steps on Read More

kernal panic – not syncing: I0-apic + timer doesn’t work!

Problem Description: kernal panic – not syncing: I0-apic + timer doesn’t work! boot with apic=debug and send a report. then try booting with the ‘noapic’ option Solution: When booting, press downkey to free the Grub interface, press “e” to modify the bootline, and at the end of the line that begins with “kernel”, add in, without quotes, “noapic”, then save the file and reboot. Read More