wget http://www.teamviewer.com/download/teamviewer_linux.tar.gz
tar xf teamviewer_linux.tar.gz
cd teamviewer6
./teamviewer
teamviewer for Linux
Userful Linux tools for windows
ssh & scp for Windows
PuTTY, (and its file transfer utility, pscp), are excellent Windows ssh/scp implementations, and are a piece of cake to get up and running. These programs are not zipped and do not require any installation.
Downloads:
putty: putty.exe
pscp: pscp.exe
nmap for Windows
Nmap ("Network Mapper") is a free and open source utility for network exploration or security auditing. Many systems and network administrators also find it useful for tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime. Nmap uses raw IP packets in novel ways to determine what hosts are available on the network, what services (application name and version) those hosts are offering, what operating systems (and OS versions) they are running, what type of packet filters/firewalls are in use, and dozens of other characteristics. It was designed to rapidly scan large networks, but works fine against single hosts. Nmap runs on all major computer operating systems, and official binary packages are avalable for Linux, Windows, and Mac OS X.
Downloads
nmap 5.51 self-installer: nmap-5.51-setup.exe
nmap 5.51 command-line: nmap-5.51-win32.zip
rdesktop for Windows
rdesktop is a terminal services client for X windows by Matthew Chapman. This is a native Windows port of rdesktop.
Requirements
Windows 95 OSR2/98/Me/NT 4/2000/XP/2003/2008/Vista/7Download
rdesktop 1.6
Download: rdesktop-1.6.0-win32.zipRequirements:
X server for Windows (e.g. Xming or Cygwin X11)
You must have the X server running prior to using rdesktop.
Older versions: Note: this snapshot is not a complete port and requires Cygwin 1.5.12 to run.Binaries: rdesktop-bin-win32-20041201.zip
Source: rdesktop-src-win32-20041201.tar.bz2
Full native ports of rdesktop 1.2. Cygwin is not required.
Binaries: rdesktop-bin-win32-20030219.zip
Source: rdesktop-src-win32-20030219.tar.bz2
Binaries: rdesktop.zip
Source: rdesktop-src.tar.gz
Compiling rdesktop for Win32
http://www.soren.schimkat.dk/Blog/?p=69Licence
GNU General Public Licenserdesktop © Matthew Chapman 1999-2003 © Christopher January 2002-2003,2004
Related Links
www.rdesktop.orgHow to set Postgresql money type to use 3 decimal places in Windows
LINUX
=====
Under Linux, type command in postgres database:
set lc_monetary to 'ar_BH.utf8';
ar_BH represents Arabic (Bahrain) locale, the above command change the locale monetary setting on-the-fly in postgresql database, the let do a test:
select 34.888::text::money;
You will get 34.888 with 3 decimal places money type. Tested in Postgresql 8.4.6.
WINDOWS
=======
However the above set command will get an error message under Windows.
FATAL: invalid value for parameter “lc_monetary”
You will need to:
set lc_monetary to "Arabic, Bahrain";
This will set the lc_monetary to arabic locale but only display 2 decimal places by default, it seems everything right of the comma is ignored.
To workaround this, use an '_' in plase of ', ' like:
set lc_monetary to "Arabic_Bahrain";
Tested with Windows XP + PostgreSQL 9.0.3(this solution should work for PostgreSQL 8.3 or later version too)
Thanks Jasen who get this resolved, more information please see his post @ postgresql forum:
http://postgresql.1045698.n5.nabble.com/win-Locales-quot-Arabic-Gum-quot-td3369213.html
How to configure public folder in Exchange server 2007
1. Create a pulic folder
open Exchange Management Console
=> Public Folder Management Console
=> Default Public Folder
=> New Public Folder(from right-click menu)
then follow the wizard to create a public folder. Fox example give it a name Test, so the public folder path will be "\Test";
2. Use the Exchange Management Shell to add public folder permissions for a client user
open Exchange Management Shell
=> Run command
"Add-PublicFolderClientPermission -Identity "\Test" -AccessRights Owner -User TestUser"
This will give user "TestUser" the "Owner" accessRights which has full permission of the public folder;
More info please go to:
http://technet.microsoft.com/en-us/library/aa998834.aspx
Enable or Disable UAC From Windows Command Line
This should apply to Windows 7 / Vista
Disable UAC
C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
Enable UAC
C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f
After you enable or disable UAC, you will have to reboot your computer for the changes to take effect.
Note: After disabling and turning off UAC, a red X shield icon of Windows Security Center will be displayed in the notification area (system tray).
The alert trigger events include the following:
* Disable Windows Firewall.
* Disable antivirus program.
* Do not install or uninstall anti-virus.
* Outdated virus definition and signature.
* Disable Automatic updates.
* Turf off User Account Control.
* Computer requires to restart after applying hotfix or update.
These security concerns is relatively minor and can be safely dismissed, especially if the issue is purposely or intentionally done. In this case, the WSC Alerts icon and message can be turned off so that the system no longer will trigger notification when a problem occurred.
1. If you can see the Security Center shield icon in the notification area, simply double click on the icon to open Windows Security Center. Else, click on Windows Start button, select Control Panel, and then Windows Security Center.
2. Click on “Change the way Security Center alerts me” link in the left pane in Windows Vista. In Windows XP, it’s located under Resources section.
3. In Windows Vista, choose either “Don’t notify me, but display the icon” or “Don’t notify me and don’t display the icon” option, with later as complete disable of all Security Center Alerts.
In Windows XP, a Alert Settings dialog box will appear. Clear the Firewall, Automatic Updates, and/or Virus Protection check boxes to disable the respective component’s alert, and then click OK.
Outlook: Folder sharing is not available
We have a user that wishes to share his contact list with other employees in his office.
Everyone receives email via the same Exchange 2007 server.
He did the Permissions for the contacts (Right click, permissions added the user) and when she selects "SHARE CONTACT" she gets the error
"Folder sharing is not available with the following entries because of permission settings on your network."
Possible Soulution
==================
If your user in cached mode? If yes, try to do a Send and Receive, if that fails, disable cached mode, restart outlook, try to share the contact again and then re-enable the cached mode.
Cache Mode Toggle in Outlook 2007:
Tools > Account Settings > Highlight your Exchange server account, and then click Change
To turn Cached Exchange Mode on or off, under "Microsoft Exchange Server:", check or uncheck Cached Exchange Mode. Click Next, and in the window that opens, click OK.
Click Finish. Restart Outlook for the change to take effect.
Outlook can't save password
The problem is Outlook ask for the password over and over again.
Solution
========
HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider
Delete the subkey
The user subkey folder resembles the following example:
S-1-5-21-124525095-708259637-1543119021-16701
Restart computer
Start Outlook, enter and save the password.
Howto create Loop Device on Linux
This mini howto explain how to create more loop device on your operating system.You need to create more loop device in some case like encrypted file system or HVM xen virtualization. By default there are 7 devices available, named /dev/loop0 through to /dev/loop7.
INFORMATIONS
You can find the loop device like that :
1 | # ls -al /dev/loop* |
2 | brw-r----- 1 root disk 7, 0 Mar 19 09:34 /dev/loop0 |
3 | brw-r----- 1 root disk 7, 1 Mar 19 09:34 /dev/loop1 |
4 | brw-r----- 1 root disk 7, 2 Mar 19 09:34 /dev/loop2 |
5 | brw-r----- 1 root disk 7, 3 Mar 19 09:34 /dev/loop3 |
6 | brw-r----- 1 root disk 7, 4 Mar 19 09:34 /dev/loop4 |
7 | brw-r----- 1 root disk 7, 5 Mar 19 09:34 /dev/loop5 |
8 | brw-r----- 1 root disk 7, 6 Mar 19 09:34 /dev/loop6 |
9 | brw-r----- 1 root disk 7, 7 Mar 19 09:34 /dev/loop7 |
HOT CREATION
Creation of loop8 :
1 | # mknod -m640 /dev/loop8 b 7 8 |
2 | -m640 define the permission of the device |
3 | /dev/loop8 define the name of the device |
4 | b for the creation of the special block device |
5 | 7 8 the number 7 AND 8 define the MAJOR AND the MINOR |
1 | # ls -l /dev/loop8 |
2 | brw-r----- 1 root root 7, 8 Oct 3 14:54 /dev/loop8 |
1 | #chown root:disk /dev/loop8 |
STANDARD CREATION
You have to modify this file /etc/udev/makedev.d/50-udev.nodes
01 | #vim /etc/udev/makedev.d/50-udev.nodes |
02 | loop0 |
03 | loop1 |
04 | loop2 |
05 | loop3 |
06 | loop4 |
07 | loop5 |
08 | loop6 |
09 | loop7 |
10 | loop8 |
11 | parport0 |
12 | parport1 |
13 | parport2 |
14 | parport3 |
15 | net/tun |
16 | ppp |
17 | console |
18 | null |
19 | zero |
MODULE LIMITATION
In the kernel, you have to allow more creation of loop device.
There is an absolute maximum of 256 devices limited in the kernel. The default limit is set to 8.
01 | # modinfo loop |
02 | filename: /lib/modules/2.6.18-53.1.14.el5.centos.plusxen/kernel/drivers/block/loop.ko |
03 | alias: block-major-7-* |
04 | license: GPL |
05 | srcversion: 82DB6DB3DABF3B945D6394D |
06 | depends: |
07 | vermagic: 2.6.18-53.1.14.el5.centos.plusxen SMP mod_unload gcc-4.1 |
08 | parm: max_loop:Maximum number of loop devices (1-256) (int) |
09 | module_sig: 883f35047d15787f0a982eee333b2d8112f51f09f68f09b79223a34983b3aef66820c08 |
10 |
11 | cc6e8cd3709f6d7c56171e5a579ee1ca2ca56349c56b983a7c46 |
1 | #vim /etc/modprobe.conf |
2 | ... |
3 | options loop max_loop=64 |
4 | ... |
The commande line losetup is used for set up and control loop device.
1 | # losetup |
2 | usage: |
3 | losetup loop_device # give info |
4 | losetup -d loop_device # delete |
5 | losetup -f # find unused |
6 | losetup -a # list all used |
7 | losetup -r # read-only loop |
8 | losetup [-e encryption] [-o offset] [-r] {-f|loop_device} file # setup |