Archive for January, 2009

Set Date/Time in Debian

Linux

Important: use two “-” before set!

  1.      dateset 1998-11-02
  2.      dateset 21:08:0

No Comments »

admin on January 28th 2009 in Linux

Change File Association in Command Console

You need two commands to accomplish that.

  1. C:\>assoc .txt
  2. .txt=txtfile
  3.  
  4. C:\>ftype txtfile
  5. txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1

No Comments »

admin on January 28th 2009 in Windows

lowid in emule

mule

I spend hours try to find out why I have a lowid in emule. I set port forwarding in my router. Opened the ports in my firewall etc. but I still got a lowid. I scanned with an online portscanner my ports and it told me that it is opened. So what’s the problem?

It wasn’t my settings problem. It’s because there are a lot fake servers in emule and they want to get all the traffic trsough their server. So they don’t allow high ids. After fixing my server list I finally got a high id again;-)

Thanks to this post:
Fix

To get a reliable server list free of fake ones, you can follow these steps

  1. Go to Options/Security
  2. Select Filter servers too
  3. In Update from URL, type: http://emulepawcio.sourceforge.net/ipfilter.zip
  4. Click on Load.
  5. Go to Options/Server
  6. Set number of errors allowed before removing the server to 9
  7. Click List button that appears next to the option Auto update
  8. In Notepad, that is opened, write this line and remove all others if exists:
    http://www.peerates.net/servers.php
  9. Save changes in notepad
  10. Untick the options to update list of servers when connecting to new server and new client
  11. Click on Accept
  12. Go to servers window
  13. Remove all servers from static list
  14. Remove all servers from list
  15. In Update Server.met from URL, type the same URL you did in point #8
  16. Click on Update button
  17. If you have selected Autoconnect only to servers on static list add the servers you want to static list
  18. Double click on any server

No Comments »

admin on January 26th 2009 in IT, Network

Install VMWare Tools on Windows 2008 Server Core

I just installed Win2k8 Core on WMWare and tried to install VMWare as usual from the menu: VM\Install VMWare Tools… but nothing happened.

So I goggled and the solution is actually very easy:
1. Filemenu: “VM\Install VMWare Tools”
2. Command prompt run: “D:\Setup.exe”

That’s it…. have fun.

No Comments »

admin on January 22nd 2009 in Windows Server

Win2k8 – Relaunch Initial Configuration Task

After a fresh installation of Windows 2008 Server you have the handy “Initial Configurations Task” Wizard. If you have chosen “Do not show this window at logon” it won’t appear anymore. So how can you relaunch it?

Just run “oobe” from the prompt.

No Comments »

admin on January 22nd 2009 in Windows Server

Startup in Debian

I noticed that each time I restarted my os I didn’t get an IP and I had to start dhclient manually. So how do you get dhclient to start at startup?

Here are the steps you need to do:
1. vi etc/init.d/local

And put following code:

  1. #! /bin/bash
  2. dhclient

2. Make the file executable

  1. chmod +x /etc/init.d/local

3. Put it into the autostart

  1. update-rc.d local defaults 60

The smaller the number is the earlier the file will be executed.

No Comments »

admin on January 20th 2009 in Linux

Install Webserver with apt-get

apt-get commands
My source.list for “/etc/apt/source.list”

  1. deb http://ftp.au.debian.org/debian/ stable main contrib non-free
  2. deb http://security.debian.org/ stable/updates main contrib non-free

Update Apt Database

  1. apt-get update

Upgrades Installed Packages

  1. apt-get upgrade

Install Package

  1. apt-get install {package name}

Remove Package

  1. apt-get remove {package name}

Check if there are no broken dependencies

  1. apt-get check

1. Installing Apache Webserver

  1. apt-get install apache2 php5 libapache2-mod-php5

To test this create a textfile

  1. nano /var/www/test.php

Put this code in it:

  1. <?php phpinfo(); ?>

Open your browser and go to: http://ip.address/test.php or http://domain/test.php. Now you should get a generated webpage with all the information about apache/php settings.

2. Enable GD Library with PHP

  1. apt-get install php5-gd

3. Installing MySQL Database Server

  1. apt-get install mysql-server mysql-client php5-mysql

4. Change root password on mysql

  1. mysql
  2. mysql> USE mysql;
  3. mysql> UPDATE user SET Password=PASSWORD('new-password') WHERE user='root';
  4. mysql> FLUSH PRIVILEGES;

5. PhpMyAdmin Installation

  1. apt-get install phpmyadmin

The phpmyadmin configuration file is located at: /etc/phpmyadmin folder.
To setup under apache all you need to do is include the following line in /etc/apache2/apache2.conf

  1. Include /etc/phpmyadmin/apache.conf
  1. Now restart apache: /etc/init.d/apache2 restart

Point your browser to: http://domain/phpmyadmin

This is a shortcut of the detailed described installation in:
www.mysql-apache-php.com

No Comments »

admin on January 20th 2009 in Linux, MySQL, PHP




Check out new movies online website. Download and buy movies now.
1