If you don't write it down somewhere...

Tuesday, March 11, 2008

Tif and BMP....

@echo off
:start
cls
@echo OPEN TIFF WITH:
@echo.
@echo 1 - Office Image
@echo 2 - Image Fax Viewer
@echo.
set /p userinp=Choose an Option (1-2) and press ENTER:
set userinp=%userinp:~0,1%
if "%userinp%"=="1" goto 1
if "%userinp%"=="2" goto 2


echo invalid choice
goto start
:2
call c:\software\tif\sanurifv.bat
pause
goto end
:1
call c:\software\tif\menu2.bat
goto end


:end
pause>nul

Sunday, March 9, 2008

CD-R drive or CD-RW drive is not recognized as a recordable device

CD-R drive or CD-RW drive is not recognized as a recordable device
Article ID
:316529
Last Review:October 16, 2007
Revision:3.0
http://support.microsoft.com/kb/316529/

Saturday, February 23, 2008

How to install VMWare Tools under CENTOS 5.1

1. Install software needed by VMware Tools

1.Install packages to build the kernel modules:

yum install gcc kernel-devel

2. Check the running kernel matches the kernel headers

uname -r # running kernel
rpm -q kernel-devel # installed kernel headers

3. If the two versions do not match, run

yum -y upgrade kernel kernel-devel
reboot

4. Find out where the kernel headers are (you may need this later)

ls -d /usr/src/kernels/$(uname -r)*/include


5. Install VMWARE TOOLS

5.1 # Extract VMware Tools to /tmp/

tar -C /tmp -zxvf VMwareTools-5.5.3-34685.tar.gz

5.2 Now run the installer

cd /tmp/vmware-tools-distrib
./vmware-install.pl

DONE!

Wednesday, October 31, 2007

Basic Unix commands

Check out this link:

http://www.ss64.com/bash/

How to access a windows share from an UBUNTU box

To access a windows share from ubuntu you must first:

1) Create a folder under the mount folder:
sudo mkdir /mnt/music

2) Make sure you have smbfs (samba smb file system support) installed:

sudo apt-get install smbfs

NOTE: samba server is not needed running.

3) Create the mount:

mount -t smbfs -o username=mike,password=128dy8 //machinenameorip/share

4) If you are connecting to a Windows 2003 server box it may require you to use enctryption. If so you can do this:
try mount -t cifs //yoursever/yourshare /mnt/somepath -o username=validserveraccount

Tuesday, October 30, 2007

Installin MarkVision Professional on UBUNTU 7.10

How to:

1) Untar the package:

tar -zxvf markvision-pro-linux-glibc2-x86.tar.gz

2) Install Sun Java:

apt-get install sun-java6-jre

3) Install RPM & alien (alien is RPM support for debian based distributions)

sudo apt-get install rpm
sudo apt-get install alien

4) Convert the rpm package to a Debian package:

sudo alien -k --scripts markvision_pro-MVPServer-11.1-1.i386.rpm

5) Install the Debian Package

sudo dpkg -i markvision-pro-mvpserver_11.1-1_i386.deb

6) Start configuration of MVPPro:

sudo /usr/local/markvision_pro/setup.mvjserver

7) Point to the java machine executable:

/usr/lib/jvm/java-6-sun-1.6.0.03/jre/bin/java

8) You Should be done!!!

MS

Installing WebMin to manage Linux in Ubuntu 7.10

Steps Needed:

1) Install these packages

sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

2) Download the latest webmin using the following command

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

Please notice that if you are behind a proxy you must first set an environment variable to contain the proxy address for wget to use it. Do:
If you are using Bourne-style shell (sh, bash, ksh) type the following command: http_proxy=http://bcproxy.ac.il:8080/ ; export http_proxy. For C-shell (csh, tcsh) type setenv http_proxy=http://bcproxy.ac.il:8080/. You may wish to add apropriate command into your .profile (Bourne-style shell users) or .login (C-shell users) files.

3) Install the package using the following command

sudo dpkg -i webmin_1.370_all.deb

4) WebMin is now available at:

https://your-server-ip:10000/

5) To enable SMART hdd monitoring in WebMin you must install smartmon tools:

sudo apt-get install smartmontools

MS