Creativity Eases Life

Get Innovative and Creative

To setup port forwarding in ZeroShell, it is actually requires less than 5 steps.

1. Login into ZeroShell Web admin panel

2. Click on “Router” under the “Network” section on the left menu

leftpanel

3. On the top menu, you will see “Router”,”RIPv2″,”NAT”, and “Virtual Server”. In ZeroShell, port forwarding function is located under “Virtual Server”. Just click on “Virtual Server”.

toptab-network

4. To set a normal port forwarding, all you need to do is select a proper interface “Input Interface” and insert the local port, remote IP, and remote port.

virtualservers

5. Click on the “+” button located just beside “Remote Port” text box.

Note:
Port Forwarding works hand in hand with the balancing rules and network configurations. Why? It will be just simple, assuming that you have 2 WAN (WAN1 and WAN2) and would like to do a port forwarding for your test server (SERVER1). If you previously already setup balancing rules where all the traffic from SERVER1 will be routed to WAN2, the port forwarding that you have setup must have WAN2 interface selected as “Input Interface”. Else, if you choose WAN1 instead of WAN2 interface, it will not work as when the request comes to SERVER1 and when SERVER1 responded, it will response through WAN1 instead of WAN2 which causes you are not able to get the response from your server.

Posted by admin
Posted under ZeroShell
Tags:

Comments (0)

ZeroShell offers a wide range media which suits the common way used to load it up. It can be either using LiveCD, USB Drive, Compact Flash, or VMWare.

For this post, I will touch ONLY on using Live CD. Others I will post it up shortly.

1. Download ZeroShell. You can get it at http://www.zeroshell.net/eng.  There are multiple ways you can run ZeroShell at your terminal. You may either use LiveCD version, boot from USB drive, Compact Flash Image, or VMWare Image. For this section, I will focus on LiveCD. Just download the ZeroShell Live CD image (.iso format).

2. Burn the image into CD-R

3. Boot up your terminal from CD-R that contains the image content

4. The terminal will boot up and you will get to the boot selection menu. Select option “1″ which is Normal Boot.

5. Wait for the live CD finish loading. This will leads you to the ZeroShell command prompt menu. If this is the first time you use this ZeroShell, the first thing you need to do is change your admin password by select “P” option. You can remain the existing default password which is as below:

Username : admin
Password : zeroshell

ZeroShell-Console

6. Notice that you will see from the prompt menu on the Web Control Panel interafce URL. The default URL should be https://192.168.0.75

7. Login into the Web Control Panel to create your first profile for ZeroShell. All the settings that you have done will be stored in this profile. Since you are using LiveCD, you are not able to create and store profile on the LiveCD. You will need to save the profile into the hard drive instead. Profile is the database where all the configurations that you have set in the Web Control Panel will be stored. To create profile, just click on “Setup” on the left menu, then click on “Profiles” on the top tab.

8. The system will search your terminal to find all the available drive or partition which will be listed as the location where you can have your profile saved. Select the partition which you wish to have the profile being saved and you will notice that more options appeared below the tab where you click on “Profiles”. Click on “Create Profile” button.

zeroshell-partition

9. Enter all the required information and click on “Create” button to have the profile created.

Screenshot-Create-Profile-Mozilla-Firefox

10. The setup is done. All you need to do is right now is do a further configuration for your WAN, QoS, etc.., which I will post up in my next blog post.

Posted by admin
Posted under ZeroShell
Tags:

Comments (0)

Planning to get a router which can helps you efficiently on managing your home or office network? But don’t have that amount of money to invest on such router that can have all the capabilities that you required..

Here is something interesting that I am gonna share with you. I understand that there might be many application out there which provides similar functionality or may be it is more than the application that I am going to share with you.

But just bear in mind:

The more feature it is, the more complicated it will be.
The more complicated it is, the more resources that it requires.
The more resources that it requires, the more $$ that you gonna spend.

The application that I am going to share is ZeroShell.

Zeroshell is a small Linux distribution for servers and embedded devices aimed at providing the main network services a LAN requires. It is available in the form of Live CD or Compact Flash image and you can configure and administer it using your web browser.

This application consist of the most commonly required features which is useful to manage networks:

  1. Load Balancing and Failover of multiple Internet connections
  2. UMTS/HSDPA connections by using 3G modems
  3. Captive Portal to support the web login on wireless and wired networks
  4. QoS (Quality of Service) management and traffic shaping to control traffic over a congested network
  5. HTTP Proxy server which is able to block the web pages containing virus
  6. Wireless Access Point mode with Multiple SSID and VLAN support by using WiFi network cards based on the Atheros chipsets
  7. Host-to-lan VPN
  8. Lan-to-lan VPN
  9. Router with static and dynamic routes
  10. Multizone DNS server with automatic management of the Reverse Resolution in-addr.arpa
  11. PPPoE client for connection to the WAN via ADSL, DSL and cable lines
  12. Dynamic DNS client
  13. Syslog server
  14. Unix and Windows Active Directory interoperability

There are many more that you can find out when you try it out.

I am currently using it for my office network management. If you wish to know my feedback about this application:

  1. GUI – Good (User Friendly)
  2. It do have auto updates features which I can set it to auto check and update the application
  3. It supports on Multi WAN balancing which is awesome!
  4. It supports on 3G network.
  5. QOS works perfectly where I can shape my office network beautifully
  6. HTTP Proxy with Clam AV enabled – Good in helping to get rid those virus scripts
  7. Failover on Multi WAN – works faster than my current office router.

Feel free to explore some of the screenshot that I have made for ZeroShell:

zeroshell_main

zeroshell_networks

zeroshell_usermanage

zeroshell_captiveportal

zeroshell_balancer

Just words and some screenshots may be you will think that I am boasting around just to get some commision from the developer. Come on ! This is a free application, why I need to do that. Download and try it out then you will know.

No REGRETS!!!

Posted by admin
Posted under ZeroShell
Tags:

Comments (0)

Refresh back your experience on owning a vehicle for yourself from the beginning until now. How is the procedure looks like? May be it will be something like when you start your first job after graduation, you will most probably owning a vehicle which you are able to buy with your basic salary. I believe majorities of the fresh graduates, your first job salary may be as minimum as 1500/month or may be less. If you are fortunate enough, you can have a higher pay. So, with this range of salary, what you can buy? a BMW or Honda? Well, mostly you will start with a Motorcycle. When your salary is higher, you may aim for an economic priced car. As your job performance is good, you may get more higher pay. That time, I think you may think of is a medium or even a luxurious car.

Why I am talking about this? What are the relationship with the topic which I am going to talk about. Well, in some perspective, there is some relationships on the concept or the procedures. You can try to relate it when you go through this posts. If you are not able to relate it, its okie. As long as you are able to setup the MySQL clustering at the end of the post reading, then you still get what you want. :p

A web developer, when they start off their first database application, the number of user may be less. Single database is required. There is no need on having a database server architecture which involved advanced technology such as load balancing, high availability, and etc..

When the number of users grows and the traffic is high, you will think about those solutions instead of keeping the current solutions which will be the bottleneck for your application or service that you provided to your client.

There is a lot of advanced solutions that you can go through such as load balancing or load balancing with high availability. There are many ways to achieve it as well like setting up load balancers which is having multi master database connected behind it or may be clustering.

What I will be talking here will be on database clustering. The demonstration here will be on MySQL clustering which I will share with you guys on the basic steps on setting up the cluster using NDB engine.

To make sure that the clustering that you have setup do meet your needs, you will need to go through some recommended steps that is :

  1. Identify your application needs over the mysql database. If MySQL do satisfied with the requirement, then you may proceed to setup MySQL cluster for your application. Else, look for other solutions like MySQL database replication.
  2. Plan and design your MySQL cluster network. How many node(s) you need. Draft out the network diagram. This will ease you on the setup.
  3. Prepare all the required nodes and the source of the MySQL clustering installer ( you may get it from http://www.mysql.com )
  4. Setup all the node machine
  5. Testing the clustering
  6. Bring them live and enjoy the ride!!

Though you may think that this is such a long procedure, this is somehow will be the results that you get is determined by how many effort you put into the solutions. Some steps might be boring or not usefull, but with every little little thing, when you sum up all together, it does something that may delight you.

Now, lets starts.

Identify Application Needs Over MySQL Database Solutions

My application need a redundant MySQL database connections, load balanced on the MySQL database which improves on the data mining, and high availbility where my database connection will reach 99.999% uptime. I can add additional MySQL database processing power when needed to balanced up the loads.

MySQL Clustering will provides all the requirement that I need.

Plan and Design Your MySQL Cluster Network

This is the first phase of setup and I am having a limited budget on this. So I will start with the most minimum nodes. I can still add in more when it is required. I will have 3 nodes. One will be the nodes that act as Management Server (that manages the cluster) and another two will be act as the Data Node (that will process the database query and data storage) .

The network diagram will be something like this:

MySQL Cluster

MySQL Cluster

Preparing Nodes and Management Server

Have all the 3 servers having Linux server installed. For this example, I will use CentOS 5.2 operating system. Just install the basic structure. Do not install MySQL database server. We will install manually from the latest source that you can get from the http://www.mysql.com.

A. Setup MySQL Cluster Management Server

Download the latest source of the ndb from http://dev.mysql.com/downloads/cluster/. Choose the Linux(non-rpm packages). Selecting between x86 or x86_64 is depends on your server machine operating system. If you are using 64 bit OS, then choose the x86_64 instead. Else, choose x86 download source.

The example file that downloaded to your terminal will be as below:

mysql-cluster-gpl-6.3.20-linux-i686-glibc23.tar.gz

Once you have downloaded the source, un compress it:

tar -zxvf mysql-cluster-gpl-6.3.20-linux-i686-glibc23.tar.gz

Next, go into the extracted folder:

cd mysql-cluster-gpl-6.3.20

Copy out all the required files from the “bin” folderm, that is, all files start with ndb_mgm. Copy the file to the “/usr/local/bin” directory:

cp bin/ndb_mgm* /usr/local/bin

Go into the destination folder that you have copied the required file to and chmod as below:

cd /usr/local/bin
chmod +x ndb_mgm*

Create a directory “mysql-cluster” inside /var/lib directory which will be used by the mysql cluster manager on the configuration files and logs.

mkdir /var/lib/mysql-cluster

Go into the mysql-cluster and create the manager configuration file:

cd /var/lib/mysql-cluster
vi config.ini

Add the following line into config.ini:

[NDBD DEFAULT]
NoOfReplicas=2 # Number of data nodes that this cluster have
[MYSQLD DEFAULT]
[NDB_MGMD DEFAULT]
[TCP DEFAULT]
# Managment Server
[NDB_MGMD]
HostName=10.0.1.30 # the IP of Management Server
# Storage Engines
[NDBD]
HostName=10.0.1.31 # the IP of the FIRST Data Node DataDir= /var/lib/mysql-cluster
[NDBD]
HostName=10.0.1.32 # the IP of the SECOND Data Node DataDir=/var/lib/mysql-cluster
# 2 MySQL Clients
# I personally leave this blank to allow rapid changes of the mysql clients;
# you can enter the hostnames of the above two servers here. I suggest you dont.
[MYSQLD]
[MYSQLD]

Start the Management Server Daemon by:

ndb_mgmd

B. Setup MySQL Data Node

Download the latest source of the ndb from http://dev.mysql.com/downloads/cluster/. Choose the Linux(non-rpm packages). Selecting between x86 or x86_64 is depends on your server machine operating system. If you are using 64 bit OS, then choose the x86_64 instead. Else, choose x86 download source.

The example file that downloaded to your terminal will be as below:

mysql-cluster-gpl-6.3.20-linux-i686-glibc23.tar.gz

Once you have downloaded the source, un compress it:

tar -zxvf mysql-cluster-gpl-6.3.20-linux-i686-glibc23.tar.gz

Create mysql group and mysq user in the group:

groupadd mysql
useradd -g mysql mysql
Move the uncompressed folder into /usr/local and rename it to mysql folder. This can be done in one command line using “mv”:

mv mysql-cluster-gpl-6.3.20-linux-i686-glibc23 /usr/local/mysql

Change directory to /usr/local/mysql:

cd /usr/local/mysql

Execute the following file in the directory to install the mysql base database:

scripts/mysql_install_db –user=mysql

Change the ownership and group for /usr/local/mysql and /usr/local/mysql by executing the following command line:

chown -R root /usr/local/mysql
chown -R mysql /usr/local/mysql/data
chgrp -R mysql /usr/local/mysql

Copy the mysql.server file located in support-files folder to /etc/rc.d/init.d/ and rename it as mysql. You can choose not to rename it, but I prefer to change it:

cp support-files/mysql.server /etc/rc.d/init.d/mysql

Make sure the file /etc/rc.d/init.d/mysql is executable by :

chmod +x /etc/rc.d/init.d/mysql

Register the /etc/rc.d/init.d/mysql into the services list by :

chkconfig –add mysql

Next, we will go into the configuration part for the Data Node. All you need to do is edit the /etc/my.cnf :

vi /etc/my.cnf

Include the following lines into the my.cnf and save the file:

[mysqld]
ndbcluster
ndb-connectstring=10.0.1.30 # the IP of the MANAGMENT (THIRD) SERVER
[mysql_cluster]
ndb-connectstring=10.0.1.30 # the IP of the MANAGMENT (THIRD) SERVER

Create the /var/lib/mysql-cluster directory for the clustering usage.

mkdir /var/lib/mysql-cluster

Change directory into the mysql-cluster directory and execute the following comandline:

/usr/local/mysql/bin/ndbd –initial

DataNode is initialised! Now, start the mysql database server by :

/etc/rc.d/init.d/mysql start

Repeat this entire section to setup the second Data Node.

Once all this is done, all your machine is well configured and are ready for testing.

Testing MySQL Cluster Network

To make sure that the server manager is fine, ssh into the Management Server. Go into the ndb management console by executing the following command line:

ndb_mgmd

When inside the console, run “show” command to list out the cluster status:

ndb_mgm> show

You will see the following results:

Connected to Management Server at: localhost:1186
Cluster Configuration
———————
[ndbd(NDB)] 2 node(s)
id=2 @10.0.1.31 (mysql-5.1.30 ndb-6.3.20, Nodegroup: 0, Master)
id=3 @10.0.1.32 (mysql-5.1.30 ndb-6.3.20, Nodegroup: 0)
[ndb_mgmd(MGM)] 1 node(s)
id=1 @10.0.1.30 (mysql-5.1.30 ndb-6.3.20)
[mysqld(API)] 2 node(s)
id=4 @10.0.1.31 (mysql-5.1.30 ndb-6.3.20)
id=5 @10.0.1.32 (mysql-5.1.30 ndb-6.3.20)

Notice that the first line stated “Connected to Management Server at: localhost:1186″ this tells you that the cluster is healthy with the information shown. If you are not getting this line, recheck on your configuration and installation. Make sure everything is installed and configured properly.

Next, test out the Data Node. SSH into any of the data node. Run the following command line to connect to the database server, create a table under the “test” database and insert a data into the table crated:

>mysql
mysql> use test;
mysql> CREATE TABLE ctest (i INT) ENGINE=NDBCLUSTER;
INSERT INTO ctest () VALUES (1);

To make sure the data is inserted correctly, run the SELECT sql command:

mysql> SELECT * FROM ctest;

The results will be :

+——+
| i |
+——+
| 1 |
+——+

Now, last but not least, ssh into another data node. Check whether the “test” database again whether the data is there as well. Do not attempt to create the table, most likely you will get error as the table already created. Just use “SELECT” sql command to check the data is stored properly.

If you are getting the same results at the second data node, your cluster is working fine.

Congratulations!! You have just setup the MySQL NDB Clusters with 2 Data Node.

You will be curious, I have two data node, how my application can balance off the query between these two server as by default, like other web application connection string will be referring to 1 ip instead of 2 ip randomly.

You can consider to put your data node behind a transport layer load balancer device which will load balance the connection to these data node like shown in the network diagram. Therefore, the query connection will be directed to the load balancer and the load balancer will balance it off by redirecting the connection to the nodes.
Posted by admin
Posted under Centos, MySQL Database
Tags:

Comments (2)

Mounting NFS drive is some how simple if you know how to do it. Before you can start mounting the NFS drive, you will need to make sure that the client machine is equipped with all the required component.

Client Machine Preparation

  1. Install nfs component using yum:
    prompt> yum install nfs* -y
  2. Install portmap using yum
    prompt> yum install portmap -y
  3. Make sure that portmap is turned on
    prompt> chkconfig portmap on
    prompt> service portmap start

Your client machine is now ready. The next step you need to do is to configure the client machine to mount the NFS drive.

Configure /etc/fstab

  1. Edit the /etc/fstab file by adding the following new line into it:{nfs_server_ip}:{nfs_dir_path}{/t}{local_dir_path}{\t}nfs{\t} rsize=8192,wsize=8192,timeo=14,acl,intrWhere:
    {nfs_server_ip} : The nfs server ip address
    {nfs_dir_path} : The directory path that NFS server is sharing
    {local_dir_path} : The client machine directory path that you wish to be mounted to
    {\t} : Keyboard input for TAB
  2. Save the changes on the file

Configuration on the FSTAB file is done. Now, it is time to test over your configuration. All you need to do is execute the following command line:

prompt> mount -a
prompt> mount

If the NFS drive is mounted correctly, you will see the mount results. Else, there you will see error when you hit on “mount -a” command.

The common error shows when you try to mount the nfs drive will be :

  1. mount.nfs: Input/output error
    Explain: Portmap service is not started. Start the portmap service will do the trick.
  2. mount: wrong fs type, bad option, bad superblock on
    Explain: nfs is not installed. Make sure that you do install nfs component which stated under the preparation section mentioned above.

For other error, you may check on the logs. The default log file for the nfs mount error is at /var/log/messages

Posted by admin
Posted under Centos, Fedora, Linux, RedHat
Tags:

Comments (0)

There may be an occurances that you may have accidentally removed the passwd file or overwrite the passwd file with a non-passwd files or even the passwd file itself corrupted, how are you going to login into the server? What ever credentials attempt will not help as the password information is located in this file which the Linux server will refer from time to time whenever there is a need to validate the login credentials.

There are several ways to go about it, it depends on how complex the steps will be. May be you may think of :

  1. Shutdown the Server A (server which passwd file is corrupted/replaced/removed)
  2. Unplug the harddisk
  3. Plug the harddisk to Server B (newly setup server with Linux OS)
  4. Boot up the particular machine
  5. Mount the /etc of the Server A harddrive to a new partition name
  6. Fix the passwd file
  7. Shutdown Server B
  8. Unplug the Server A harddisk away from Server B
  9. Plug back the harddisk into the Server A
  10. Boot up Server A

Done in 10 steps. But don’t your think that this is kinda troublesome where you need another server to help you to trouble shoot it? Won’t it be troublesome where you need to plug and unplug the harddrive from the server to another and then back to the server itself?

For some people, they prefer to do that. But for me, minimizing down time is very important when dealing with servers. Those web hosting company cannot huge downtime as the server is the source of their income. Everything need to have a simplify steps. There is way to fix it in within 5 simple steps:

  1. Get ready your bootable Linux installer CD/DVD
  2. Reboot your server with this bootable CD/DVD
  3. Select “Linux Rescue” mode from the boot menu
  4. The rescue mode will help you to mount your existing harddrive partition into other partition automatically. All you need to do is go into your system partition which keep passwd file and fix the passwd file. For CentOS, the partition will be mounted as /mnt/sysimage
  5. Reboot the server once you have fix it (make sure you remove your CD/DVD to avoid booting again through the CD/DVD).

There you go! Five simple steps which helps you to minimize your server downtime. This steps reduces more than 50% time used for the fixes as it does not need to plug in and out the harddisk which may sometimes causes the harddrive corrupted if it is not handled properly.

Posted by admin
Posted under Centos, Fedora, RedHat
Tags:

Comments (0)

In Linux server environent, some times, it is kinda troublesome to copy files from one server to another if everytime password is required before the files can be copied. To remedy such inconveniences, you may consider to utilize the public/private key login.

This key is a trust key which both server agreed to be bound to. Below steps will be referring to the following examples:

I am now logged into Server A. I am now trying to copy a file from server A to server B.

Server A:

  1. Run the following command line in Linux bash prompt:ssh-keygen -t dsa
  2. You will be asked for both location of the key should be saved to and passphrase.
  3. Use the default value and leave the passphrase empty.
  4. Then you will come to the results as shown below:Your identification has been saved in /home/username/.ssh/id_dsa.
    Your public key has been saved in /home/username/.ssh/id_dsa.pub.
    The key fingerprint is:
    6b:62:7c:60:81:04:97:3e:62:c8:1c:9e:96:49:11:b4
    name@host
  5. Edit the id_dsa.pub and copy out the content.

Server B:

  1. Edit the /home/username/.ssh/authorized_keys
  2. Copy the content of /home/username/.ssh/id_dsa.pub in Server A to this file.
  3. Save it.

Done!!

To test on it, just try to ssh from Server A to Server B using the username mentioned. You will be able to login without password prompted.

Posted by admin
Posted under Centos, Fedora, RedHat
Tags:

Comments (0)

Changing hostname in Linux is rather simple with the following steps:

  1. Login into the server using Root user OR change your existing user privilege to Root user privileges by using “SU” command
  2. Edit the following file:
    /etc/sysconfig/network
  3. Modify the value after the word “HOSTNAME=” to your desired hostname.Example:HOSTNAME=this-is-my-host-name.com
  4. Save this file
  5. Next, edit the hosts file so that the server can identify the hostname locally. Edit the hosts file which located at : /etc/hosts
  6. Add the following line as new line in the hosts file content:127.0.0.1{\t}this-is-my-host-name.com

    where, {\t} represents the “Tab” button from your keyboard and “this-is-my-host-name.com” will be your hostname

  7. Save the changes to the hosts file.
  8. Reboot your server.
  9. Done!!

See…as simple as that. Less than 10 steps ;)

Good luck!!

Posted by admin
Posted under Centos, Fedora, RedHat
Tags:

Comments (0)

You may experienced before where some of the service is not responding or the server is overloaded where you are not able to access the server via remote desktop. The only way for you to have all the servcie recovered is by rebooting the server.

However, you are miles away from your server which may takes hours to reach it just to login into the server locally. You may indeed called some one at the datacenter to forcefully reboot it by physical reboot, but I dont recommend you to do so unless it is really no other way you can reboot the server. This is due to physically reboot is some how is just cut off the power supply and reapply the power to the server. If the server is busy, you may encounter the harddisk corruption if you done that too frequently and you will need to spend hours to restore the data or the entire server.

You may some how able to restart the server remotely provided you have the administrator password.

All you need to do is that:

1. Get the administrator login details

2. Execute command prompt by go to “Start” >> “Run”  >> enter “cmd” and hit “OK” button

3. Command prompt appear. Just execute the following command line to reboot the server:

shutdown /m \\SERVER_IP /r /f

Just replace SERVER_IP with your server IP address.

4. Enter the admin login when it prompts you.

“Shutdown” command is the Windows command where it enables you to reboot the local terminal or other server machine remotely using command prompt. The option “/m \\SERVER_IP” is to tell the the command which server you want to reboot. You may discard this option if you are rebooting the local terminal which you already in. The option “/r” is to let the command knows that you wish to have the server reboot. The option “/f” is to enable the command to forcefully close all the application that executed by any user without further notification.

I believe this is a good command prompt which may ease you as server administrator to reboot the server without physically appear infront of the server machine.

 

Posted by admin
Posted under Windows 2003, Windows 2008
Tags:

Comments (0)

RDP service is useful for you to manage your server/terminal remotely without you appear infront of the server machine physically.

To enable/disable the RDP via registry:

1. Login into the server

2. Go to “Start” >> “Run

3. Enter “regedit” and hit “OK” button to execute the Registry Editor tool.

4. In the Registry Editor, expand the till the following location:

 [HKEY_LOCAL_MACHINE]\[SYSTEM]\[CURRENTCONTROLSET]\[CONTROL]\[TERMINAL_SERVER]

5. Look for the DWORD value named “fDenyTSConnections“. Right click on the DWORD and select “Modify

6. Change the decimal value from 1 to 0 to enable the remote desktop or set otherwise if you wish to disable the remote desktop service.

Sometimes, you may experience a situation where you forget to enable the remote desktop after you have setup the server machine and you are away from the server. It will be troublesome if you going to travel back to the office/data center for just enable the terminal server. You may also enable it remotely if the server is already available via internet by:

1. Login into your desktop/laptop

2. Go to “Start” >> “Run

3. Enter “regedit” and hit “OK” button to execute the Registry Editor tool.

4. In the Registry Editor, go to “File” >> select “Connect Network Registry..

5. Enter the server IP address in the given textbox and hit “OK” button

6. It will prompt you for administrator login, just enter the server administrator login details.

7. It will loads the server registries.

8. Expand the till the following location:

 [HKEY_LOCAL_MACHINE]\[SYSTEM]\[CURRENTCONTROLSET]\[CONTROL]\[TERMINAL_SERVER]

9. Look for the DWORD value named “fDenyTSConnections“. Right click on the DWORD and select “Modify

10. Change the decimal value from 1 to 0 to enable the remote desktop or set otherwise if you wish to disable the remote desktop service.

There is no need to restart the server after the registry being edited. It will automatically synced with the terminal server services which will apply immediately after the modification. Once the registry is being edited, you can fire up RDP Client to connect to your server. By default, administrator already having permission to access remotely. So, you should be able to access to the server using the administrator login details.

 

Posted by admin
Posted under Windows 2003, Windows 2008
Tags:

Comments (1)