<?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=LAMP_Basic_Training</id>
	<title>LAMP Basic Training - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=LAMP_Basic_Training"/>
	<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=LAMP_Basic_Training&amp;action=history"/>
	<updated>2026-07-25T11:28:27Z</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=LAMP_Basic_Training&amp;diff=1748&amp;oldid=prev</id>
		<title>Amit: /* IMPORTANT NOTE: */</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=LAMP_Basic_Training&amp;diff=1748&amp;oldid=prev"/>
		<updated>2014-12-17T10:38:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;IMPORTANT NOTE:&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:38, 17 December 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l64&quot;&gt;Line 64:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 64:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;##  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;##  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### ‘ps aux | grep httpd’&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### ‘ps aux | grep httpd’&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### ‘netstat –a | grep httpd –established &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lsof’&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### ‘netstat –a | grep httpd –established&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;###  &#039;lsof&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* ‘whois’ is a tool to know about detail information about domains. Same way SSL certificates can be verified too by site&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* ‘whois’ is a tool to know about detail information about domains. Same way SSL certificates can be verified too by site&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Amit</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=LAMP_Basic_Training&amp;diff=1747&amp;oldid=prev</id>
		<title>Amit: Created page with &quot;&#039;&#039;&#039;PHP based service:&#039;&#039;&#039;   TO run a website the basic prerequisites are:  # Network access ,i.e, static ip # DNS to resolve the for name server lookup problems. # LAMP= Linux,...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=LAMP_Basic_Training&amp;diff=1747&amp;oldid=prev"/>
		<updated>2014-12-17T10:32:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;PHP based service:&amp;#039;&amp;#039;&amp;#039;   TO run a website the basic prerequisites are:  # Network access ,i.e, static ip # DNS to resolve the for name server lookup problems. # LAMP= Linux,...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;PHP based service:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TO run a website the basic prerequisites are:&lt;br /&gt;
&lt;br /&gt;
# Network access ,i.e, static ip&lt;br /&gt;
# DNS to resolve the for name server lookup problems.&lt;br /&gt;
# LAMP= Linux,Apache.Mysql,Perl/PHP&lt;br /&gt;
&lt;br /&gt;
Functions:&lt;br /&gt;
&lt;br /&gt;
# Monitoring&lt;br /&gt;
# Basic configuration (PHP/MY SQL)&lt;br /&gt;
# Log analysis/Understanding&lt;br /&gt;
# Basic perimeters and understandings&lt;br /&gt;
# PHP.ini&lt;br /&gt;
# PHPMyadmin&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tips:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* While configuring &amp;#039;&amp;#039;basic apache server,&amp;#039;&amp;#039; all we need is ‘Documentary Root’.&lt;br /&gt;
* In case Apache needs to be run on different predefined port then &amp;#039;&amp;#039;firstly &amp;#039;&amp;#039;it should be free &amp;#039;&amp;#039;secondly &amp;#039;&amp;#039;it should be assign with &amp;lt;virtualhost: *__&amp;gt;&lt;br /&gt;
* Don’t ignore the ‘conf.d’ directory, it contains the crucial files which are necessary to up the service.&lt;br /&gt;
* Production sites are virtual hosted with configuration file generally named as “&amp;#039;&amp;#039;configuration.php”.&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;CMS is usually integrated with MySql.&amp;#039;&amp;#039; MySql should be provided with separate user for access for security reasons.&lt;br /&gt;
* Allowance should be given to localhost only.&lt;br /&gt;
* In MySql,’ /etc/my.conf’ is used for linking PHPMyAdmin. And the 4 IPs of T.I.S should be allowed in the argument “allow from” to hold the access with tetra only.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Remember: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;PHPMyadmin is not recommended but is used for convenient purpose of developers.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;PHPMyadmin:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Its a tool used used for integration purpose (usually with mySql and Ldap).&lt;br /&gt;
* It ease the administration of the services.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;#039;&amp;#039;&amp;#039;MySql Engines:&amp;#039;&amp;#039;&amp;#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* MyISAM- Default working engines.&lt;br /&gt;
* INNODB- used for tuning and performance .&lt;br /&gt;
* FEDRA- used in huge federated environment.&lt;br /&gt;
* NDB- used for clustering purpose.&lt;br /&gt;
* ARCHIVE - used for storing large amounts of data without indexes with a very small footprint. &lt;br /&gt;
* CSV - stores data in text files using comma-separated values format. &lt;br /&gt;
&lt;br /&gt;
== Log Analysis : ==&lt;br /&gt;
&amp;#039;&amp;#039;Logs gives us the right mechanism to diagnose and troubleshoot the problem.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tips:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* ‘.htaccess’ is basically used for over-writing the rules and thus can only be applicable when ‘allowoverride’ argument is passed in httpd.conf file.&lt;br /&gt;
* Log rotation is basically the concept use in the &amp;#039;&amp;#039;log analysis. &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Infrastructure Monitoring: ==&lt;br /&gt;
In reference to T.I.S, monitoring is used to monitor URLs. Service configured in respect of URL may be following:&lt;br /&gt;
&lt;br /&gt;
# http = to monitor &amp;#039;&amp;#039;header mapping, page size, number of sessions.&amp;#039;&amp;#039;&lt;br /&gt;
# CPU= to monitor memory services and all.&lt;br /&gt;
# Disk = to check lvm, disk usage etc.&lt;br /&gt;
&lt;br /&gt;
=== IMPORTANT NOTE: ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;‘top’&amp;#039;&amp;#039;&amp;#039; command informs only about the &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;maximum utilization of resources by applications&amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&lt;br /&gt;
* To check number of sessions, use following:&lt;br /&gt;
&lt;br /&gt;
# &lt;br /&gt;
## &lt;br /&gt;
### ‘ps aux | grep httpd’&lt;br /&gt;
### ‘netstat –a | grep httpd –established lsof’&lt;br /&gt;
&lt;br /&gt;
* ‘whois’ is a tool to know about detail information about domains. Same way SSL certificates can be verified too by site&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Benchmark &amp;amp; tuning:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
# In httpd tuning can be done through the command ‘ab’. Similarly in case of MySql tool is ‘mysqltuning.pl’&lt;br /&gt;
# 70% of tuning is resides within the code itself, rest 30% can be manually configured.&lt;/div&gt;</summary>
		<author><name>Amit</name></author>
	</entry>
</feed>