| Databases | |
|---|---|
| 3306 | MySQL |
| 1433 | MS SQL Server |
| 5432 | PostgreSQL |
| Remote Access - Graphical | |
| 3389 | MS Remote Desktop |
| 5800 | VNC-HTTP |
| 5900 | VNC |
| Remote Access - Console | |
| 22 | SSH |
| 23 | Telnet |
| 512 | Rexec |
| 513 | Rlogin |
| 514 | RSH |
| Remote Data Transfer & Management | |
| 20 | FTP Data |
| 21 | FTP |
| 69 | TFTP |
| 2049 | NFS |
| Directory Service | |
| 389 | LDAP |
| 636 | LDAP Secure |
| Web | |
| 80 | HTTP |
| 443 | HTTPS |
| 3128 | Squid Web Proxy |
| Mail & Chat | |
| 25 | SMTP |
| 110 | POP3 |
| 995 | POP3S |
| 143 | IMAP |
| 993 | IMAPS |
| 5222 | Jabber |
| 5223 | Jabber SSL |
| Infrastructure Management | |
| 53 | DNS |
| 1512 | WINS |
| 67 | DHCP Server |
| 68 | DHCP Client |
| 123/UDP | NTP |
| 161 | SNMP |
Tuesday, September 4, 2007
Important Port Numbers
Here is a list of important port numbers categorized by the type of use
Labels:
Articles,
Network,
Port Numbers
Sunday, July 29, 2007
MMC Snap-ins
Following is a list of MMC (Microsoft Management Console) snapins which you can launch from Start -> Run
This information is based on Windows XP Professional/2003
| MMC | Description |
| certmgr.msc | Certificate Manager |
| ciadv.msc | Indexing Service |
| compmgmt.msc | Computer management |
| devmgmt.msc | Device Manager |
| dfrg.msc | Disk Defragment |
| diskmgmt.msc | Disk Management |
| fsmgmt.msc | Shared Folders Management |
| eventvwr.msc | Event Viewer |
| gpedit.msc | Group Policy |
| lusrmgr.msc | Local Users and Groups |
| ntmsmgr.msc | Removable Storage |
| perfmon.msc | Performance Manager |
| secpol.msc | Local Security Settings |
| services.msc | System Services |
| wmimgmt.msc | Windows Management Instrumentation Manager |
This information is based on Windows XP Professional/2003
Control Panel Applets
Many components of Control Panel can be launched from Start->Run independantly. All of these components have the extention 'cpl'. These independant components are called control panel applets.
This information is based on Windows XP Professional/2003
| Applet | Description |
| access.cpl | Accessibility Options |
| hdwwiz.cpl | Add New Hardware Wizard |
| appwiz.cpl | Add/Remove Programs |
| timedate.cpl | Date and Time Properties |
| desk.cpl | Display Properties |
| inetcpl.cpl | Internet Explorer Properties |
| joy.cpl | Joystick/Game Controller Properties |
| main.cpl keboard | Keyboard Properties |
| main.cpl | Mouse Properties |
| ncpa.cpl | Network Connections |
| telephon.cpl | Phone and Modem options |
| powercfg.cpl | Power Management |
| intl.cpl | Regional settings |
| mmsys.cpl sounds | Sound Properties |
| mmsys.cpl | Sounds and Audio Device Properties |
| sysdm.cpl | System Properties |
| nusrmgr.cpl | User settings |
| firewall.cpl | Firewall Settings (sp2) |
| wscui.cpl | Security Center (sp2) |
This information is based on Windows XP Professional/2003
Labels:
Articles,
Control Panel,
Windows
Application shortcuts from RUN
These application shortcuts will help you to launch many of the commonly used windows utilities from the Run option of start menu.
This information is based on Windows XP Professional/Windows 2003
| Shotrcut | Description |
| calc | Calculator |
| charmap | Character Map |
| cleanmgr | Cleans up hard drives |
| clipbrd | Windows Clipboard viewer |
| cmd | Opens a new Command Window (cmd.exe) |
| control | Displays Control Panel |
| control printers | Printers and Faxes |
| drwatson | Records programs crash & snapshots |
| dxdiag | DirectX Diagnostic Utility |
| explorer | Windows Explorer |
| ftp | ftp.exe program |
| iexplore | Internet Explorer |
| inetmgr | IIS Manager |
| mmc | Microsoft Management Console |
| msconfig | Configuration to edit startup files |
| msinfo32 | Microsoft System Information Utility |
| regedit | Registry Editor |
| sysedit | Edit system startup files (config.sys, autoexec.bat, win.ini, etc.) |
| taskmgr | Task manager |
| sfc /scannow | System File Checker |
| sndrec32 | Sound Recorder |
| sndvol32 | Volume control for soundcard |
This information is based on Windows XP Professional/Windows 2003
Sunday, June 24, 2007
Creating Virtual File Systems in Linux
When you want to test some configuration involving file systems, its not always possible to use a live running system. In such situations it is a good idea to create a virtual filesystem in your hard disk, which will not affect the operation of your machine, except for occupying the hard disk space that you need.
The first step is to create an empty directory as the mount point for the virtual file system.
[root@LinuxBox1 ~]#mkdir /vfsmount
Now we have to create the virtual file system image. Here we will create a file vfs-image in the directory /var/vfs. This file will hold the virtual file sytem.
[root@LinuxBox1 ~]#mkdir /var/vfs
We will create a file system with a size of 100MB. For this we will have to create the file vfs-image with 100MB size.
[root@LinuxBox1 ~]#dd if=/dev/zero of=/var/vfs/vfs-image count=204800
204800+0 records in
204800+0 records out
104857600 bytes (105 MB) copied, 2.3716 seconds, 44.2 MB/s
The count option indicates how many blocks of data should be filled in the file vfs-image. By default 1 block= 512 bytes
1 MB= 512 x 2 x 1024=2048 Blocks
100 MB = 2048 x 100 Blocks = 204800 Blocks
To cross check this
[root@LinuxBox1 ~]#du -h /var/vfs/vfs-image
101M /var/vfs/vfs-image
Now format this file as an ext3 filesystem
[root@LinuxBox1 ~]#mkfs.ext3 -q /var/vfs/vfs-image
/var/vfs/vfs-image is not a block special device.
Proceed anyway? (y,n) y
'mkfs.ext3' is actually a short form for 'mkfs -t ext3'. You can avoid the warning regarding the file not being a block device by using the '-F' option
Now, to use this file system we will have to mount it. To make this mount permanent add an entry into fstab as follows
/etc/fstab
/var/vfs/vfs-image /vfsmount ext3 rw,loop 0 0
The loop option asigns an availiable loop device to the file system.
[root@LinuxBox1 ~]#mount -a
[root@LinuxBox1 ~]#mount|grep vfs-image
/var/vfs/vfs-image on /vfsmount type ext3 (rw,loop=/dev/loop0)
[root@LinuxBox1 ~]#df -h|grep vfs-image
/var/vfs/vfs-image 97M 5.6M 87M 7% /vfsmount
Now just to demonstarate that we can use this filsystem in the same way as other filesystems:
[root@LinuxBox ~]# cd /vfsmount/
[root@LinuxBox ~]# mkdir temp
Now create a 5MB sized file
[root@LinuxBox vfsmount]# dd if=/dev/zero of=/vfsmount/temp/test-space-usage count=10240
10240+0 records in
10240+0 records out
5242880 bytes (5.2 MB) copied, 0.129863 seconds, 40.4 MB/s
Check the filesystem usage
[root@LinuxBox vfsmount]# df -h|grep vfs-image
/var/vfs/vfs-image 97M 11M 82M 12% /vfsmount
The first step is to create an empty directory as the mount point for the virtual file system.
[root@LinuxBox1 ~]#mkdir /vfsmount
Now we have to create the virtual file system image. Here we will create a file vfs-image in the directory /var/vfs. This file will hold the virtual file sytem.
[root@LinuxBox1 ~]#mkdir /var/vfs
We will create a file system with a size of 100MB. For this we will have to create the file vfs-image with 100MB size.
[root@LinuxBox1 ~]#dd if=/dev/zero of=/var/vfs/vfs-image count=204800
204800+0 records in
204800+0 records out
104857600 bytes (105 MB) copied, 2.3716 seconds, 44.2 MB/s
The count option indicates how many blocks of data should be filled in the file vfs-image. By default 1 block= 512 bytes
1 MB= 512 x 2 x 1024=2048 Blocks
100 MB = 2048 x 100 Blocks = 204800 Blocks
To cross check this
[root@LinuxBox1 ~]#du -h /var/vfs/vfs-image
101M /var/vfs/vfs-image
Now format this file as an ext3 filesystem
[root@LinuxBox1 ~]#mkfs.ext3 -q /var/vfs/vfs-image
/var/vfs/vfs-image is not a block special device.
Proceed anyway? (y,n) y
'mkfs.ext3' is actually a short form for 'mkfs -t ext3'. You can avoid the warning regarding the file not being a block device by using the '-F' option
Now, to use this file system we will have to mount it. To make this mount permanent add an entry into fstab as follows
/etc/fstab
/var/vfs/vfs-image /vfsmount ext3 rw,loop 0 0
The loop option asigns an availiable loop device to the file system.
[root@LinuxBox1 ~]#mount -a
[root@LinuxBox1 ~]#mount|grep vfs-image
/var/vfs/vfs-image on /vfsmount type ext3 (rw,loop=/dev/loop0)
[root@LinuxBox1 ~]#df -h|grep vfs-image
/var/vfs/vfs-image 97M 5.6M 87M 7% /vfsmount
Now just to demonstarate that we can use this filsystem in the same way as other filesystems:
[root@LinuxBox ~]# cd /vfsmount/
[root@LinuxBox ~]# mkdir temp
Now create a 5MB sized file
[root@LinuxBox vfsmount]# dd if=/dev/zero of=/vfsmount/temp/test-space-usage count=10240
10240+0 records in
10240+0 records out
5242880 bytes (5.2 MB) copied, 0.129863 seconds, 40.4 MB/s
Check the filesystem usage
[root@LinuxBox vfsmount]# df -h|grep vfs-image
/var/vfs/vfs-image 97M 11M 82M 12% /vfsmount
Labels:
Articles,
File System,
Linux
Subscribe to:
Posts (Atom)