Windows Server 2008 Core Command Guide Continue reading “Windows Server 2008 Core Command Guide”
How to monitor Monitor Exchange 2007 AntiSpam Continue reading “How To Monitor Exchange 2007 AntiSpam”
The following command will enable ssh on your cisco router. Continue reading “Configure SSH on your Cisco router”
How to extend the Windows Server 2008 evaluation period Continue reading “How to extend the Windows Server 2008 evaluation period”
How to login to server console using Remote Desktop Continue reading “How to login to server console using Remote Desktop”
To prepare a windows 2003 domain for windows 08 Domain controller we need to run adprep Continue reading “How To prepare windows 2003 domain for windows 2008 Domain controller”
This is a known issue for a lot of IT department where multiple administrators logging to servers remotely and forget to log off.
Remote desktop also known as Terminal services can be controlled from Group Policy.
This KB will show you how to control session on a server using Group Policy.
To set automatic logoff of remote sessions on a server we need to edit the following entries on Group Policy:
If in a domain or in a local server create or modify the following:
Go to -> Local Computer Policy\Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Sessions folder,
the following settings can be modified for your need:
Set time limit for disconnected sessions
Set time limit for active sessions
Set time limit for idle sessions
Terminate session when time limits are reached
After installing MySql server on a Linux machine (Debian 5) I got this error message when trying to connect to the Mysql server using Mysql administrator.
When trying to fix the problem and searching the Internet I found out that the problem is easy then what it looked.
By default Mysql server only allows the local host to access the Mysql server.
To fix the problem all we need to edit the mysql config file and add the mysql external ip address to accept connection from (not the localhost)
We add another bind-address entry to the config file.
Follow the steps below to fix the problem:
vi /etc/mysql/my.cnf – edit the my.cnf file
bind-address =192.168.100.22 — this is the Mysql server ip address.
Save the file and restart the mysql service:
By default Ubuntu server root account is disable, if we want to execute a command that needs administrative permission we need to use the sudo command.
This is a good security practice however this might not work for you.
In order to enable the root account and not use the sudo command all we need to do is enable the root account by setting a password.
This is what we need to do, In the command line type:
sudo passwd root
After typing the command you will have to set the password.
In case you would like to disable the account again you will have to issue the following command:
sudo passwd -l root
This is the first part of linux server \ network monitoting commands:
The following commands can be used as a morning checks commands.
Top – show all process
netstat – displays network connections,
route – display network routes