LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old
Rating: 2 votes, 5.00 average.

In place upgrade from RHEL 5.x to RHEL 6.x

Posted 08-17-2012 at 02:25 AM by iamswift
Updated 10-11-2012 at 01:02 AM by iamswift

Inplace upgrade from RHEL 5.x to RHEL 6.x

Recently I contacted RH for in-place upgrade from RHEL 5 to RHEL 6 and got the standard reply from RH that this kind of upgrade is not supported.
I pressed for any document that gives steps carried out when the “upgradeall” option is selected while upgrading from RHEL 5 to RHEL 6 but got the same reply, saying in-place upgrade is not supported across major releases.
Below is the list of steps I followed to get in-place upgrade...
LQ Newbie
Posted in Technical
Views 20953 Comments 0 iamswift is offline
Old

automount and umount script

Posted 08-16-2012 at 12:30 PM by ted_chou12

This is a sciprt that automounts and unmounts usb devices, because I realized my system does not consistently automount drives, and sometimes gets mounted incorreclty:
Code:
#mounts start with f
tbmounted=(f g h i j k l m n o p q r s t u v w x y z)

for each in "/dev/sd"* ; do
	mname=${each##*/}
	
	for alphabet in ${tbmounted[@]} ; do
		if [ "$mname" == "sd$alphabet" ] ; then
				mounts=$(mount | grep
...
Member
Posted in Uncategorized
Views 545 Comments 0 ted_chou12 is offline
Old

convert asf to mp3

Posted 08-15-2012 at 01:46 PM by ted_chou12

this script converts asf to mp3:
Code:
# constant variables:
tmp="/tmp/tmp.wav"

if [ "$1" == "-help" ] || [ "$1" == "-h" ] || [ "$1" == "help" ] ; then
	echo "Usage: asf2mp3 <input file> [output file]
-help           		-h	help for this help file
-version			-V	check the version of Asf2Mp3
-required			-r	check for required installs
-verbose			-v	output details (verbose)
...
Member
Posted in Uncategorized
Views 1090 Comments 0 ted_chou12 is offline
Old

cifs not able to mount by hostname only by ip (solved)

Posted 08-15-2012 at 04:50 AM by ted_chou12

Hi! I recently found when I mount by hostname using cifs, it cannot resolve the hostname, but only IP, like the following:
Code:
root:# mount -t cifs "//NAS/main" "/mnt/share/NAS"
mount error: could not resolve address for NAS: Unknown error
vector://home/ted
root:# mount -t cifs "//192.168.1.101/main" "/mnt/share/NAS"
Password for vl70@//192.168.1.101/main:
I did a search and found this post:
http://info300.net/FedoraFirewall/Hosts.php...
Member
Posted in Uncategorized
Views 8925 Comments 3 ted_chou12 is offline
Old

Improve nano and make it work with shortcuts used in windows

Posted 08-14-2012 at 04:15 PM by deskt0plinux
Updated 08-14-2012 at 04:19 PM by deskt0plinux (added note about keybinding working only for 2.x)

I use these lines in a file .nanorc in my home directory - eg:
/home/deskt0plinux/.nanorc
Code:
set autoindent
set boldtext
set brackets ""')>]}"
set const
set historylog
set matchbrackets "(<[{)>]}"
set mouse
set multibuffer
set regexp
set smarthome
set smooth
set suspend
set tabsize 4
set wordbounds
set softwrap

bind ^S writeout main
...
Member
Posted in Uncategorized
Views 893 Comments 0 deskt0plinux is offline

  



All times are GMT -5. The time now is 09:00 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration