Thursday, December 17, 2009

παραδείγματα χρήσης συμβόλων σε command line

Symbol - Function - Example

>
Sends output to a named file. If file does not exist, it creates one. Overwrites existing file
command > somefile

>>
Appends output to contents of a named file or creates a file if none exists
command >> somefile

¦
Sends ("pipes") the output of command1 to the input of command2
command1 ¦ command2

&
Used to combine two commands. Executes command1 and then command2
command1 & command2

&&
A conditional combination. Executes command2 if command1 completes successfully
command1 && command2

¦¦
Command2 executes only if command1 does not complete successfully.
command1 ¦¦ command2

@
Used in batch files at the beginning of a line to turn off the display of commands
@echo off

Monday, December 14, 2009

Cisco Product Quick Reference Guide

Στον παρακάτω σύνδεσμο θα βρείτε τον κατάλογο των προϊόντων της Cisco σε μορφή pdf. Είναι εξαιρετικά χρήσιμος μιας και εκεί θα βρείτε το σύνολο των βασικών χαρακτηριστικών όλων των συσκευών της, σε ένα και μόνο pdf. Πολλές φορές το επίσημο site της εταιρείας είναι λίγο χαοτικό και ειδικότερα η αναζήτηση προϊόντων.

Wednesday, December 9, 2009

έλεγχος λειτουργίας μιας υπηρεσίας με telnet

telnet to a specific port

Telnet, by default, uses port 23. Ports are specific channels for network services and clients to use so that you can have more than one connection at once. Eg telnet works on port 23, ftp works on port 21, web(http) works on port 80 etc. Think of them as numbered doors into the same house. There is nothing to stop you using telnet (or some other services) on another port eg telnet into a web server by using:

telnet www.somewhere.com 80 or www.somewhere.com:80

While this may not be very useful unless you know how to run a specific protocol by hand (some people use this to check their mail on pop servers from very bare terminals) it is a quick way of checking that a certain service is running on a remote machine. If you can't telnet in on the specific port number then there's a good bet it isn't running.
A list of services and the ports they run on are contained in /etc/services. (σε linux)
Some services, even generic ones, may be run on different port numbers on certain machines for reasons of security or convenience and knowing about port numbers is helpful in this instance.

Saturday, November 28, 2009

Σύνδεσμοι

Στο δεξί μέρος της σελίδας πρόσθεσα μια λίστα με διάφορα site που μας έχουν απασχολήσει στα μαθήματα μας. Εκεί θα βρείτε και ένα με τίτλο Subnetting Questions το οποίο σας οδηγεί σε ένα πολύ ενδιαφέρον site με εκατοντάδες ερωτήσεις για Subnetting. Το συνιστώ ανεπιφύλακτα! Αυτονόητο είναι ότι είναι παραπάνω από ευπρόσδεκτες οι προσθήκες στην λίστα αυτή.

Basic Subnetting

Εξάσκηση σε basic subnetting:

  1. Να βρείτε την subnet mask σε δεκαδική μορφή των παρακάτω prefixes:
    /17, /13, /28, /21, /27, /7, /10, /30, /22

  2. Περισσότερη εξάσκηση στο παραπάνω εδώ. Και για την αντίστροφη διαδικασία εδώ

  3. Ποιες από τις παρακάτω είναι network addresses:
    A.64.104.3.7/28
    B.192.168.12.64/26
    C.192.135.12.191/26
    D.198.18.12.16/28
    E.209.165.200.254/27
    F.220.12.12.33/27

  4. Να βρείτε πόσα και ποια subnets θα προκύψουν από:

    A. 172.16.1.0/24 δανειζόμενος 3 bits
    B. 144.49.16.0/22 δανειζόμενος 2 bits
    C. 177.16.160.128/25 δανειζόμενος 4 bits

  5. Από τις παρακάτω IP διευθύνσεις να βρείτε network και broadcast, πρώτο και τελευταίο host των subnets, στα οποία ανήκουν.

    210.54.58.140/24
    80.19.207.64/13
    130.136.2.233/26
    161.120.72.190/16
    220.76.223.233/25

  6. Για περισσότερες ασκήσεις σαν την παραπάνω κάντε κλικ εδώ

  7. Ελέγξτε τις γνώσεις σας για τις κλάσεις κάνοντας κλικ εδώ.

Βασικές γνώσεις Subnetting

Ξεκινάμε με κάποιες απλές μετατροπές που είναι απαραίτητες για να θεμελιωθεί σωστά η θεωρία του subnetting:
  1. Μετατρέψτε τους παρακάτω αριθμούς σε δυαδικούς: 83, 217, 184, 245, 122, 120, 39, 31, 178, 21, 138, 68, 192, 134, 108, 38, 59, 250, 94, 197, 187, 231, 37, 22, 132, 153, 201, 112,50.
  2. Μετατρέψτε τους παρακάτω δυαδικούς σε δεκαδικούς: 01110101, 11111100, 10010001, 01111010, 11100011, 01110110, 11011110, 01000100, 00001110, 11001011, 10011110, 10110101, 01000011, 01011111, 10000111, 01110010, 11110000, 00100011, 11000000, 11011001
Μπορείτε αν θέλετε να μου στείλετε τις απαντήσεις σας για επιβεβαίωση.

Wednesday, October 28, 2009

xampp for windows

http://www.apachefriends.org/en/xampp-windows.html

Πολύ καλό πακέτο που περιέχει:

Apache 2.2.12 (IPv6 enabled) + OpenSSL 0.9.8k
MySQL 5.1.37 + PBXT engine
PHP 5.3.0
phpMyAdmin 3.2.0.1
Webalizer 2.21-02 + GeoIP lite
FileZilla FTP Server 0.9.32
msmtp 1.4.17

εύκολο στην εγκατάσταση και χρήση με πολύ καλό γραφικό περιβάλλον.

Tuesday, October 27, 2009

DNS Tutorial

Σύνδεσμος για ένα πολύ καλό tutorial για το DNS από το ΤΕΙ θεσσαλονίκης.

DNS Tutorial

Monday, October 26, 2009

Καλή ακαδημαική χρονιά

Εύχομαι καλή αρχή σε όλους!