CoreSwitch1>enable
CoreSwitch1
#configure
CoreSwitch1
(config)#crypto key generate dsa
DSA key generation started, this may take a few minutes................
DSA key generation complete.
CoreSwitch1
(config)#crypto key generate rsaRSA key generation started, this may take a few minutes.....
RSA key generation complete.
CoreSwitch1
(config)#ip ssh server
ID-Ten-T-Error
Nerd Notes
Thursday, 11 April 2013
Dell PowerConnect 6248 - Enable SSH
I enabled the SSH server on a Dell PowerConnect 6248 by running the following commands.
Sunday, 3 March 2013
DBAN USB Unetbootin Fix
Using Unetbootin to create a bootable
usb drive of DBAD fails on boot with the message “Could not find
ramdisk image:/ubninit”
To fix this insert the usb drive back
into a computer and open up “syslinux.cfg” in a text editor. Find
and replace all occurrences “ubninit” with “ISOLINUX.BIN” and
do the same with “ubnkern” with “DBAN.BZI”. Make sure that
you match the case.
Thursday, 31 May 2012
Installing Xen Tools on Ubuntu 10.04
I am running a Citrix Xen Server "Cluster" install. To install the Xen tools on Windows is easy and Linux a little different. Here's how I installed Xentools on my Ubuntu 10.04 virtual machines. This may work on other flavours of Linux (CentOS?) and should work on later versions of Ubuntu.
Login to your server and run:
Login to your server and run:
sudo mount /dev/cdrom1 /media
sudo /media/Linux/install.sh
Friday, 11 May 2012
Dell PowerConnect 6248 - Set Console Password
I set a console password by typing the following. (Replace "pass123" with your password)
Do not forget to exit "config mode" and type:
Typing "reload" will reboot your switch and you will be prompted to login
console> enable
console# configure
console(config)# aaa authentication login default line
console(config)# aaa authentication enable default line
console(config)# line console
console(config-line)# login authentication default
console(config-line)# enable authentication default
console(config-line)# password pass123
console(config-line)# exit
console(config)# exit
Do not forget to exit "config mode" and type:
Copy running-config startup-config
Typing "reload" will reboot your switch and you will be prompted to login
Tuesday, 8 May 2012
CentOS 5 x86_32 (may work for x64) VPS YUM Error
My CentOS VPS was getting this error.
Traceback (most recent call
last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:],
exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 178, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 345, in doCommands
self._getTs(needTsRemove)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line
101, in _getTs
self._getTsInfo(remove_only)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line
112, in _getTsInfo
pkgSack = self.pkgSack
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line
662, in <lambda>
pkgSack = property(fget=lambda self:
self._getSacks(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line
502, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.4/site-packages/yum/repos.py", line
232, in populateSack
self.doSetup()
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 79,
in doSetup
self.ayum.plugins.run('postreposetup')
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line
179, in run
func(conduitcls(self, self.base, conf,
**kwargs))
File "/usr/lib/yum-plugins/fastestmirror.py", line 181, in
postreposetup_hook
all_urls =
FastestMirror(all_urls).get_mirrorlist()
File "/usr/lib/yum-plugins/fastestmirror.py", line 333, in
get_mirrorlist
self._poll_mirrors()
File "/usr/lib/yum-plugins/fastestmirror.py", line 376, in
_poll_mirrors
pollThread.start()
File "/usr/lib/python2.4/threading.py", line 416, in start
_start_new_thread(self.__bootstrap, ())
thread.error: can't start new
thread
The first time I fixed this I typed the following into the command
line:
rm /dev/urandom
mknod
-m 644 /dev/urandom c 1 9
Nano
/etc/yum/pluginconf.d/fastestmirror.conf" and set
"enable=0"
Since I have edited that file I no longer have the error
Subscribe to:
Posts (Atom)