-
Notifications
You must be signed in to change notification settings - Fork 0
/
SubmitValues.jsp
94 lines (64 loc) · 1.99 KB
/
SubmitValues.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<%@page import="java.io.*"%>
<html>
<head>
<title> .: LDAP GUI for Academic Institutes :. Get Values from user</title>
</head>
<body>
<%!
String CollegeName;
String Domain;
int deptno;
%>
<%
// Get Values from the previous form
CollegeName=request.getParameter("Clgname");
Domain=request.getParameter("domain");
deptno=Integer.parseInt(request.getParameter("DeptNo"));
%>
<font color="darkblue">
<h1 align=center>LDAP GUI for Academic Institutes</h1>
</font>
<center>
<form action="GetConfig.jsp">
<!--
Simply carry these values forward to the next page
-->
<input type="hidden" name="Clgname" value="<%=CollegeName%>">
<input type="hidden" name="domain" value="<%=Domain%>">
<input type="hidden" name="DeptNo" value="<%=deptno%>">
<h3 align="center">
.: Server Software Installation for <font color="green"><%=CollegeName%></font> :.
</h3>
<h4 align="center">Installing OpenLDAP and Berkeley DB</h4>
</br>
<font face="Verdana" size="3pt">
Following Softwares will be installed on your machine
<ul>
<li> OpenLDAP - 2.3.30 </li>
<li> Berkeley DB - 4.3.29 </li>
</ul>
Run the Script named <b>Install.sh</b> from the Scripts Directory
<br> <br>
.:Notes:.
<ul>
<li> You need to run the script as a <i>sudo</i> user </li>
<li> Other details of the file execution are available in the file itself </li>
</ul>
<b>How to execute :</b> <br>
<tt> sudo bash <path_of_directory>/Install.sh
</tt>
<br><br>
If the script ran successfully [i.e. with an exit status of 0], then above softwares are installed correctly. <br>
Now, you need to customize the configuration of the server.
<br><br>
</font>
<font face="Verdana" size="1pt">
<i> The reason we have not executed the shell script from this webpage is that, if done so, the user wouldn't have got to see the actual compilation process of the Server Software Installation.
</i>
</font>
<br>
<input type="Submit" Value="Start Configuration">
</form>
</center>
</body>
</html>