Domain Name Yahoo

Easy Help Troubleshoot Your Linux Box



  

Automatic Shutdown/Restart on Windows 2000 Advance Server

Shutdown or restart command in Microsoft Windows Operating System is using external file called shutdown.exe
For windows XP, this file is included after installation the operating system.
Simply open your command prompt from Start-Run-cmd, then:

C:\> shutdown /?

You should see a complete usage instruction.

On Windows 2000 Operating System, shutdown.exe is not included. You have to get it from it’s Distribution Kit Disc.
What if the disc is gone ?
That is the common problem from people, including me.
I have search around Search Engine, Google , yahoo, bing, etc.. etc.. They all keep saying that you have to get it from The Distribution Kit or Use the third-party softwares.

One thing I dont like from Windows Operating Systems that people easily create some variant of viruses, trojans, worms, hidding inside  the windows executable files.

Here is the trick to be able Shutdown/Restart automatic on Windows 2000.
You need Windows XP connected to your Windows 2000
Use Schedule task on windows XP to shutdown/restart the windows 2000 using shutdown.exe -m \\windows2000 -f -r
To see complete usage : c:\> shutdown /?

Please note, you need to logged on as domain administrator to be able  to shutting down Windows 2000

December 7th, 2009 Posted by admin | Domain, Windows | no comments

Apache with Samba or CIFS Shared Files

Web server and File server is good to be placed on different machine.
In my case, I have web server running apache+php+mysql under Centos Box, and File Server is on Windows Advanced Server 2000. The problem is apache cannot read the php file in Windows server.

All I have done :

  1. I added line at fstab configuration
    //192.168.1.3/data/media/code cifs    username=administrator,password=   0 0
  2. I edit httpd.conf as below
    EnableMMAP off
    EnableSendfile off

That’s all, and only that. Many people pay for this solution, But I gave you FREE !!.

April 14th, 2009 Posted by admin | Apache, CentOS, Samba, Ubuntu, Windows | no comments

Ubuntu - Windows Fonts

Easy way to install various Fonts into your ubuntu box is combine it with windows fonts.
Thousands even million of free fonts are available on the net and support for windows.

  • Download those windows fonts.  remember Only the TrueTypFonts
  • Create directory windowsfonts at /usr/share/fonts/truetype
    $ sudo mkdir /usr/share/fonts/truetype/windowsfonts
  • Then copy the downloaded fonts into windowsfonts directory
    $ sudo cp /home/downloadedfolder/fonts/*.ttf /usr/share/fonts/truetype/windowsfonts
  • Finally, make those fonts cached
    $ fc-cache

That’s all folks. Hopefully this will help.

November 20th, 2008 Posted by admin | Ubuntu, Windows | no comments

Windows Fonts on Linux Box

Here is the trick to add your linux font.
This is just simple trick.

First, you must close any application related to fonts library ( openoffice, Mozilla Thunderbird, etc ).
Copy your windows fonts ( usually it is located in c:\windows\fonts ) if you cant see this folder, thats because this folder is hidden, try to show the hidden files and folder from the tools menu ( folder options).  Remember, only copy the font files not the font folder.

Then just paste it in /usr/share/font.
Thats it, the fonts loaded automatically, try to run OpenOffice Writer and see the fonts is there.

Hopefully this will help.

September 5th, 2008 Posted by admin | General, Windows | no comments