<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=Configuration_of_single_URL</id>
	<title>Configuration of single URL - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=Configuration_of_single_URL"/>
	<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Configuration_of_single_URL&amp;action=history"/>
	<updated>2026-07-27T11:09:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Configuration_of_single_URL&amp;diff=4277&amp;oldid=prev</id>
		<title>Admin: Auto-created from uploaded PDF text extraction</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Configuration_of_single_URL&amp;diff=4277&amp;oldid=prev"/>
		<updated>2026-07-26T16:27:09Z</updated>

		<summary type="html">&lt;p&gt;Auto-created from uploaded PDF text extraction&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;Auto-generated from the uploaded PDF [[:File:Configuration_of_single_URL.pdf|Configuration_of_single_URL.pdf]]. This is an extracted-text rendering for searchability; see the original PDF for exact formatting, diagrams, tables, and images.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Configuration of single URL&lt;br /&gt;
&lt;br /&gt;
Install python&lt;br /&gt;
yum install nginx python3 python3-pip&lt;br /&gt;
pip3 install flask&lt;br /&gt;
&lt;br /&gt;
Now make directory&lt;br /&gt;
mkdir /zimbra-login&lt;br /&gt;
&lt;br /&gt;
Now go in to the dir&lt;br /&gt;
cd /zimbra-login/&lt;br /&gt;
&lt;br /&gt;
List the dir&lt;br /&gt;
ls&lt;br /&gt;
python3 -m venv venv&lt;br /&gt;
source venv/bin/activate&lt;br /&gt;
pip3 install flask requests&lt;br /&gt;
&lt;br /&gt;
Make dir.&lt;br /&gt;
mkdir static&lt;br /&gt;
&lt;br /&gt;
mv single.conf /root/&lt;br /&gt;
&lt;br /&gt;
Unzip the dar file&lt;br /&gt;
tar xvfz single_url.tar.gz&lt;br /&gt;
ls&lt;br /&gt;
cd zimbra-login/&lt;br /&gt;
ls&lt;br /&gt;
&lt;br /&gt;
Copy the app.py to zimbra-login&lt;br /&gt;
cp app.py /zimbra-login/&lt;br /&gt;
cp -pvr static templates /zimbra-login/&lt;br /&gt;
&lt;br /&gt;
cd /zimbra-login/&lt;br /&gt;
cp app.py app.py.org&lt;br /&gt;
vi app.py&lt;br /&gt;
&lt;br /&gt;
vi login.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install tmux&lt;br /&gt;
Yum install tmux&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Go into timux&lt;br /&gt;
Run python script&lt;br /&gt;
Come out from tmux&lt;br /&gt;
Ctrl + b then d&lt;br /&gt;
&lt;br /&gt;
vi ne_ldap-import.sh&lt;br /&gt;
&lt;br /&gt;
Make two files for NE and OSE&lt;br /&gt;
&lt;br /&gt;
mv ldap-import.sh ne-ldap-import.sh&lt;br /&gt;
&lt;br /&gt;
cp ne-ldap-import.sh ose-ldap-import.sh&lt;br /&gt;
&lt;br /&gt;
vi ose-ldap-import.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cp * /opt/&lt;br /&gt;
cd /opt/&lt;br /&gt;
&lt;br /&gt;
vi single.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cp single.conf single.conf.org&lt;br /&gt;
&lt;br /&gt;
Now copy single.conf to /etc/nginx/conf.d/&lt;br /&gt;
cp single.conf /etc/nginx/conf.d/&lt;br /&gt;
nginx -t&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
systemctl start nginx&lt;br /&gt;
systemctl enable nginx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ip a&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cat single.conf&lt;br /&gt;
&lt;br /&gt;
cat /opt/ne-ldap-import.sh&lt;br /&gt;
Change the parameters accordingly&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install openldap-clients&lt;br /&gt;
 yum install openldap-clients&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Run the script and check in file.&lt;br /&gt;
&lt;br /&gt;
sh ne-ldap-import.sh&lt;br /&gt;
vi ne-ldap-import.sh&lt;br /&gt;
&lt;br /&gt;
sh ne-ldap-import.sh&lt;br /&gt;
 vi ose-ldap-import.sh&lt;br /&gt;
&lt;br /&gt;
COMPLETED&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>