<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ports &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/ports/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Fri, 30 Dec 2011 17:14:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.18</generator>
	<item>
		<title>How Do I Configure Apache Server To Listen Multiple Ports ?</title>
		<link>https://lifelinux.com/how-do-i-configure-apache-server-to-listen-multiple-ports/</link>
					<comments>https://lifelinux.com/how-do-i-configure-apache-server-to-listen-multiple-ports/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Fri, 30 Dec 2011 17:10:32 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[/etc/httpd/conf/httpd.conf]]></category>
		<category><![CDATA[apache web server]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[incoming requests]]></category>
		<category><![CDATA[number 80]]></category>
		<category><![CDATA[port 8080]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[restart apache]]></category>
		<category><![CDATA[restart httpd]]></category>
		<category><![CDATA[tcp port 80]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1288</guid>

					<description><![CDATA[<p>By default Apache server listens on TCP port 80 but I&#8217;d like an Apache Web Server to listen on port 80 and port 8080. The following article explains how do I configure Apache server to listen multiple ports under CentOS Linux Server? To configure Apache server to listen multiple ports, you need to login as [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-do-i-configure-apache-server-to-listen-multiple-ports/">How Do I Configure Apache Server To Listen Multiple Ports ?</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>By default Apache server listens on TCP port 80 but I&#8217;d like an Apache Web Server to listen on port 80 and port 8080. The following article explains how do I configure Apache server to listen multiple ports under CentOS Linux Server?<br />
<span id="more-1288"></span><br />
To configure Apache server to listen multiple ports, you need to login as root and open configure file <strong>/etc/httpd/conf/httpd.conf</strong> and modify the Listen directive tells the server to accept incoming requests on the specified port.</p>
<pre># vi /etc/httpd/conf/httpd.conf</pre>
<p>Find line that read as follows:</p>
<pre>Listen 80</pre>
<p>Force Apache server to listen on both port 80 and 8080:</p>
<pre>Listen 80
Listen 8080</pre>
<p>And find the VirtualHost portion for your website config and add *:8080 as shown below:</p>
<pre>&lt;VirtualHost *:80 *:8080&gt;
...
&lt;/VirtualHost&gt;</pre>
<p>Save and close the file. Restart apache server:</p>
<pre># service httpd restart</pre>
<g:plusone href="https://lifelinux.com/how-do-i-configure-apache-server-to-listen-multiple-ports/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-do-i-configure-apache-server-to-listen-multiple-ports/">How Do I Configure Apache Server To Listen Multiple Ports ?</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-do-i-configure-apache-server-to-listen-multiple-ports/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Installing Apache With Worker MPM And PHP-FastCGI</title>
		<link>https://lifelinux.com/installing-apache-with-worker-mpm-and-php-fastcgi/</link>
					<comments>https://lifelinux.com/installing-apache-with-worker-mpm-and-php-fastcgi/#comments</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Sun, 28 Aug 2011 09:01:34 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[/usr/local/etc/apache22/httpd.conf]]></category>
		<category><![CDATA[apache 2]]></category>
		<category><![CDATA[binary compatibility]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[fcgi]]></category>
		<category><![CDATA[freebsd php apache]]></category>
		<category><![CDATA[freebsd php fastcgi]]></category>
		<category><![CDATA[freebsd php5 fastcgi]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[mod fcgi]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[process management]]></category>
		<category><![CDATA[suhosin]]></category>
		<category><![CDATA[zend engine]]></category>
		<category><![CDATA[zend technologies]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1138</guid>

					<description><![CDATA[<p>The worker MPM uses multiple child processes with many threads each. Each thread handles one connection at a time. Worker generally is a good choice for high-traffic servers because it has a smaller memory footprint than the prefork MPM. This guide provides the process of switching from Apache&#8217;s default installation of MPM Prefork to that [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/installing-apache-with-worker-mpm-and-php-fastcgi/">Installing Apache With Worker MPM And PHP-FastCGI</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>The worker MPM uses multiple child processes with many threads each. Each thread handles one connection at a time. Worker generally is a good choice for high-traffic servers because it has a smaller memory footprint than the prefork MPM. This guide provides the process of switching from Apache&#8217;s default installation of MPM Prefork to that of MPM Worker and i will also be covering the proper installation of FastCGI (mod_fcgid) to further improve your server performance.<br />
<span id="more-1138"></span></p>
<h2>Install Apache &amp; Switching Apache to Worker MPM mode</h2>
<p>To install apache on CentOS, type the following command as root</p>
<pre># yum install httpd</pre>
<p>If you want to run Apache by default when the system boots, type the following command</p>
<pre># chkconfig httpd --level 2345 on</pre>
<p>To start Apache for the first time, type the following command</p>
<pre># /etc/init.d/httpd start</pre>
<p>To switch Apache to Worker MPM mode edit /etc/sysconfig/httpd</p>
<pre># vi /etc/sysconfig/httpd</pre>
<p>Uncomment the following line</p>
<pre>HTTPD=/usr/sbin/httpd.worker</pre>
<h2>Install PHP &amp; mod_fcgid</h2>
<p>To install PHP 5.3 on CentOS, type the following command</p>
<pre># yum install php53</pre>
<p>Apache run mod_php by default, to disable mod_php, type the following command</p>
<pre># mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php.conf.bak</pre>
<p>To install mod_fcgid, the first you need to ensure httpd-devel package installed, enter</p>
<pre># yum install httpd-devel</pre>
<p>Download &amp; Extract mod_fcgid</p>
<pre># wget http://www.apache.org/dist/httpd/mod_fcgid/mod_fcgid-2.3.6.tar.gz
tar zxvf mod_fcgid-2.3.6.tar.gz
cd mod_fcgid-2.3.6</pre>
<p>To compile mod_fcgid, type the following command</p>
<pre># ./configure.apxs
# make
# make install</pre>
<p>The module will be automatically installed and specified in the configuration file of the Apache. The next step create config for mod_fcgi, enter</p>
<pre># vi /etc/httpd/conf.d/mod_fcgid.conf</pre>
<p>Add the following content</p>
<pre>AddHandler php-fcgi
&lt;FilesMatch \.php$&gt;
Options +ExecCGI
AddHandler php-fcgi .php
FCGIWrapper /var/www/cgi-bin/php-fcgi .php
&lt;/FilesMatch&gt;
AddType text/html .php
DirectoryIndex index.php</pre>
<p>Create php-fcgi script in cgi-bin, enter</p>
<pre>
# vi /var/www/cgi-bin/php-fcgi
</pre>
<p>Add the following content</p>
<pre>
#!/bin/sh
PHPRC=/etc/
export PHPRC
export PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_CHILDREN=0
exec /usr/bin/php-cgi
</pre>
<p>Make file executable</p>
<pre>
# chmod +x /var/www/cgi-bin/php-fcgi
</pre>
<p>I would recommend that you specify the line below in /etc/php.ini cgi.fix_pathinfo = 1, enter</p>
<pre>
# echo "cgi.fix_pathinfo = 1" >> /etc/php.ini
</pre>
<p>Final, restart Apache with the following command</p>
<pre>
# /etc/init.d/httpd restart
</pre>
<g:plusone href="https://lifelinux.com/installing-apache-with-worker-mpm-and-php-fastcgi/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/installing-apache-with-worker-mpm-and-php-fastcgi/">Installing Apache With Worker MPM And PHP-FastCGI</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/installing-apache-with-worker-mpm-and-php-fastcgi/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Display motherboard information on Linux</title>
		<link>https://lifelinux.com/display-motherboard-information-on-linux/</link>
					<comments>https://lifelinux.com/display-motherboard-information-on-linux/#comments</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Mon, 25 Apr 2011 16:09:37 +0000</pubDate>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[disk space usage]]></category>
		<category><![CDATA[dma channels]]></category>
		<category><![CDATA[Dmidecode]]></category>
		<category><![CDATA[Dmidecode command]]></category>
		<category><![CDATA[ehci]]></category>
		<category><![CDATA[fpu]]></category>
		<category><![CDATA[get mainboad info]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[hardware conflict]]></category>
		<category><![CDATA[irq]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[memory information]]></category>
		<category><![CDATA[output device]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[system disk space]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=303</guid>

					<description><![CDATA[<p>Dmidecode reports information about your system&#8217;s hardware as described in your system BIOS according to the SMBIOS/DMI standard (see a sample output). This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/display-motherboard-information-on-linux/">Display motherboard information on Linux</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>Dmidecode reports information about your system&#8217;s hardware as described in your system BIOS according to the SMBIOS/DMI standard (see a sample output). This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer. This will often include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of I/O ports (e.g. serial, parallel, USB).<span id="more-303"></span><br />
The command example below show the use of dmidecode command to display motherboard information or baseboard information.</p>
<pre>
[root@lifelinux ~]# dmidecode --type baseboard
</pre>
<p>Sample outputs:</p>
<pre>
# dmidecode 2.10
SMBIOS 2.6 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
	Manufacturer: Supermicro
	Product Name: X8SIE
	Version: 0123456789
	Serial Number: 0123456789
	Asset Tag: To Be Filled By O.E.M.
	Features:
		Board is a hosting board
		Board is replaceable
	Location In Chassis: To Be Filled By O.E.M.
	Chassis Handle: 0x0003
	Type: Motherboard
	Contained Object Handles: 0

Handle 0x0047, DMI type 41, 11 bytes
Onboard Device
	Reference Designation: To Be Filled By O.E.M.
	Type: Video
	Status: Enabled
	Type Instance: 0

Handle 0x0048, DMI type 41, 11 bytes
Onboard Device
	Reference Designation: To Be Filled By O.E.M.
	Type: SCSI Controller
	Status: Disabled
	Type Instance: 0
</pre>
<p>Get more infomation using dmidecode command. Type the following command:</p>
<pre>
[root@lifelinux ~]# dmidecode --type
</pre>
<p>Output:</p>
<pre>
dmidecode: option `--type' requires an argument
Type number or keyword expected
Valid type keywords are:
  bios
  system
  baseboard
  chassis
  processor
  memory
  cache
  connector
  slot
</pre>
<p>Example, get processor information. Type the following command:</p>
<pre>
[root@lifelinux ~]# dmidecode --type processor
</pre>
<p>Sample outputs:</p>
<pre>
# dmidecode 2.10
SMBIOS 2.6 present.

Handle 0x0004, DMI type 4, 42 bytes
Processor Information
	Socket Designation: CPU
	Type: Central Processor
	Family: Xeon
	Manufacturer: Intel            
	ID: E5 06 01 00 FF FB EB BF
	Signature: Type 0, Family 6, Model 30, Stepping 5
	Flags:
		FPU (Floating-point unit on-chip)
		VME (Virtual mode extension)
		DE (Debugging extension)
		PSE (Page size extension)
		TSC (Time stamp counter)
		MSR (Model specific registers)
		PAE (Physical address extension)
		MCE (Machine check exception)
		CX8 (CMPXCHG8 instruction supported)
		APIC (On-chip APIC hardware supported)
		SEP (Fast system call)
		MTRR (Memory type range registers)
		PGE (Page global enable)
		MCA (Machine check architecture)
		CMOV (Conditional move instruction supported)
		PAT (Page attribute table)
		PSE-36 (36-bit page size extension)
		CLFSH (CLFLUSH instruction supported)
		DS (Debug store)
		ACPI (ACPI supported)
		MMX (MMX technology supported)
		FXSR (Fast floating-point save and restore)
		SSE (Streaming SIMD extensions)
		SSE2 (Streaming SIMD extensions 2)
		SS (Self-snoop)
		HTT (Hyper-threading technology)
		TM (Thermal monitor supported)
		PBE (Pending break enabled)
	Version: Intel(R) Xeon(R) CPU           X3440  @ 2.53GHz     
	Voltage: Unknown
	External Clock: 133 MHz
	Max Speed: 2533 MHz
	Current Speed: 2533 MHz
	Status: Populated, Enabled
	Upgrade: Other
	L1 Cache Handle: 0x0005
	L2 Cache Handle: 0x0006
	L3 Cache Handle: 0x0007
	Serial Number: To Be Filled By O.E.M.
	Asset Tag: To Be Filled By O.E.M.
	Part Number: To Be Filled By O.E.M.
	Core Count: 4
	Core Enabled: 4
	Thread Count: 8
	Characteristics:
		64-bit capable
</pre>
<g:plusone href="https://lifelinux.com/display-motherboard-information-on-linux/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/display-motherboard-information-on-linux/">Display motherboard information on Linux</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/display-motherboard-information-on-linux/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
