How do you write a program (C++\Python\Java) to install a DHCP server on a remote machine?

Asked by Last Modified  

1 Answer

Learn Java

Follow 0
Answer

Please enter your answer

Trainer

The solution would depend on your environment: is the remote system running Windows/Linux? Also, do you really want to write a program to do this? For Windows Server 2012 - on both the remote system and the one on which you are working - the 'Add roles/features' dialog allows you to connect to...
read more
The solution would depend on your environment: is the remote system running Windows/Linux? Also, do you really want to write a program to do this? For Windows Server 2012 - on both the remote system and the one on which you are working - the 'Add roles/features' dialog allows you to connect to a remote server and add the DHCP role to it. For a flavor of Linux, say Ubuntu - on the remote system - you can simply open an SSH connection and execute the following command: sudo apt-get install dhcp3-server Presumably, you would also want to then configure it - which can be done by creating a configuration file locally and then pushing it to: /etc/default/dhcp3-server Now let's say you do actually want to write a program to do this: Python Use Paramiko to open an SSH connection and fire the command PowerShell Use the Servermanager module. See Page on microsoft.com for some help. C++/Java This isn't really a low-level computing problem - it's more of a sysadmin and infrastructure management problem. I wouldn't recommend using a language like C++/Java to do this - use a scripting language instead. read less
Comments

Related Questions

what is the use of request get parameter map in servlet with example
Map of all input elements of form of Html can be retrieved with getParameterMap() method and it is very rarely used. Map requestParams = request.getParameterMap();
Pushpendra
hi this iz sunil here I done with my b.sc in cs and planning to go fr java course shld I prefer for institution or a lecturer who teaches java at his own tuitions ...
You can choose either of the way, but make sure you join with right tution or instructor, make sure he teaches all the topics.
Sunil
0 0
5
why string class is override in euals()/ hashCode Hethods?
• In the above program we compared two string using equals() method and it returns true.and comparing using == operator returns false. • Basically equal() will also return false on comparing those two...
Rami Reddy
What are the advantages of learning Java?
Dear Niteen Java is one of the most widest implemented technology for programming. Not only its used to develop full fledged Software Applications, but its also used for programming devices like Set...
Niteen
0 0
6

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Android : Support multiple themes in an android application
If you are developing a theme based application to enhance user experience, then following steps needs to follow.We are taking example of an android application having 2 themes white and black.Step 1:Define...

Internet of Things, Social Media Becoming Part of E-Discovery Landscape
The days when e-discovery consisted of handing over copies of e-mails to address Freedom of Information Act (FOIA) requests, compliance regulations or other legal obligations are over. Now, it's just as...

Features Of Java
There is given many features of Java. They are also known as java buzzwords. The Java Features given below are simple and easy to understand. Simple. Object-Oriented. Portable. Platform independent. Secured. Robust. Architecture...

Java Advantages
In this video, learn about Java and its advantages. Also, check out the difference between Java and C++, Java development kit, Java Run Time Environment (JRE) with a proper demonstration program for better clarity.

COMPILATION AND INTERPRETATION
Compilation and Interpertation Process javac (compiler) java(interpreter)high level code - > compile - > bytecode - > interperted - > machine code Bytecode...

Recommended Articles

Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”.  Right from its first implication as java 1.0...

Read full article >

Designed in a flexible and user-friendly demeanor, Java is the most commonly used programming language for the creation of web applications and platform. It allows developers to “write once, run anywhere” (WORA). It is general-purpose, a high-level programming language developed by Sun Microsystem. Initially known as an...

Read full article >

In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...

Read full article >

Java is the most famous programming language till date. 20 years is a big time for any programming language to survive and gain strength. Java has been proved to be one of the most reliable programming languages for networked computers. source:techcentral.com Java was developed to pertain over the Internet. Over...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you