<?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>:: TechBlog :: &#187; server</title>
	<atom:link href="http://techblog.touchbasic.com/html/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.touchbasic.com/html</link>
	<description>Techblog is collection of articles covering a wide variety of tech related topics including: Linux, Microsoft, Google, web development, web design, open source, wordpress, security, and more.</description>
	<lastBuildDate>Fri, 06 May 2011 00:58:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Setting up a Minimal Samba Server in Fedora Core 12</title>
		<link>http://techblog.touchbasic.com/html/setting-up-a-minimal-samba-server-in-fedora-core-12/</link>
		<comments>http://techblog.touchbasic.com/html/setting-up-a-minimal-samba-server-in-fedora-core-12/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 04:58:47 +0000</pubDate>
		<dc:creator>elran</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[Fedora Code]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/?p=505</guid>
		<description><![CDATA[Goal: Minimal FC12 Samba install with low RAM usage, high security, and least amount of configuration. Why? Quickly turn an older machine into a modern Fedora Core 12 file server compatible with linux and windows clients. Less software installed means less setup, less maintenance, less updates, and less chance of human error somewhere along the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Goal:</strong><br />
Minimal FC12 <a href="http://www.samba.org/">Samba</a> install with low RAM usage, high security, and least amount of configuration.</p>
<p><strong>Why?</strong><br />
Quickly turn an older machine into a modern Fedora Core 12 file server compatible with linux and windows clients. Less software installed means less setup, less maintenance, less updates, and less chance of human error somewhere along the way. The theory here is, the system starts out relatively secure and (if kept up-to-date) should remains so over time.</p>
<p><strong>Side Note:</strong><br />
There are definitely many other ways to go about setting up a Samba server, much of which depends on your networking environment and overall requirements / constraints. This article is meant more as a guide &#8211; my notes which describe the method i happen to use &#8211; so that if i have to, i can do it all again.</p>
<p><strong>Assumptions:</strong><br />
- Comfortable with install and use of Fedora Core Linux OS (command line)<br />
- Basic understanding of networking concepts (setting up a static IP)<br />
- Some experience with editing the smb.conf file</p>
<p><strong>Features:</strong><br />
- No GUI / Desktop Environment<br />
- Low RAM usage: boots up @ ~80MB with smbd and nmbd running<br />
- SELinux and iptables firewall enabled / configured for use with Samba<br />
- Samba Security level = User</p>
<p><strong>System Resources:</strong><br />
CPU: AMD @ 700MHz<br />
RAM: 192MB</p>
<p><strong>Steps Involved:</strong></p>
<ol>
<li><a href="http://fedoraproject.org/en/get-fedora-all">Download</a> and burn the Fedora-12-i386-DVD.iso file to dvd</li>
<li>Boot from the disc and go through install process (with less that 200MB RAM it defaults to text mode install &#8211; you can also force a text mode install at the boot: prompt by typing: linux text)</li>
<li>Once install is completed and system is rebooted, login as root</li>
<li>Check that networking is up<br />
- type:
<pre>ifconfig</pre>
<p> (see if you have an IP address)<br />
- type:
<pre>dhclient eth0</pre>
<p> (to use dhcp for now)</li>
<li>Bring the system up to date<br />
- type:
<pre>yum check-update</pre>
<p> (to check for updates first)<br />
- type:
<pre>yum update</pre>
<p> (say &#8220;yes&#8221; to install the updates)</li>
<p>- type:
<pre>yum list installed</pre>
<p> (to see a list of all installed packages)</p>
<li>Check to see what package &#8220;groups&#8221; got installed by default<br />
- type:
<pre>yum grouplist > grouplist.txt</pre>
<p>- type:
<pre>cat grouplist.txt | more</pre>
</li>
<li>Remove any unwanted package groups<br />
- type:
<pre>yum groupremove "Mail Server"</pre>
</li>
<li>Add the Samba package group<br />
- type:
<pre>yum groupinstall "Windows File Server"</pre>
</li>
<li>Configure Samba by editing /etc/samba/smb.conf<br />
- Note, for Vista support (in the Global section) add:
<pre>client NTLMv2 auth = yes</pre>
<p>- Note, to hide unreadable files like /lost+found/ (in the Global section) add:
<pre>hide unreadable = yes</pre>
<p>- type:
<pre>testparm</pre>
<p> (confirm output has no errors in it)</li>
<li>Deal with SELinux security policies (see default smb.conf file for details)<br />
- type:
<pre>setsebool -P samba_domain_controller on</pre>
<p>- type:
<pre>setsebool -P samba_enable_home_dirs on</pre>
<p>- type:
<pre>chcon -t samba_share_t /path-to-mounted-directories</pre>
<p> (remember to mount any/all directories first)<br />
- type:
<pre>ls -ldZ /path-to-mounted-directories</pre>
<p> (to confirm it worked)<br />
- Note, for existing shares, to make sure this affects all files and folders recursively add:
<pre>chcon -R -t samba_share_t /path-to-existing-mounted-directories</pre>
<p>- Note: to completely disable SELinux protection for smbd daemon (not recommended) type:
<pre>setsebool -P smbd_disable_trans 1</pre>
<p>- Note: you can temporarily disable SELinux by putting it into permissive mode &#8211; type:
<pre>getenforce</pre>
<p> to find out whether SELinux is in permissive [0], enforcing [1], or disabled [2] mode.<br />
- Note: to put SELinux into permissive mode (for testing purposes but not recommended) type:
<pre>setenforce 0</pre>
</li>
<li>Add samba users<br />
- type:
<pre>useradd john</pre>
<p>- type:
<pre>smbpasswd -a john</pre>
</li>
<li>Configure the firewall to accept samba connections<br />
- type:
<pre>system-config-firewall-tui</pre>
<p> (add an asterix next to the line: &#8220;Samba&#8221;)</li>
<li>Configure the network to use static IP/netmask/gateway/DNS info<br />
- type:
<pre>system-config-network-tui</pre>
<p>- select: [Edit a Device Params] and remove the asterix from the line: &#8220;Use DHCP&#8221;. then, and add static info</li>
<li>Configure the network to use a static Hostname and DNS address (note: DNS settings may not be required)<br />
- type:
<pre>system-config-network-tui</pre>
<p>- select: [Edit DNS configuration] then, and add static hostname and dns info</li>
<li>Get the network, smb, and nmb to start automatically next time you reboot<br />
- type:
<pre>chkconfig --level 3 network on</pre>
<p>- type:
<pre>chkconfig --level 3 smb on</pre>
<p>- type:
<pre>chkconfig --level 3 nmb on</pre>
<p>- type:
<pre>chkconfig --list network</pre>
<p> (or smb, or nmb to confirm it worked. you can also leave out the servicename to see a list of all services)</li>
</ol>
<p><strong>Reboot.</strong><br />
Use another computer to check that everything went well.</p>
<p><strong>Optionally:</strong><br />
1. Install NTFS support.<br />
- type:
<pre>yum install ntfs-3g</pre>
<p>2. Once it&#8217;s done downloading/installing, figure out which device it is (for me it was /dev/sde1) and mount it.<br />
- type:
<pre>mount -t ntfs /dev/[your-usb-device] /media/</pre>
<p>3. Deal with selinux and ntfs support<br />
- type:
<pre>setsebool -P samba_share_fusefs 1</pre>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/setting-up-a-minimal-samba-server-in-fedora-core-12/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>More New Features from Mon.itor.us</title>
		<link>http://techblog.touchbasic.com/html/more-new-features-from-monitorus/</link>
		<comments>http://techblog.touchbasic.com/html/more-new-features-from-monitorus/#comments</comments>
		<pubDate>Thu, 26 Oct 2006 17:15:22 +0000</pubDate>
		<dc:creator>elran</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Writing]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[email notification]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[monitorus]]></category>
		<category><![CDATA[real-time]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sip]]></category>
		<category><![CDATA[uptime]]></category>
		<category><![CDATA[voip]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web based]]></category>
		<category><![CDATA[web2.0]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/?p=177</guid>
		<description><![CDATA[I recently wrote about a web-based service called Mon.itor.us that can monitor your servers, 24/7 &#8211; sending you an email notification if any of them stop responding. Well, they noticed my review, and i&#8217;m not sure if it was just a coincidence, but the next time i logged into their system &#8211; there were even [...]]]></description>
			<content:encoded><![CDATA[<p>I recently wrote about a web-based service called Mon.itor.us that can <a href="http://techblog.touchbasic.com/html/monitoring-monitorus-montastic-server-uptime-anyone/">monitor your servers</a>, 24/7 &#8211; sending you an email notification if any of them stop responding.</p>
<p>Well, <a href="http://blog.mon.itor.us/?p=142">they noticed</a> my review, and i&#8217;m not sure if it was just a coincidence, but the next time i logged into their system &#8211; there were even more new features available to me.</p>
<p>For one thing, it looks like the number of protocols that Mon.itor.us can test has almost doubled.</p>
<p>You can now monitor the following 11 internet protocols:</p>
<p>http, ping, https, ftp, pop, smtp, dns, tcp, udp, imap, and sip (for VoIP).</p>
<p>I just wish they would add a way to monitor mysql servers. Not exactly sure how that would be done, but for now i suppose i can just try monitoring the URL (http) of the phpMyAdmin page for my database server. If that page doesn&#8217;t respond &#8211; but the URL for the webserver does &#8211; it&#8217;s like my database server is down.</p>
<p>The other thing i noticed was the addition of 3 new icons on the &#8220;Test&#8221; module that make it easier to switch between real-time table, bar chart, and line chart views. [ <a href="http://www.webhostingwednesday.com/mondays-gone-but-well-just-keep-movin-on/">more screenshots</a> ]</p>
<p><img src="http://techblog.touchbasic.com/html/wp-images/uploads/3icons_monitorus.gif" alt="3 new icons make switching views ever easier" /></p>
<p>Now, if only Mon.itor.us would remember the view i was on the last time i logged in &#8211; i&#8217;d be set. See, the problem is, once i actually went ahead and setup a bunch of servers to monitor, i also decided to take the time to manually switch each &#8220;Test&#8221; module from table view to line view. i prefer the line view but then if i leave the Mon.itor.us site, the next time i come back and log in, all my views have been reset to table view again. Very frustrating. I wish it would just stay on line view.</p>
<p>Fortunately, the &#8220;Snapshot&#8221; module is always a quick way to see the status of all your servers &#8211; so that can definitely save you some time. But, in my opinion, the best way to see how your servers have been performing throughout the day, is to use the line view. i&#8217;m not exactly sure how hard it would be to impliment this kind of memory feature, but i think it might be worth considering. At the very least, offer a global &#8220;default&#8221; view in my settings, where i can choose between table, bar, or line view as my preference.</p>
<p>Another fix they seemed to have implimented solves the problem of &#8220;constant page refreshes&#8221; &#8211; something else that i had mentioned in my earlier review of Mon.itor.us &#8211; which was a real problem for me if you&#8217;re using Firefox and have a billion tabs open with one tab that just won stop refreshing. Now i can leave the tab open all day with no apparent performance issues.</p>
<p>The last thing i&#8217;d like to see from Mon.itor.us would be a way to make the <a href="http://gmodules.com/ig/creator?url=http://premon.itor.us/googleTest/snapshot/snapshoturl.xml&#038;synd=open&#038;w=320&#038;h=300&#038;title=Snapshot&#038;border=%23ffffff%7C3px%2C1px+solid+%23999999">google gadget</a> (or rather the javascript used to put this gadget on any webpage) publicly viewable. That is, once i put the code on my website, i noticed that i had to be logged in to see the &#8220;Snapshot&#8221;. Meaning, nobody else could see the little green &#8220;online&#8221; lights but me. It would be a lot more useful to me to be able to show my clients (or anyone) that all my servers are online. It&#8217;s not exactly sensitive information (anyone could just ping the server to see if it&#8217;s online) and making this widget &#8220;publicly viewable&#8221; would likely make it more attractive to other webmasters, since it becomes a useful tool to share with all viewers, not just 1 person (yourself).</p>
<p>Anyway, i really like this service and i&#8217;m sure they&#8217;ll find a ton of ways to refine and expand it&#8217;s capabilities. I did happen to notice that there is a &#8220;Click to Start&#8221; button on the top-righthand side of the homepage, that if you click on it, remembers you from the last time you were logged in. This was something that i must have missed when i wrote my original review because i kept having to log in over and over again (every time i came back to the site).  i&#8217;m going to go back and update that section on my ealier post as soon as i get a chance. i&#8217;ll definitely be using this service regularly from now on.</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/more-new-features-from-monitorus/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Monitoring, Monitorus, Montastic &#8211; Server Uptime Anyone?</title>
		<link>http://techblog.touchbasic.com/html/monitoring-monitorus-montastic-server-uptime-anyone/</link>
		<comments>http://techblog.touchbasic.com/html/monitoring-monitorus-montastic-server-uptime-anyone/#comments</comments>
		<pubDate>Tue, 24 Oct 2006 01:57:16 +0000</pubDate>
		<dc:creator>elran</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Writing]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[email notification]]></category>
		<category><![CDATA[feeds]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[monitorus]]></category>
		<category><![CDATA[montastic]]></category>
		<category><![CDATA[netvibes]]></category>
		<category><![CDATA[real-time]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[uptime]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web based]]></category>
		<category><![CDATA[web2.0]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/?p=175</guid>
		<description><![CDATA[Here&#8217;s a couple of neato services that you can use to monitor any web server&#8217;s uptime throughout the day. I&#8217;ve been looking for a free service like this for a while now. Web-based software that would track the response times of your servers from various points on the internet, giving you a &#8220;true&#8221; feel for [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a couple of neato services that you can use to monitor any web server&#8217;s uptime throughout the day. I&#8217;ve been looking for a free service like this for a while now. Web-based software that would track the response times of your servers from various points on the internet, giving you a &#8220;true&#8221; feel for how available your website (or web host) <em>really</em> is. The 2 services are called <a href="http://mon.itor.us/">Mon.itor.us</a> and <a href="http://www.montastic.com/">Montastic</a>. In this article, i&#8217;ll be comparing the key features that each one has to offer.</p>
<div style="border:1px solid #000;float:left;margin:20px 5px 20px 0;"><img src="http://techblog.touchbasic.com/html/wp-images/uploads/monitorus.gif" alt="monitorus" /></div>
<div style="border:1px solid #000;float:left;margin:20px 0 20px 5px;"><img src="http://techblog.touchbasic.com/html/wp-images/uploads/montastic.gif" alt="montastic" /></div>
<div style="clear:both;"></div>
<p>Both of these services still have their quirks, but such is the case with most things in life (and on the web) that are free. Still, i have been using them both for a few days now and together they have already proved to be quite useful. Here&#8217;s why..</p>
<p><span id="more-175"></span></p>
<p>I&#8217;ll start with <strong>Montastic</strong>, since it&#8217;s key feature is simplicity and ease of use.</p>
<ol>
<li>after signup, you just need to click on the link that says: &#8220;Add a Web Server to Monitor&#8221; </li>
<li>then enter a URL to begin monitoring that web server (it takes a few seconds to start working)</li>
<li>a green &#8220;computer icon&#8221; means your server is online (red means offline)</li>
<li>optionally, set a &#8220;name&#8221; for this URL to make it easier for you to identify</li>
</ol>
<p>that&#8217;s it. everything has a nice, clean ajaxy feel. the site is fast and relatively easy to navigate.<br />
you can also get some extra details, like &#8220;last monitored&#8221; and &#8220;status change&#8221; by clicking on the &#8220;info&#8221; link next to the icon for the server you&#8217;re monitoring.</p>
<p>both of these services have an email notification system. but, so far, my experience has been that only <em>this one</em> (montastic) actually works. a recent server outage (not this site) proved that for me today. Both of these services also offer alerts in the form of feeds that seemed to work fine.</p>
<p><span class="under">3 features that make this service unique</span>:</p>
<ol>
<li>they offer a yahoo widget that reports the status of your servers in real-time, right on your desktop</li>
<li>the offer a netvibes module which is slick as a brick (it&#8217;s not too pretty by it works great)</li>
<li>they offer: &#8220;the green page&#8221; (you&#8217;re totally going to have to see this page for yourself to understand)</li>
</ol>
<p>On to <strong>Mon.itor.us</strong> &#8211; which is a slightly more complex service, allowing for a flood of potential awesomeness and quite a few annoyances as well. Basically, my biggest problem with this service so far is: &#8220;It&#8217;s Flaky&#8221;. By that, i mean, it&#8217;s plagued with all the same bugs and buggers that PageFlakes has, even burdoned by the same ajax desktop interface &#8211; it seems. Without going into too much detail (ie: constant page refreshes and a login that will never remember you), this would be another example of one of the reasons that i have been a strong <a href="http://techblog.touchbasic.com/html/tag/netvibes">supporter</a> of <a href="http://www.netvibes.com">Netvibes</a> for so long.</p>
<p>That being said, Mon.itor.us has a lot of already working features that come packed in with it&#8217;s service.</p>
<p>From their site (and because i&#8217;m sometimes lazy), here are the ones that stood out the most for me:</p>
<ul>
<li>Site performance archive</li>
<li>Inline site previews</li>
<li>Personalized pages and tabbed views</li>
<li>Drag and drop interactive interface </li>
<li>Todo tasks with notification and ability to add notes</li>
<li>Support these protocols for testing: http, https, ftp, smtp, pop3, and ping.</li>
<li>Daily/weekly/monthly uptime reports and statistics</li>
</ul>
<p>And in case that wasn&#8217;t enough for you.. here&#8217;s a few more things that i noticed mon.itor.us can do that wasn&#8217;t already mentioned in the previous list. These are the real clinchers for me.</p>
<p><span class="under">6 more features that make this service unique</span>:</p>
<ol>
<li>there&#8217;s a cool Google Gadget for this service out there somewhere</li>
<li>you can tag each URL / server you are monitoring and then organize / view them by groups</li>
<li>you can switch between real-time table, bar chart, and line chart views.</li>
<li>view stats for each protocol, snapshots of all your servers</li>
<li>view from three seperate geographical locations (US, DE, AT)</li>
<li>there&#8217;s some javascript code that goes along with the google gadget that will let you put your &#8220;snapshot&#8221; on virtually any web page</li>
</ol>
<p>All in all, i would say that it&#8217;s a little harder to setup each URL with mon.itor.us, when compared to montastic. But once you get all your servers setup for monitoring, there&#8217;s a lot more you can do with them too.</p>
<p>Still, as i mentioned earlier, i was quite pleased with both of these services and will continue to test each one more thoroughly in the coming months.</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/monitoring-monitorus-montastic-server-uptime-anyone/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

