Virtualization

Make shared folder in VirtualBox permanently

First create he folder you want to share:
mkdir /mnt/shared_folder
Then open to edit the rc.local file:
nano /etc/rc.local
And add the following line:
  mount -t vboxsf -w -o uid=1000,gid=1000 my_shared_folder /mnt/shared_folder

And the last step: save, quit. Reboot

reboot


How to reset a webmin lost password

If you are useing Webmin system administration and you forget your password you will probably see how frustrating that there is not a way of remembering the password or reset it.
Webmin gives us the only possibility of authentication, but when you are not authenticated, you can not do anything. So we can not change the user password.

A solution still exist using the command line. For this, we need the installation directory, the directory configuration and the user name to reset password. If Webmin is installed in “/usr/share/webmin” and the settings are stored in “/etc/webmin” we can rewrite the admin user password by running the following command as root:

/usr/share/webmin/changepass.pl < config-dir > < login > < password >

*< config-dir >  –   is the directory where webmin settings are stored.
*< login >            –   is the username for which we want to reset password.
*< password >   -  is the new password.

Example:


Webmin: Linux administration kept simple

Webmin on Debian:
(latest version can be found here if a new version has come out http://www.webmin.com/download.html)

Run everything in root to avoid confusion

apt-get update

apt-get install wget perl libnet-ssleay-perl openssl libauthen-pam-perl libio-pty-perl libmd5-perl

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.441_all.deb

dpkg -i webmin_1.441_all.deb

rm -rvf /etc/rc*d/S*webmin*

rm -rvf /etc/rc*d/K*webmin*


Installing VMware server 2.x on Debian lenny

VMware Server can create, edit, and play virtual machines. It uses a client-server model, allowing remote access to virtual machines, at the cost of some graphical performance (and 3D support). In addition to the ability to run virtual machines created by other VMware products, it can also run virtual machines created by Microsoft Virtual PC.

1. Install required packages

apt-get install psmisc make gcc gcc-4.1 linux-headers-$(uname -r)

2. Download VMware server

Register at vmware.com, download the latest VMware server binary and upload to your server.


Installing VMware tools on lenny

This has been tested on Debian lenny running on VMware server 2.0.

Install kernel headers and some tools used to install VMware tools:

apt-get install binutils cpp gcc make psmisc linux-headers-$(uname -r)

Mount the cdrom drive. Make sure you have mounted the VMware tools virtual cd from the host before moving on.

mount /dev/cdrom /mnt/

Extract VMware tools to the tmp directory:

tar -C /tmp -zxvf /mnt/VMwareTools-x.x.x.tar.gz


Social Media

  
FeedBurner Subscribe



Categories

Page 3 of 3123
Copyright © 2012 Linux Debian Tutorials | Debian Squeeze Tutorials. All rights reserved.
↑ Back to Top