Archive for the 'IT' Category

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:

2. Make the file executable

3. Put it into the autostart

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”

Update Apt Database

Upgrades Installed Packages

Install Package

Remove Package

Check if there are no broken dependencies

1. Installing Apache Webserver

To test this create a textfile

Put this code in it:

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

3. Installing MySQL Database Server

4. Change root password on mysql

5. PhpMyAdmin Installation

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

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

Useful Windows Shortcuts you should know

Windows Buttons
[ Windows Button ] + Pause System Properties
[ Windows Button ] + D Desktop
[ Windows Button ] + E Explorer
[ Windows Button ] + F Search File and Folders
[ Windows Button ] + R Run
 
Command Run [ Windows Button ]
compmgmt.msc /computer=<computernamme> Open Computer Management Console for another Computer
appwiz.cpl Add and Remove Programs
ncpa.cpl Network Settings
firewall.cpl Firewall Settings
mstsc Remote Desktop Console
services.msc Services Management Console
eventvwr.msc Event Viewer
sndvol32 Change Sound Volume
control Control Panel
winword Run Word
powerpoint Run Powerpoint
excel Run Excel
rsop.msc Applied Group Policy
 
In Explorer
New Folder in Vista Alt F W F

There are much more shortcuts but these are the ones I use a lot.

No Comments »

admin on October 28th 2008 in General, Windows

Folders Space Allocations Sorted by Size

du -h –max-depth=1 | sort -n -r

No Comments »

admin on October 15th 2008 in Linux

Mysql Date Format

SELECT DATE_FORMAT(now(), ‘%d-%m-%y %H:%i:%s’);

No Comments »

admin on August 29th 2008 in IT, MySQL

Make money of forums or other content

I had some computer errors today so the first thing I usually do if I don’t know the error is jump on google and search for it. So I found a couple forums about that matter. Suprisingly I noticed that there were a couple of forums overlapping with exactly the same question + answers. Second thing I noticed is a lot of ads.
So if you put this two things together you will figure it out that somebody tries to make money out of it and it works like this. You design special for search engine optimized webpages and you steal content from other webpages, you get a content changing money making machine.

No Comments »

admin on July 31st 2008 in Internet

PHP Pear

I just had to do a project in php and I used pear for the form validation and email authentication. I need to say that I had some difficulty to start with but these pages helped me a lot.

Forum:
www.pear-forum.org

Tutorials:
www.midnighthax.com/quickform.php
pear.php.net

No Comments »

admin on July 30th 2008 in PHP

Scheduled Download Azureus/aMule Mac

I just moved from Europe to Australia and there you actually get a fast Internet Connection but with bandwidth limitation. So you get a bandwidth volume for peak and off peak time. Of course the one one for the off peak time is much bigger. So at the begin I didn’t care much about it and I was downloading as usual. Soon I had used my volume for the peak time and I could surf just with ISDN speed during the day. So I needed scheduled downloading but I missed that feature in Azureus and aMule. So what’s the solution to that dilemma?

We know MAC OS is based on Unix and there is service called crontab which does the trick. It is running in the background and is used to run commands in a specified interval. What I basically do is open and close the download program in a specific time.

1. Open Terminal
2. “crontab -e”
3. Modifie and put the commands below:

4. To save the file press “:” (run commands) and then press “qw” (quit and write)

Explanation:
2:05am Open aMule
2:05am Open Azureus
11:55am Close aMule
11:55am Close Azureus

Of course the interval time and paths needs to be adjusted. Do a google search if you want to know more about crontab.

No Comments »

admin on May 18th 2008 in MAC

Remote Access to your Home/Work Computer

You need to access your computer at home or company. Or do you need to fix you relatives computer but you are to lazy to get up from you chair and visit them. So you need a remote control software. You could use vnc or remote desktop etc. But usually they are behind a firewall and it needs first a lot of configuration. And not everybody knows how to make a ssh tunnel through port 80 to bypass the firewall. Anyway if you looking for a pretty good and fast solution that most of the time works have a look here:

www.logmein.com

logmein.com

It is by the way free to use, but there are a couple of limitations. One important feature which is missing in the free version is that you can’t share files. Still this service is great and helped me already a couple of times.

No Comments »

admin on May 16th 2008 in Network

Learn Google Map API

Google Map API is very powerful and can be integrated into your webpage. As long as everybody can access the maps in your webpage for free you don’t have to pay for the service. Even it is used commercially. I just start to learn the API and found a very helpful online tutorial. Especially don’t forget to check out the webpage.

http://doug.ricket.com/gdd2007/

No Comments »

admin on May 13th 2008 in Google Map, IT




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