To install:
# yum install yum-plugin-remove-with-leaves
To use:
# yum remove --remove-leaves <package-name>
That's all folks :)
# yum install yum-plugin-remove-with-leaves
# yum remove --remove-leaves <package-name>
$ rpm -qi alacarte
Name : alacarte Relocations: (not relocatable)
Version : 0.12.4 Vendor: Fedora Project
Release : 1.fc12 Build Date: Tue 22 Sep 2009 08:41:26 AM MYT
Install Date: Sat 13 Nov 2010 07:17:32 AM MYT Build Host: xenbuilder4.fedora.phx.redhat.com
Group : Applications/System Source RPM: alacarte-0.12.4-1.fc12.src.rpm
Size : 367423 License: LGPLv2+
Signature : RSA/8, Thu 01 Oct 2009 03:42:28 AM MYT, Key ID 9d1cc34857bbccba
Packager : Fedora Project
URL : http://www.gnome.org
Summary : Menu editor for the GNOME desktop
Description :
Alacarte is a graphical menu editor that lets you edit, add, and delete
menu entries. It follows the freedesktop.org menu specification and
should work with any desktop environment that uses this specification.
# yum install alacarte -y
That's all folks
# echo "xen.independent_wallclock=1" >> /etc/sysctl.conf
Activate the change# sysctl -p
Append extra="clocksource=jiffies" to the domU's configuration file.# echo "extra=\"clocksource=jiffies\"" >> /etc/xen/<domU's name>.cfg
# echo "xen.independent_wallclock=1" >> /etc/sysctl.conf
Activate the change# sysctl -p
Append jiffies to /sys/devices/system/clocksource/clocksource0/current_clocksource# echo "jiffies" >> /sys/devices/system/clocksource/clocksource0/current_clocksource
$ ssh -D 8080 foo@machine1.example.com
Once connected, set your browser to use Socks5 proxy on port 8080 on your local machine. For firefox, the setting is "Tools -> Options -> Advanced -> Network -> Settings -> Manual proxy configuration" and follow below picture for the proxy setting. Just make sure to keep the ssh connection connected to reap the ssh proxy benefits :)$ echo "export LANG=c" >> .bashrc
# chage -d 0 foo
where -d is for lastday. When we set it to 0, it will ask for password change the first time foo logs in.# yum install httpd-devel apr apr-devel libtool
# cd /opt
# wget http://www.fastcgi.com/dist/mod_fastcgi-current.tar.gz
# tar -xvzf mod_fastcgi-current.tar.gz
# cd mod_fastcgi-2.4.6
# cp Makefile.AP2 Makefile
# make top_dir=/usr/lib/httpd
# make install top_dir=/usr/lib/httpd
# /etc/init.d/httpd restart
# grep -i "FastCGI" /var/log/httpd/error_log
[Wed Aug 11 12:26:27 2010] [notice] FastCGI: process manager initialized (pid 8853)
# cd /etc/yum.repos.d
# wget http://centos.karan.org/kbsingh-CentOS-Extras.repo
# sed -i "s/enabled=0/enabled=1/g" /etc/yum.repos.d/kbsingh-CentOS-Extras.repo
# yum install mod_fcgid
# /etc/init.d/httpd restart
# httpd -t -D DUMP_MODULES
$ sudo apt-get install chntpw
$ sudo mount /dev/sda1 /mnt
$ cd /mnt/Windows/System32/config
List all user in the SAM record$ chntpw -l SAM
Interactively edit user credential$ chntpw -i SAM
# hdparm -i /dev/sda
# sdparm /dev/sda
# fdisk -lu /dev/sda
# yum install nbtscan
# nbtscan 10.0.0.100
# nbtscan 10.0.0.0/24
# nbtscan 10.0.0.10-100
# nbtscan -h
Allow from all
Satisfy Any
ErrorDocument 503 /err/503.html
## uncomment below to enter maintenance mode
RedirectMatch 503 ^/(?!err/)
install -s wmi/Samba/source/bin/winexe /usr/local/bin/winexe
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:0C:29:C8:AA:7C
IPADDR=192.168.0.10
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.11
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
TYPE=Ethernet