'2013/10'에 해당하는 글 4건

Check the running processes with either "ps -efl" or "ps auxww", look for references to shutdown/init and try to figure out what's going on. I'd guess there's an uninterruptible process running, init's trying to stop it but can't. You need to find it and try killing it, possibly a "kill -9" though be careful you know what it is you're killing. You could also try "init 6" or "reboot -f" to see if either of those will successfully restart your system.



WRITTEN BY
RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,

wget

카테고리 없음 2013. 10. 15. 17:51



# wget -r URL

; recursive

# wget -r -np URL

; recursive and "no_parent"

# wget -r -np -A html,htm URL

: 원하는 파일 형식

# wget -r -np -R gif,jpg,jpeg

: 제외하고픈 파일형식


WRITTEN BY
RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,

1. scan system for LVM volumes and identify in the output the volume group name (mine proved to be vg_amd)

$ sudo vgscan    


2. Activate the volume

$ sudo vgchange -ay vg_amd


3. Find the logical volume that has root filesystem (mine proved to be lv_home)

$ sudo lvs


4. Mount it

$ sudo mount /dev/vg_amd/lv_home /media -o ro,user




WRITTEN BY
RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,

ifconfig

카테고리 없음 2013. 10. 10. 14:35

ifconfig eth0 down


ifconfig eth0 xxx.xxx.xxx.yyy netmask 255.255.255.0 


route del default


route add default gw xxx.xxx.xxx.1


ifconfig eth0 up


echo "nameserver xxx.xxx.xxx.xxx" >> /etc/resolv.conf


WRITTEN BY
RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,