<?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>M@M@T BLOG</title>
	<atom:link href="http://www.mamat.namaku.web.id/index.php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mamat.namaku.web.id</link>
	<description>Hanya sebuah catatan kecil.</description>
	<lastBuildDate>Thu, 12 Jan 2012 09:24:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Rooting &amp; Unrooting Galaxy Young CDMA &#8211; SCH-i509</title>
		<link>http://www.mamat.namaku.web.id/index.php/archives/256</link>
		<comments>http://www.mamat.namaku.web.id/index.php/archives/256#comments</comments>
		<pubDate>Thu, 12 Jan 2012 09:24:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PROJECT]]></category>

		<guid isPermaLink="false">http://www.mamat.namaku.web.id/?p=256</guid>
		<description><![CDATA[Download Bahan : ROOTING *) pilih file update_galaxy_y_cdma_flespj.zip simpan di SD card *) Matikan HP *) Hidupkan HP setelah keluar logo samsung pencet tombol volume UP sampai masuk ke recovery mode *) pilih apply update from sd card, gunakan tombol volume utk pilih2 dan tombol home untuk &#8220;ok&#8221;. *) pilih file update.zip yang tadi *) [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.4*shared.com/folder/wKQ9Jq_g/Galaxy_Y_CDMA.html">Download Bahan</a> :</p>
<p><strong>ROOTING</strong></p>
<p>*) pilih file <a title="update_galaxy_y_cdma_flespj.zip" href="http://www.4shared.com/zip/gOR5KpVQ/update_galaxy_y_cdma_flespj.html" target="_blank"><img src="http://static.4shared.com/images/spacer.gif" alt="update_galaxy_y_cdma_flespj.zip" hspace="1" vspace="1" /></a><em>update_galaxy_y_cdma_flespj.zip </em>simpan di SD card</p>
<p>*) Matikan HP</p>
<p>*) Hidupkan HP setelah keluar logo samsung pencet tombol volume UP sampai masuk ke recovery mode</p>
<p>*) pilih apply update from sd card, gunakan tombol volume utk pilih2 dan tombol home untuk &#8220;ok&#8221;.</p>
<p>*) pilih file update.zip yang tadi</p>
<p><strong>*) </strong>klo udah selesai, bakal balik lagi ke menu utama, dan pilih reboot now</p>
<p>*) cek di list applikasi, udah ada app superuser blum, klo sudah ada, galye agan berhasil di Root</p>
<p><strong>UNROOTING :</strong></p>
<p>*) Download bahan dan pilih file <a title="update-unroot_galaxy_y_cdma_flespj.zip" href="http://www.4shared.com/zip/k3YEiHOd/update-unroot_galaxy_y_cdma_fl.html" target="_blank"><img src="http://static.4shared.com/images/spacer.gif" alt="update-unroot_galaxy_y_cdma_flespj.zip" hspace="1" vspace="1" /></a><em>update-unroot_galaxy_y_cdma_flespj.zip </em>simpan di sd card<em><br />
</em></p>
<p>*) Ulangi langkah ke 2 sampai terakhir<em> </em></p>
<p><em>Source : kaskus.us<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mamat.namaku.web.id/index.php/archives/256/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FTP Unix Command</title>
		<link>http://www.mamat.namaku.web.id/index.php/archives/251</link>
		<comments>http://www.mamat.namaku.web.id/index.php/archives/251#comments</comments>
		<pubDate>Mon, 05 Dec 2011 16:11:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PROJECT]]></category>

		<guid isPermaLink="false">http://www.mamat.namaku.web.id/?p=251</guid>
		<description><![CDATA[DESCRIPTION Ftp is the user interface to the Internet standard File Transfer Protocol. The program allows a user to transfer files to and from a remote network site. Options may be specified at the command line, or to the command interpreter. -p Use passive mode for data transfers. Allows use of ftp in environments where [...]]]></description>
			<content:encoded><![CDATA[<h2>DESCRIPTION</h2>
<p><strong>Ftp</strong> is the user interface to the <strong>Internet</strong> standard File Transfer Protocol. The program allows a user to transfer files to and from a remote network site.</p>
<p>Options may be specified at the command line, or to the command interpreter.</p>
<p><span id="more-251"></span></p>
<dl>
<dt><strong>-p</strong> </dt>
<dd>Use passive mode for data transfers. Allows use of ftp in environments where a firewall prevents connections from the outside world back to the client machine. Requires that the ftp server support the PASV command. This is the default now for <strong>all</strong> clients (ftp and pftp) due to security concerns using the PORT transfer mode. The flag is kept for compatibility only and has no effect anymore. </dd>
<dt><strong>-i</strong></p>
<div id="wide"><script type="text/javascript">// <![CDATA[
zSB(3,3)
// ]]&gt;</script></div>
</dt>
<dd>Turns off interactive prompting during multiple file transfers. </dd>
<dt><strong>-n</strong> </dt>
<dd>Restrains <strong>ftp</strong> from attempting auto-login upon initial connection. If auto-login is enabled, <strong>ftp</strong> will check the .netrc (see <a href="/library/cmd/blcmdl5_netrc.htm">netrc</a>(5)) file in the user&#8217;s home directory for an entry describing an account on the remote machine. If no entry exists, <strong>ftp</strong> will prompt for the remote machine login name (default is the user identity on the local machine), and, if necessary, prompt for a password and an account with which to login. </dd>
<dt><strong>-e</strong> </dt>
<dd>Disables command editing and history support, if it was compiled into the <strong>ftp</strong> executable. Otherwise, does nothing. </dd>
<dt><strong>-g</strong> </dt>
<dd>Disables file name globbing. </dd>
<dt><strong>-v</strong> </dt>
<dd>Verbose option forces <strong>ftp</strong> to show all responses from the remote server, as well as report on data transfer statistics. </dd>
<dt><strong>-d</strong> </dt>
<dd>Enables debugging.</dd>
</dl>
<p>The client host with which <strong>ftp</strong> is to communicate may be specified on the command line. If this is done, <strong>ftp</strong> will immediately attempt to establish a connection to an <strong>FTP</strong> server on that host; otherwise, <strong>ftp</strong> will enter its command interpreter and await instructions from the user. When <strong>ftp</strong> is awaiting commands from the user the prompt `ftp&gt;&#8217; is provided to the user. The following commands are recognized by <strong>ftp </strong></p>
<dl>
<dt><strong>! </strong>[<em>command </em>[<em>args</em> ] ] </dt>
<dd>Invoke an interactive shell on the local machine. If there are arguments, the first is taken to be a command to execute directly, with the rest of the arguments as its arguments. </dd>
<dt><strong>$ </strong><em>macro-name </em>[<em>args</em> ] </dt>
<dd>Execute the macro <em>macro-name</em> that was defined with the <strong>macdef</strong> command. Arguments are passed to the macro unglobbed. </dd>
<dt><strong>account </strong>[<em>passwd</em> ] </dt>
<dd>Supply a supplemental password required by a remote system for access to resources once a login has been successfully completed. If no argument is included, the user will be prompted for an account password in a non-echoing input mode. </dd>
<dt><strong>append </strong><em>local-file </em>[<em>remote-file</em> ] </dt>
<dd>Append a local file to a file on the remote machine. If <em>remote-file</em> is left unspecified, the local file name is used in naming the remote file after being altered by any <strong>ntrans</strong> or <strong>nmap</strong> setting. File transfer uses the current settings for <strong>type </strong><strong>format</strong> <strong>mode </strong>and <strong>structure</strong> </dd>
<dt><strong>ascii</strong> </dt>
<dd>Set the file transfer <strong>type</strong> to network <strong>ASCII</strong> This is the default type. </dd>
<dt><strong>bell</strong> </dt>
<dd>Arrange that a bell be sounded after each file transfer command is completed. </dd>
<dt><strong>binary</strong> </dt>
<dd>Set the file transfer <strong>type</strong> to support binary image transfer. </dd>
<dt><strong>bye</strong> </dt>
<dd>Terminate the <strong>FTP</strong> session with the remote server and exit <strong>ftp </strong>An end of file will also terminate the session and exit. </dd>
<dt><strong>case</strong> </dt>
<dd>Toggle remote computer file name case mapping during <strong>mget</strong> commands. When <strong>case</strong> is on (default is off), remote computer file names with all letters in upper case are written in the local directory with the letters mapped to lower case. </dd>
<dt><strong>cd </strong><em>remote-directory</em> </dt>
<dd>Change the working directory on the remote machine to <em>remote-directory </em> </dd>
<dt><strong>cdup</strong> </dt>
<dd>Change the remote machine working directory to the parent of the current remote machine working directory. </dd>
<dt><strong>chmod </strong><em>mode file-name</em> </dt>
<dd>Change the permission modes of the file <em>file-name</em> on the remote sytem to <em>mode </em> </dd>
<dt><strong>close</strong> </dt>
<dd>Terminate the <strong>FTP</strong> session with the remote server, and return to the command interpreter. Any defined macros are erased. </dd>
<dt><strong>cr</strong> </dt>
<dd>Toggle carriage return stripping during ascii type file retrieval. Records are denoted by a carriage return/linefeed sequence during ascii type file transfer. When <strong>cr</strong> is on (the default), carriage returns are stripped from this sequence to conform with the UNIX single linefeed record delimiter. Records on non- <strong>UNIX </strong>remote systems may contain single linefeeds; when an ascii type transfer is made, these linefeeds may be distinguished from a record delimiter only when <strong>cr</strong> is off. </dd>
<dt><strong>delete </strong><em>remote-file</em> </dt>
<dd>Delete the file <em>remote-file</em> on the remote machine. </dd>
<dt><strong>debug </strong>[<em>debug-value</em> ] </dt>
<dd>Toggle debugging mode. If an optional <em>debug-value</em> is specified it is used to set the debugging level. When debugging is on, <strong>ftp</strong> prints each command sent to the remote machine, preceded by the string `&#8211;&gt;&#8217; </dd>
<dt><strong> </strong><strong>dir</strong> [<em>remote-directory</em> ] [<em>local-file</em> ] </dt>
<dd> </dd>
<dd>Print a listing of the directory contents in the directory, <em>remote-directory </em>and, optionally, placing the output in <em>local-file </em>If interactive prompting is on, <strong>ftp</strong> will prompt the user to verify that the last argument is indeed the target local file for receiving <strong>dir</strong> output. If no directory is specified, the current working directory on the remote machine is used. If no local file is specified, or <em>local-file</em> is -<strong>,</strong> output comes to the terminal. </dd>
<dt><strong>disconnect</strong> </dt>
<dd>A synonym for <em>close </em> </dd>
<dt><strong>form </strong><em>format</em> </dt>
<dd>Set the file transfer <strong>form</strong> to <em>format </em>The default format is file. </dd>
<dt><strong>get </strong><em>remote-file </em>[<em>local-file</em> ] </dt>
<dd>Retrieve the <em>remote-file</em> and store it on the local machine. If the local file name is not specified, it is given the same name it has on the remote machine, subject to alteration by the current <strong>case </strong><strong>ntrans</strong> and <strong>nmap</strong> settings. The current settings for <strong>type </strong><strong>form</strong> <strong>mode </strong>and <strong>structure</strong> are used while transferring the file. </dd>
<dt><strong>glob</strong> </dt>
<dd>Toggle filename expansion for <strong>mdelete </strong><strong>mget</strong> and <strong>mput </strong>If globbing is turned off with <strong>glob </strong>the file name arguments are taken literally and not expanded. Globbing for <strong>mput</strong> is done as in <a href="/library/cmd/blcmdl1_csh.htm">csh</a>(1). For <strong>mdelete</strong> and <strong>mget </strong>each remote file name is expanded separately on the remote machine and the lists are not merged. Expansion of a directory name is likely to be different from expansion of the name of an ordinary file: the exact result depends on the foreign operating system and ftp server, and can be previewed by doing `mls&#8217; remote-files &#8211; Note: <strong>mget</strong> and <strong>mput</strong> are not meant to transfer entire directory subtrees of files. That can be done by transferring a <a href="/library/cmd/blcmdl1_tar.htm">tar</a>(1) archive of the subtree (in binary mode). </dd>
<dt><strong>hash</strong> </dt>
<dd>Toggle hash-sign (&#8220;#&#8221;) printing for each data block transferred. The size of a data block is 1024 bytes. </dd>
<dt><strong>help </strong>[<em>command</em> ] </dt>
<dd>Print an informative message about the meaning of <em>command </em>If no argument is given, <strong>ftp</strong> prints a list of the known commands. </dd>
<dt><strong>idle </strong>[<em>seconds</em> ] </dt>
<dd>Set the inactivity timer on the remote server to <em>seconds</em> seconds. If <em>seconds</em> is ommitted, the current inactivity timer is printed. </dd>
<dt><strong>lcd </strong>[<em>directory</em> ] </dt>
<dd>Change the working directory on the local machine. If no <em>directory</em> is specified, the user&#8217;s home directory is used. </dd>
<dt><strong> </strong><strong>ls</strong> [<em>remote-directory</em> ] [<em>local-file</em> ] </dt>
<dd> </dd>
<dd>Print a listing of the contents of a directory on the remote machine. The listing includes any system-dependent information that the server chooses to include; for example, most UNIX systems will produce output from the command `ls&#8217; -l . (See also <strong>nlist .</strong> If <em>remote-directory</em> is left unspecified, the current working directory is used. If interactive prompting is on, <strong>ftp</strong> will prompt the user to verify that the last argument is indeed the target local file for receiving <strong>ls</strong> output. If no local file is specified, or if <em>local-file</em> is `- &#8216; the output is sent to the terminal. </dd>
<dt><strong>macdef </strong><em>macro-name</em> </dt>
<dd>Define a macro. Subsequent lines are stored as the macro <em>macro-name </em>a null line (consecutive newline characters in a file or carriage returns from the terminal) terminates macro input mode. There is a limit of 16 macros and 4096 total characters in all defined macros. Macros remain defined until a <strong>close</strong> command is executed. The macro processor interprets `$&#8217; and `\&#8217; as special characters. A `$&#8217; followed by a number (or numbers) is replaced by the corresponding argument on the macro invocation command line. A `$&#8217; followed by an `i&#8217; signals that macro processor that the executing macro is to be looped. On the first pass `$i&#8217; is replaced by the first argument on the macro invocation command line, on the second pass it is replaced by the second argument, and so on. A `\&#8217; followed by any character is replaced by that character. Use the `\&#8217; to prevent special treatment of the `$&#8217;. </dd>
<dt><strong>mdelete </strong>[<em>remote-files</em> ] </dt>
<dd>Delete the <em>remote-files</em> on the remote machine. </dd>
<dt><strong>mdir </strong><em>remote-files local-file</em> </dt>
<dd>Like <strong>dir </strong>except multiple remote files may be specified. If interactive prompting is on, <strong>ftp</strong> will prompt the user to verify that the last argument is indeed the target local file for receiving <strong>mdir</strong> output. </dd>
<dt><strong>mget </strong><em>remote-files</em> </dt>
<dd>Expand the <em>remote-files</em> on the remote machine and do a <strong>get</strong> for each file name thus produced. See <strong>glob</strong> for details on the filename expansion. Resulting file names will then be processed according to <strong>case </strong><strong>ntrans</strong> and <strong>nmap</strong> settings. Files are transferred into the local working directory, which can be changed with `lcd&#8217; directory ; new local directories can be created with `!&#8217; mkdir directory . </dd>
<dt><strong>mkdir </strong><em>directory-name</em> </dt>
<dd>Make a directory on the remote machine. </dd>
<dt><strong>mls </strong><em>remote-files local-file</em> </dt>
<dd>Like <strong>nlist </strong>except multiple remote files may be specified, and the <em>local-file</em> must be specified. If interactive prompting is on, <strong>ftp</strong> will prompt the user to verify that the last argument is indeed the target local file for receiving <strong>mls</strong> output. </dd>
<dt><strong>mode </strong>[<em>mode-name</em> ] </dt>
<dd>Set the file transfer <strong>mode</strong> to <em>mode-name </em>The default mode is stream mode. </dd>
<dt><strong>modtime </strong><em>file-name</em> </dt>
<dd>Show the last modification time of the file on the remote machine. </dd>
<dt><strong>mput </strong><em>local-files</em> </dt>
<dd>Expand wild cards in the list of local files given as arguments and do a <strong>put</strong> for each file in the resulting list. See <strong>glob</strong> for details of filename expansion. Resulting file names will then be processed according to <strong>ntrans</strong> and <strong>nmap</strong> settings. </dd>
<dt><strong>newer </strong><em>file-name </em>[<em>local-file</em> ] </dt>
<dd>Get the file only if the modification time of the remote file is more recent that the file on the current system. If the file does not exist on the current system, the remote file is considered <strong>newer </strong>Otherwise, this command is identical to <em>get </em> </dd>
<dt><strong> </strong><strong>nlist</strong> [<em>remote-directory</em> ] [<em>local-file</em> ] </dt>
<dd> </dd>
<dd>Print a list of the files in a directory on the remote machine. If <em>remote-directory</em> is left unspecified, the current working directory is used. If interactive prompting is on, <strong>ftp</strong> will prompt the user to verify that the last argument is indeed the target local file for receiving <strong>nlist</strong> output. If no local file is specified, or if <em>local-file</em> is -<strong>,</strong> the output is sent to the terminal. </dd>
<dt><strong>nmap </strong>[<em>inpattern outpattern</em> ] </dt>
<dd>Set or unset the filename mapping mechanism. If no arguments are specified, the filename mapping mechanism is unset. If arguments are specified, remote filenames are mapped during <strong>mput</strong> commands and <strong>put</strong> commands issued without a specified remote target filename. If arguments are specified, local filenames are mapped during <strong>mget</strong> commands and <strong>get</strong> commands issued without a specified local target filename. This command is useful when connecting to a <strong>non- UNIX </strong>remote computer with different file naming conventions or practices. The mapping follows the pattern set by <em>inpattern</em> and <em>outpattern </em>[<em>Inpattern</em> ] is a template for incoming filenames (which may have already been processed according to the <strong>ntrans</strong> and <strong>case</strong> settings). Variable templating is accomplished by including the sequences `$1&#8242;, `$2&#8242;, &#8230;, `$9&#8242; in <em>inpattern </em>Use `\&#8217; to prevent this special treatment of the `$&#8217; character. All other characters are treated literally, and are used to determine the <strong>nmap</strong> [<em>inpattern</em> ] variable values. For example, given <em>inpattern</em> $1.$2 and the remote file name &#8220;mydata.data&#8221;, $1 would have the value &#8220;mydata&#8221;, and $2 would have the value &#8220;data&#8221;. The <em>outpattern</em> determines the resulting mapped filename. The sequences `$1&#8242;, `$2&#8242;, &#8230;., `$9&#8242; are replaced by any value resulting from the <em>inpattern</em> template. The sequence `$0&#8242; is replace by the original filename. Additionally, the sequence `[<em>seq1</em> ] &#8216; , Ar seq2 is replaced by [<em>seq1</em> ] if <em>seq1</em> is not a null string; otherwise it is replaced by <em>seq2</em> For example, the command</p>
<blockquote>
<pre>
nmap $1.$2.$3 [$1,$2].[$2,file]
</pre>
</blockquote>
<p>would yield the output filename &#8220;myfile.data&#8221; for input filenames &#8220;myfile.data&#8221; and &#8220;myfile.data.old&#8221;, &#8220;myfile.file&#8221; for the input filename &#8220;myfile&#8221;, and &#8220;myfile.myfile&#8221; for the input filename &#8220;.myfile&#8221;. Spaces may be included in <em>outpattern </em>as in the example: `nmap $1 sed &#8220;s/ *$//&#8221; &gt; $1&#8242; . Use the `\&#8217; character to prevent special treatment of the `$&#8217;,&#8217;[','[', and `,' characters.</p>
</dd>
<dt><strong>ntrans </strong>[<em>inchars </em>[<em>outchars</em> ] ] </dt>
<dd>Set or unset the filename character translation mechanism. If no arguments are specified, the filename character translation mechanism is unset. If arguments are specified, characters in remote filenames are translated during <strong>mput</strong> commands and <strong>put</strong> commands issued without a specified remote target filename. If arguments are specified, characters in local filenames are translated during <strong>mget</strong> commands and <strong>get</strong> commands issued without a specified local target filename. This command is useful when connecting to a <strong>non- UNIX </strong>remote computer with different file naming conventions or practices. Characters in a filename matching a character in <em>inchars</em> are replaced with the corresponding character in <em>outchars </em>If the character&#8217;s position in <em>inchars</em> is longer than the length of <em>outchars </em>the character is deleted from the file name. </dd>
<dt><strong>open </strong><em>host </em>[<em>port</em> ] </dt>
<dd>Establish a connection to the specified <em>host</em> <strong>FTP</strong> server. An optional port number may be supplied, in which case, <strong>ftp</strong> will attempt to contact an <strong>FTP</strong> server at that port. If the <strong>auto-login</strong> option is on (default), <strong>ftp</strong> will also attempt to automatically log the user in to the <strong>FTP</strong> server (see below). </dd>
<dt><strong>prompt</strong> </dt>
<dd>Toggle interactive prompting. Interactive prompting occurs during multiple file transfers to allow the user to selectively retrieve or store files. If prompting is turned off (default is on), any <strong>mget</strong> or <strong>mput</strong> will transfer all files, and any <strong>mdelete</strong> will delete all files. </dd>
<dt><strong>proxy </strong><em>ftp-command</em> </dt>
<dd>Execute an ftp command on a secondary control connection. This command allows simultaneous connection to two remote ftp servers for transferring files between the two servers. The first <strong>proxy</strong> command should be an <strong>open </strong>to establish the secondary control connection. Enter the command &#8220;proxy ?&#8221; to see other ftp commands executable on the secondary connection. The following commands behave differently when prefaced by <strong>proxy </strong><strong>open</strong> will not define new macros during the auto-login process, <strong>close</strong> will not erase existing macro definitions, <strong>get</strong> and <strong>mget</strong> transfer files from the host on the primary control connection to the host on the secondary control connection, and <strong>put </strong><strong>mput</strong> and <strong>append</strong> transfer files from the host on the secondary control connection to the host on the primary control connection. Third party file transfers depend upon support of the ftp protocol <strong>PASV</strong> command by the server on the secondary control connection. </dd>
<dt><strong>put </strong><em>local-file </em>[<em>remote-file</em> ] </dt>
<dd>Store a local file on the remote machine. If <em>remote-file</em> is left unspecified, the local file name is used after processing according to any <strong>ntrans</strong> or <strong>nmap</strong> settings in naming the remote file. File transfer uses the current settings for <strong>type </strong><strong>format</strong> <strong>mode </strong>and <strong>structure </strong> </dd>
<dt><strong>pwd</strong> </dt>
<dd>Print the name of the current working directory on the remote machine. </dd>
<dt><strong>quit</strong> </dt>
<dd>A synonym for <strong>bye </strong> </dd>
<dt><strong>quote </strong><em>arg1 arg2 &#8230;</em> </dt>
<dd>The arguments specified are sent, verbatim, to the remote <strong>FTP</strong> server. </dd>
<dt><strong>recv </strong><em>remote-file </em>[<em>local-file</em> ] </dt>
<dd>A synonym for get. </dd>
<dt><strong>reget </strong><em>remote-file </em>[<em>local-file</em> ] </dt>
<dd>Reget acts like get, except that if <em>local-file</em> exists and is smaller than <em>remote-file </em><em>local-file</em> is presumed to be a partially transferred copy of <em>remote-file</em> and the transfer is continued from the apparent point of failure. This command is useful when transferring very large files over networks that are prone to dropping connections. </dd>
<dt><strong>remotehelp </strong>[<em>command-name</em> ] </dt>
<dd>Request help from the remote <strong>FTP</strong> server. If a <em>command-name</em> is specified it is supplied to the server as well. </dd>
<dt><strong>remotestatus </strong>[<em>file-name</em> ] </dt>
<dd>With no arguments, show status of remote machine. If <em>file-name</em> is specified, show status of <em>file-name</em> on remote machine. </dd>
<dt><strong> </strong><strong>rename</strong> [<em>from</em> ] [<em>to</em> ] </dt>
<dd> </dd>
<dd>Rename the file <em>from</em> on the remote machine, to the file <em>to </em> </dd>
<dt><strong>reset</strong> </dt>
<dd>Clear reply queue. This command re-synchronizes command/reply sequencing with the remote ftp server. Resynchronization may be necessary following a violation of the ftp protocol by the remote server. </dd>
<dt><strong>restart </strong><em>marker</em> </dt>
<dd>Restart the immediately following <strong>get</strong> or <strong>put</strong> at the indicated <em>marker </em>On UNIX systems, marker is usually a byte offset into the file. </dd>
<dt><strong>rmdir </strong><em>directory-name</em> </dt>
<dd>Delete a directory on the remote machine. </dd>
<dt><strong>runique</strong> </dt>
<dd>Toggle storing of files on the local system with unique filenames. If a file already exists with a name equal to the target local filename for a <strong>get</strong> or <strong>mget</strong> command, a &#8220;.1&#8243; is appended to the name. If the resulting name matches another existing file, a &#8220;.2&#8243; is appended to the original name. If this process continues up to &#8220;.99&#8243;, an error message is printed, and the transfer does not take place. The generated unique filename will be reported. Note that <strong>runique</strong> will not affect local files generated from a shell command (see below). The default value is off. </dd>
<dt><strong>send </strong><em>local-file </em>[<em>remote-file</em> ] </dt>
<dd>A synonym for put. </dd>
<dt><strong>sendport</strong> </dt>
<dd>Toggle the use of <strong>PORT</strong> commands. By default, <strong>ftp</strong> will attempt to use a <strong>PORT</strong> command when establishing a connection for each data transfer. The use of <strong>PORT</strong> commands can prevent delays when performing multiple file transfers. If the <strong>PORT</strong> command fails, <strong>ftp</strong> will use the default data port. When the use of <strong>PORT</strong> commands is disabled, no attempt will be made to use <strong>PORT</strong> commands for each data transfer. This is useful for certain <strong>FTP</strong> implementations which do ignore <strong>PORT</strong> commands but, incorrectly, indicate they&#8217;ve been accepted. </dd>
<dt><strong>site </strong><em>arg1 arg2 &#8230;</em> </dt>
<dd>The arguments specified are sent, verbatim, to the remote <strong>FTP</strong> server as a <strong>SITE</strong> command. </dd>
<dt><strong>size </strong><em>file-name</em> </dt>
<dd>Return size of <em>file-name</em> on remote machine. </dd>
<dt><strong>status</strong> </dt>
<dd>Show the current status of <strong>ftp </strong> </dd>
<dt><strong>struct </strong>[<em>struct-name</em> ] </dt>
<dd>Set the file transfer <em>structure</em> to <em>struct-name</em> By default stream structure is used. </dd>
<dt><strong>sunique</strong> </dt>
<dd>Toggle storing of files on remote machine under unique file names. Remote ftp server must support ftp protocol <strong>STOU</strong> command for successful completion. The remote server will report unique name. Default value is off. </dd>
<dt><strong>system</strong> </dt>
<dd>Show the type of operating system running on the remote machine. </dd>
<dt><strong>tenex</strong> </dt>
<dd>Set the file transfer type to that needed to talk to <strong>TENEX</strong> machines. </dd>
<dt><strong>trace</strong> </dt>
<dd>Toggle packet tracing. </dd>
<dt><strong>type </strong>[<em>type-name</em> ] </dt>
<dd>Set the file transfer <strong>type</strong> to <em>type-name </em>If no type is specified, the current type is printed. The default type is network <strong>ASCII</strong> </dd>
<dt><strong>umask </strong>[<em>newmask</em> ] </dt>
<dd>Set the default umask on the remote server to <em>newmask </em>If <em>newmask</em> is ommitted, the current umask is printed. </dd>
<dt><strong> </strong><strong>user </strong><em>user-name</em> [<em>password</em> ] [<em>account</em> ] </dt>
<dd> </dd>
<dd>Identify yourself to the remote <strong>FTP</strong> server. If the <em>password</em> is not specified and the server requires it, <strong>ftp</strong> will prompt the user for it (after disabling local echo). If an <em>account</em> field is not specified, and the <strong>FTP</strong> server requires it, the user will be prompted for it. If an <em>account</em> field is specified, an account command will be relayed to the remote server after the login sequence is completed if the remote server did not require it for logging in. Unless <strong>ftp</strong> is invoked with auto-login disabled, this process is done automatically on initial connection to the <strong>FTP</strong> server. </dd>
<dt><strong>verbose</strong> </dt>
<dd>Toggle verbose mode. In verbose mode, all responses from the <strong>FTP</strong> server are displayed to the user. In addition, if verbose is on, when a file transfer completes, statistics regarding the efficiency of the transfer are reported. By default, verbose is on. </dd>
<dt><strong>? </strong>[<em>command</em> ] </dt>
<dd>A synonym for help.</dd>
</dl>
<p>Command arguments which have embedded spaces may be quoted with quote `&#8221;&#8216; marks. <a name="lbAE"></a></p>
<h2>ABORTING A FILE TRANSFER</h2>
<p>To abort a file transfer, use the terminal interrupt key (usually Ctrl-C). Sending transfers will be immediately halted. Receiving transfers will be halted by sending a ftp protocol <strong>ABOR</strong> command to the remote server, and discarding any further data received. The speed at which this is accomplished depends upon the remote server&#8217;s support for <strong>ABOR</strong> processing. If the remote server does not support the <strong>ABOR</strong> command, an `ftp&gt;&#8217; prompt will not appear until the remote server has completed sending the requested file.</p>
<p>The terminal interrupt key sequence will be ignored when <strong>ftp</strong> has completed any local processing and is awaiting a reply from the remote server. A long delay in this mode may result from the ABOR processing described above, or from unexpected behavior by the remote server, including violations of the ftp protocol. If the delay results from unexpected remote server behavior, the local <strong>ftp</strong> program must be killed by hand. <a name="lbAF"></a></p>
<h2>FILE NAMING CONVENTIONS</h2>
<p>Files specified as arguments to <strong>ftp</strong> commands are processed according to the following rules.</p>
<ol>
<li>If the file name `- &#8216; is specified, the <em>stdin</em> (for reading) or <em>stdout</em> (for writing) is used.</li>
<li>If the first character of the file name is `|&#8217; the remainder of the argument is interpreted as a shell command. <strong>Ftp</strong> then forks a shell, using <a href="/library/cmd/blcmdl3_popen.htm">popen</a>(3) with the argument supplied, and reads (writes) from the stdout (stdin). If the shell command includes spaces, the argument must be quoted; e.g. &#8221; ls -lt&#8221;. A particularly useful example of this mechanism is: dir more.</li>
<li>Failing the above checks, if &#8220;globbing&#8221; is enabled, local file names are expanded according to the rules used in the <a href="/library/cmd/blcmdl1_csh.htm">csh</a>(1); c.f. the <strong>glob</strong> command. If the <strong>ftp</strong> command expects a single local file (.e.g. <strong>put )</strong> only the first filename generated by the &#8220;globbing&#8221; operation is used.</li>
<li>For <strong>mget</strong> commands and <strong>get</strong> commands with unspecified local file names, the local filename is the remote filename, which may be altered by a <strong>case </strong><strong>ntrans</strong> or <strong>nmap</strong> setting. The resulting filename may then be altered if <strong>runique</strong> is on.</li>
<li>For <strong>mput</strong> commands and <strong>put</strong> commands with unspecified remote file names, the remote filename is the local filename, which may be altered by a <strong>ntrans</strong> or <strong>nmap</strong> setting. The resulting filename may then be altered by the remote server if <strong>sunique</strong> is on.</li>
</ol>
<p><a name="lbAG"></a></p>
<h2>FILE TRANSFER PARAMETERS</h2>
<p>The FTP specification specifies many parameters which may affect a file transfer. The <strong>type</strong> may be one of ascii, image (binary), ebcdic, and local byte size (for <strong>PDP -10&#8242;s</strong> and <strong>PDP -20&#8242;s</strong> mostly). <strong>Ftp</strong> supports the ascii and image types of file transfer, plus local byte size 8 for <strong>tenex</strong> mode transfers.</p>
<p><strong>Ftp</strong> supports only the default values for the remaining file transfer parameters: <strong>mode </strong><strong>form</strong> and <strong>struct </strong></p>
<h2>EXAMPLES<a name="examples"> </a></h2>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp abc.xyz.edu</strong></pre>
<p>This command will attempt to connect to the ftp server at abc.xyz.edu. If it succeeds, it will ask you to log in using a username and password. Public ftp servers often allow you to log in using the username &#8220;anonymous&#8221; and your email address as password. Once you are logged in you can get a list of the available ftp commands using the help function:</p>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp&gt; help</strong></pre>
<p>This lists the commands that you can use to show the directory contents, transfer files, and delete files.</p>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp&gt; ls</strong></pre>
<p>This command prints the names of the files and subdirectories in the current directory on the remote computer.</p>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp&gt; cd customers</strong></pre>
<p>This command changes the current directory to the subdirecotry &#8220;customers&#8221;, if it exists.</p>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp&gt; cd ..</strong></pre>
<p>Changes the current directory to the parent direcotry.</p>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp&gt; lcd images</strong></pre>
<p>Changes the current directory <em>on the local computer</em> to &#8220;images&#8221;, if it exists.</p>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp&gt; ascii</strong></pre>
<p>Changes to &#8220;ascii&#8221; mode for transferring text files.</p>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp&gt; binary</strong></pre>
<p>Changes to &#8220;binary&#8221; mode for transferring all files that are not text files.</p>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp&gt; get image1.jpg</strong></pre>
<p>Downloads the file image1.jpg from the remote computer to the local computer. Warning: If there already is file with the same name it will be overwritten.</p>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp&gt; put image2.jpg</strong></pre>
<p>Uploads the file image2.jpg from the local computer to the remote computer. Warning: If there already is file with the same name it will be overwritten.</p>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp&gt; !ls</strong></pre>
<p>A &#8216;!&#8217; in front will execute the specified command on the local computer. So &#8216;!ls&#8217; lists the file names and directory names of the current directory on the local computer.</p>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp&gt; mget *.jpg</strong></pre>
<p>With mget you can download multiple images. This command downloads all files that end with &#8220;.jgp&#8221;.</p>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp&gt; mput *.jpg</strong></pre>
<p>Uploads all files that end with &#8220;.jgp&#8221;.</p>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp&gt; mdelete *.jpg</strong></pre>
<p>Deletes all files that end with &#8220;.jgp&#8221;.</p>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp&gt; prompt</strong></pre>
<p>Turns iteractive mode on or off so that commands on multiple files are executed without user confirmation.</p>
<pre style="background: #eeeeee; border: solid #ccc 2px;"><strong> ftp&gt; quit</strong></pre>
<p>Exits the ftp program.</p>
<p><strong><em><br />
</em></strong></p>
<p><strong><em>SOURCE : http://linux.about.com/od/commands/l/blcmdl1_ftp.htm</em></strong></p>
<p><script type="text/javascript">// <![CDATA[
check_modal();zCi();validateForms();splitLists();
// ]]&gt;</script></p>
<p><script type="text/javascript">// <![CDATA[
if(this.zKW&#038;&#038;gEI('sv'))gEI('sv').value=zE(zE(zKW,1),1).replace(new RegExp('\\+','g'),' ')
// ]]&gt;</script> <script type="text/javascript">// <![CDATA[
 zPxA[zPxC]=new Image();zPxA[zPxC++].src="http://b.scorecardresearch.com/p?c1=2&#038;c2=6036459&#038;c7=http%3a%2f%2flinux%2eabout%2ecom%2fod%2fcommands%2fl%2fblcmdl1%5fftp%2ehtm&#038;c9=&#038;cv=2.0&#038;cj=1";adclose()
// ]]&gt;</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mamat.namaku.web.id/index.php/archives/251/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable Log Kloxo / Lxadmin</title>
		<link>http://www.mamat.namaku.web.id/index.php/archives/247</link>
		<comments>http://www.mamat.namaku.web.id/index.php/archives/247#comments</comments>
		<pubDate>Mon, 14 Mar 2011 05:40:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PROJECT]]></category>

		<guid isPermaLink="false">http://www.mamat.namaku.web.id/?p=247</guid>
		<description><![CDATA[Bila anda mengalami disk full pada kloxo/lxadmin, coba check log filenya, pertama hapus aja dulu log filenya.. biasanya ukurannya 100mb an per file.. bisa sampe 50 log.. jadi bikin HD server kita full.. akhirnya web kaga bisa jalan.. cek dengan command du -hs * Biasanya.. log file ada di /home/user/__processed_stats setelah itu masuk kloxo trus.. [...]]]></description>
			<content:encoded><![CDATA[<p>Bila anda mengalami disk full pada kloxo/lxadmin, coba check log filenya, pertama hapus aja dulu log filenya.. biasanya ukurannya 100mb an per  file.. bisa sampe 50 log.. jadi bikin HD server kita full.. akhirnya web  kaga bisa jalan..</p>
<p>cek dengan command</p>
<pre>du -hs *</pre>
<div>
<p>Biasanya.. log file ada di</p>
<p>/home/user/__processed_stats</p>
<p>setelah itu masuk kloxo trus..</p>
<p><strong>domain home -&gt; stats configuration &gt;&gt; pilih Remove Processed Logs trus klik update</strong></p>
<p>Klo mo lebih ampuh pake script ini :</p>
<p><strong>find / -type f -size +20000k -exec ls -lh {} \; 2&gt; /dev/null | awk &#8216;{ print $NF &#8220;: &#8221; $5 }&#8217;</strong></p>
<p>Hati-hati jangan sampe salah hapus yah&#8230; <img src='http://www.mamat.namaku.web.id/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.mamat.namaku.web.id/index.php/archives/247/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup Restore Kloxo / LxAdmin</title>
		<link>http://www.mamat.namaku.web.id/index.php/archives/240</link>
		<comments>http://www.mamat.namaku.web.id/index.php/archives/240#comments</comments>
		<pubDate>Fri, 25 Feb 2011 04:13:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PROJECT]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[kloxo]]></category>
		<category><![CDATA[lxadmin]]></category>
		<category><![CDATA[restore]]></category>

		<guid isPermaLink="false">http://www.mamat.namaku.web.id/?p=240</guid>
		<description><![CDATA[Backup/Restore is a core part of Kloxo. You can take backup of your entire hosting and you can trivially restore it exactly on another server. In a cluster setup, you can take backup in one cluster configuration, and when restoring, you can tell Kloxo to re-arrange the resources on different servers. Backup/Restore is also an [...]]]></description>
			<content:encoded><![CDATA[<p><span class="MsgBodyText"> Backup/Restore is a core part of Kloxo. You can take backup of your entire hosting and you can trivially restore it exactly on another server. In a cluster setup,  you can take backup in one cluster configuration, and when restoring, you can tell Kloxo to re-arrange the resources on different servers.</span></p>
<p>Backup/Restore is also an extremely important aspect of web-hosting, and delivers peace of mind, and in fact, one of the main advantages of having a control Panel on your server.<span id="more-240"></span></p>
<p>This forum is dedicated to problems you experience vis-a-vis backup/restore, and we are committed to saving your data whatever be your configuration.</p>
<p>It is recommended, though not necessary, that both the source and destination Kloxo be the latest version, but Kloxo should be transparently able to handle older versions.</p>
<p>To take backup of your entire system:</p>
<div class="pre">
<pre> /script/backup --class=client --name=admin
</pre>
</div>
<p>Kloxo is 100% hierarchical. So if you take the backup of a top level client, automatically every resource under him is included, including his clients, domains, ssl certificates, or whatever resources he has. In the above case, you are taking the backup for admin, which actually includes your entire hosting.<br />
To restore:</p>
<div class="pre">
<pre> /script/restore --restore --accounts=all &lt;backup-file-path&gt;
</pre>
</div>
<p>To list the contents of a backup file.</p>
<div class="pre">
<pre> /script/restore --list &lt;backup-file-path&gt;
</pre>
</div>
<p>To restore only certain domains/clients</p>
<div class="pre">
<pre> cd /usr/local/lxlabs/kloxo/httpdocs/

 lphp.exe ../bin/common/restore.php --restore --accounts=domain:domain.com,client:clientname &lt;backup-file-path&gt;
</pre>
</div>
<p>If you have taken the backup under a specific client, and want to restore under the same client, you can provide the client&#8217;s class and name via &#8211;class and &#8211;name respectively. You have to first make sure that this client exists in the system. That is, you have to first add a client with the clientname, and then you can restore the backup under him.</p>
<div class="pre">
<pre> cd /usr/local/lxlabs/kloxo/httpdocs/

 lphp.exe ../bin/common/restore.php --class=client --name=clientname --restore &lt;backup-file-path&gt;
</pre>
</div>
<p>Sumber : http://forum.lxcenter.org</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mamat.namaku.web.id/index.php/archives/240/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cara cepat instal paket RPM di CentOS</title>
		<link>http://www.mamat.namaku.web.id/index.php/archives/230</link>
		<comments>http://www.mamat.namaku.web.id/index.php/archives/230#comments</comments>
		<pubDate>Wed, 24 Nov 2010 04:26:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PROJECT]]></category>

		<guid isPermaLink="false">http://www.mamat.namaku.web.id/?p=230</guid>
		<description><![CDATA[Jika di Ubuntu ada tasksel atau paket meta, maka di CentOS Anda punya cara yang hampir sama, yaitu menggunakan yum groupinstall. Tulisan ini akan mengajak Anda berkenalan lebih jauh dengan cara menginstal paket RPM dari repositori menggunakan yum groupinstall. Suatu ketika mungkin Anda ingin menginstal aplikasi dari sources di linux CentOS Anda. Cara instalasi dari [...]]]></description>
			<content:encoded><![CDATA[<p>Jika di Ubuntu ada <a href="http://ngadimin.com/2009/06/21/tasksel-cara-mudah-setup-server-di-ubuntu/">tasksel</a> atau paket meta, maka di CentOS Anda punya cara yang hampir sama, yaitu menggunakan yum groupinstall. Tulisan ini akan mengajak Anda berkenalan lebih jauh dengan cara menginstal paket RPM dari repositori menggunakan yum groupinstall.</p>
<p><!--/post-excerpt --></p>
<p>Suatu ketika mungkin Anda ingin menginstal aplikasi dari sources di linux CentOS Anda. Cara instalasi dari source biasanya membutuhkan proses kompilasi aplikasi. Yang berarti Anda harus menginstal paket compiler seperti gcc, gcc-c++, autoconf, automake dan lainnya.<span id="more-230"></span></p>
<p>Anda tentu saja bisa dengan mudah menginstalnya dengan perintah berikut,</p>
<pre>sudo yum install gcc gcc-c++ autoconf automake</pre>
<p>Tapi ada cara yang lebih mudah dari itu. Yaitu menggunakan <code>yum groupinstall</code></p>
<pre>sudo yum groupinstall "Development Tools"</pre>
<p>Tanpa perlu merinci semua paket untuk keperluan kompilasi dari sources, sekarang Anda sudah bisa menginstall semuanya, bahkan lebih lengkap dari cara yang pertama.</p>
<h3 id="toc-mengetahui-paket-di-suatu-grup">Mengetahui Paket di suatu Grup</h3>
<p>Sebelum menginstal menggunakan groupinstall, Anda mungkin ingin mengetahui informasi tentang paket-paket apa saja yang tergabung dalam group paket yang ingin Anda install. Caranya mudah, Anda tinggal ketik perintah berikut.</p>
<pre>yum groupinfo "Nama Group"</pre>
<p>Jadi pada contoh di atas, untuk mengetahui informasi seputar group “Development Tools”, Anda mengetik perintah berikut,</p>
<pre>yum groupinfo "Development Tools"</pre>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family: monospace;">Loaded plugins: fastestmirror
Setting up Group Process
Loading mirror speeds from cached hostfile

Group: Development Tools
 Description: These tools include core development tools such as automake, gcc, perl, python, and debuggers.
 Mandatory Packages:
   autoconf
   automake
   binutils
   bison
   flex
   gcc
   gcc-c++
   gdb
   gettext
   libtool
   make
   pkgconfig
   redhat-rpm-config
   rpm-build
   strace
   strace64
   ....
  dst masih panjang</pre>
</div>
</div>
<h3 id="toc-daftar-grup-yang-bisa-di-instal">Daftar Grup Yang bisa di Instal</h3>
<p>Pertanyaan berikutnya mungkin Anda ingin mengetahui nama-nama grup yang bisa Anda instal. Caranya mudah, ketikkan perintah berikut:</p>
<pre>yum grouplist</pre>
<p>Hasilnya kira-kira seperti di bawah ini:</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family: monospace;">Loaded plugins: fastestmirror
Setting up Group Process
Installed Groups:
   DNS Name Server
   Dialup Networking Support
   Editors
   Mail Server
   Network Servers
   Ruby
   System Tools
   Text-based Internet
   Web Server
   Yum Utilities
Available Groups:
   Administration Tools
   Authoring and Publishing
   Base
   Beagle
   Cluster Storage
   Clustering
   Development Libraries
   Development Tools
   Emacs
   Engineering and Scientific
   FTP Server
   FreeNX and NX
   GNOME Desktop Environment
   GNOME Software Development
   Games and Entertainment
   Graphical Internet
   Graphics
   Horde
   Java
   Java Development
   KDE (K Desktop Environment)
   KDE Software Development
   Legacy Network Server
   Legacy Software Development
   Legacy Software Support
   Mono
   MySQL Database
   News Server
   Office/Productivity
   OpenFabrics Enterprise Distribution
   PostgreSQL Database
   Printing Support
   Server Configuration Tools
   Sound and Video
   Tomboy
   Virtualization
   Windows File Server
   X Software Development
   X Window System
   XFCE-4.4</pre>
</div>
</div>
<h3 id="toc-latihan">Latihan</h3>
<p>Misal, Anda ingin menginstal FTP server. Maka yang Anda lakukan adalah</p>
<p>Pertama, mengetahui daftar grup yang sesuai.</p>
<pre>yum grouplist</pre>
<p>Anda menemukan group “FTP Server”. Selanjutnya Anda ingin mengetahui paket-paket apa saja yang ada dalam group tersebut.</p>
<pre>yum groupinfo "FTP Server"</pre>
<p>Dan setelah Anda lihat-lihat, ternyata cocok seperti yang Anda butuhkan. Lalu langkah terakhir adalah menginstalnya.</p>
<pre>yum groupinstall "FTP Server"

Sumber : http://ngadimin.com/</pre>
<p><!--/content --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mamat.namaku.web.id/index.php/archives/230/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create SSL with LxAdmin</title>
		<link>http://www.mamat.namaku.web.id/index.php/archives/224</link>
		<comments>http://www.mamat.namaku.web.id/index.php/archives/224#comments</comments>
		<pubDate>Wed, 20 Oct 2010 09:29:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PROJECT]]></category>

		<guid isPermaLink="false">http://www.mamat.namaku.web.id/?p=224</guid>
		<description><![CDATA[Create a SSL with LxAdmin // Create a SSL with LxAdmin Kloxo 2048-Bit SSL Setup.Kloxo Currently does not support creating 2048-bit CSR&#8217;s via the Planel. So we will need shell into the system to create the CSR. 1. We recommend downloading &#8220;Putty&#8221; (Windows) or &#8220;JellyfiSSH&#8221; to use to SSH into your server. Once you login as [...]]]></description>
			<content:encoded><![CDATA[<p><a href="knowledgebase/42/Create-a-SSL-with-LxAdmin.html">Create a SSL with LxAdmin</a></p>
<p><script>// <![CDATA[
function addBookmark() {
    if (window.sidebar) {
        window.sidebar.addPanel('Create a SSL with LxAdmin', location.href,"");
    } else if( document.all ) {
        window.external.AddFavorite( location.href, 'Create a SSL with LxAdmin');
    } else if( window.opera &#038;&#038; window.print ) {
        return true;
    }
}
// ]]&gt;</script></p>
<h2>Create a SSL with LxAdmin</h2>
<table border="0" cellspacing="10" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="80%" align="left" valign="top"><span style="color: #333333; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;">Kloxo 2048-Bit SSL Setup.<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />Kloxo Currently does not support creating 2048-bit CSR&#8217;s via the Planel. So we will need shell into the system to create the CSR. <br style="padding: 0px; margin: 0px;" /><span id="more-224"></span><br style="padding: 0px; margin: 0px;" />1. We recommend downloading &#8220;<a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">Putty</a>&#8221; (Windows) or &#8220;<a href="http://www.grepsoft.net/jellyfissh.html" target="_blank">JellyfiSSH</a>&#8221; to use to SSH into your server. Once you login as the root user we need to create a key. By default you are in the root folder of your account and we can create the key right there. <br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />Next run this command to create the key. <br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" /># openssl genrsa -out secure.mydomain.com.key 2048 <br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />Next you want to copy the key and keep it saved for later when importing the the purchased SSL. Run this to display it and you can Highlight the output and then past it in notepad and save it for later use. (You maybe need to make your putty or terminal windows larger to see it. <br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" /># cat secure.mydomain.com.key<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />Here is an example<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" /></span></p>
<blockquote class="uncited" style="margin-top: 0.5em; margin-right: 1px; margin-bottom: 0px; margin-left: 25px; padding-top: 25px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-image: url(http://www.viviotech.net/forum/styles/prosilver/theme/images/quote.gif); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: #ebeadd; font-size: 0.95em; overflow-x: hidden; overflow-y: hidden; background-position: 6px 8px; border: 1px solid #dbdbce;">
<div style="padding: 0px; margin: 0px;">&#8212;&#8211;BEGIN RSA PRIVATE KEY&#8212;&#8211;<br style="padding: 0px; margin: 0px;" />MIIEpAIBAAKCAQEA1uNugrS6Ez8WuxEltcCY9LJIWkfGRF/zN3ObfMbj9SdFVFGv<br style="padding: 0px; margin: 0px;" />5GTib077mFAVShh/QoCcBb7ghJYoEtbQlDP3two/CBKKuzrLtfesmxfmGOMqLTX1<br style="padding: 0px; margin: 0px;" />kVGqDqdPvTxyrU5Ob7ket8O4GIb09aTFk2DFk0yQSUIGz60+05WMMUaUPi6nLXZa<br style="padding: 0px; margin: 0px;" />9GTnh4SceQCsFV3RdM6PfhBx42GOvlWa2q6N9H2PlhwLLefeqVRnaquaNIAyDAGC<br style="padding: 0px; margin: 0px;" />kcHz3Z3CzohdyH5slOHi2i8Cip5mydT3D81zOC0zK7YQIIDrl2hcK5Dt3EDOF5kZ<br style="padding: 0px; margin: 0px;" />NdWKgnkEyB/sSJls3e8JSjZHRn/0NKOtaiDvMQIDAQABAoIBAEBE+1tqVDDHcLP4<br style="padding: 0px; margin: 0px;" />V+/5L4YYAF3IE7uFewe9suZp0eoTmb+zQskrhzHFTKhsY0Gq+/zW3FM3mIzvIAMq<br style="padding: 0px; margin: 0px;" />bm208US0cs+mRAnlduHwtpYYWsBcyNOGzPBunU8OqWGuv5mnzvvJQS+zAM+NJZyG<br style="padding: 0px; margin: 0px;" />This is an example. This is an example. This is an example. This is an example. <br style="padding: 0px; margin: 0px;" />l/uvj1RuLE0Nio1mc+BPJwSsngNYSpoTj/DrVDcCgYEAxhX6UaNJq4zZ5h0w5+II<br style="padding: 0px; margin: 0px;" />fimf5kpswL6rBBF6GVaESpo5SbTixksOFj7h6mc0FKxCQaEG7Uqic5JksYypC2m/<br style="padding: 0px; margin: 0px;" />DTK8WMUUEvVPpQLIpL6c1PmdXx4QzyNpImks4u21pbF0xUU9vbkaqk45XR+ipVOz<br style="padding: 0px; margin: 0px;" />cV3ZsSA1wdHxbxfS7kq72LcCgYEA1w2vKgqWnuEv+awo0MdZmrbFr7//UowWsIn+<br style="padding: 0px; margin: 0px;" />ltvMBuS0nhUZaPaUy/BWqKnMUH6C9TFIAFCvwTUgFNcOJjt8K8upoTu9mw/Ob8Qh<br style="padding: 0px; margin: 0px;" />X85H+rFPIKdpHTz26QZ7dCxv/RwamfqCfxSECI/9YKq8wlS/Ccszwkq3eNawFwWG<br style="padding: 0px; margin: 0px;" />f3ocKx8CgYBBWfkBMReaQ0YEeXHTsYHzWKu0l60Z9IPVQk0625KGdaD3nQ0Et+N7<br style="padding: 0px; margin: 0px;" />DrJgbQ5YmZJUsBgHoyJ5VLimkxK/6yXo5DtbjsSBgAY91SZp9mkS/POnsrj9KavC<br style="padding: 0px; margin: 0px;" />sFzBwp84SilMU1dWLg4Kai4OKrFoU4VzqF4CyJmcK+hJPu771YNPDQ==<br style="padding: 0px; margin: 0px;" />&#8212;&#8211;END RSA PRIVATE KEY&#8212;&#8211;<br style="padding: 0px; margin: 0px;" /></div>
</blockquote>
<p><br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />Several notes about this:<br style="padding: 0px; margin: 0px;" />- This key will not be password protected. In our experience, password protected keys are a major pain in the neck to work with because they require you to enter in a password every time you start or restart apache.<br style="padding: 0px; margin: 0px;" />- The naming of the key can be important if you plan on having several secure domains on your account. It helps avoid confusion. For this demonstration, we&#8217;ll be using the domain &#8220;secure.mydomain.com&#8221; but it could really be anything you&#8217;d like it to be.<br style="padding: 0px; margin: 0px;" />- Last, we will be generating a 2048-bit encryption key here, but you could theoretically create one with stronger (or weaker) encryption if you&#8217;d like to. 2048-bit keys are standard. <br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />2. Generate your CSR<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />Now that we&#8217;ve gnerated our Key, we need to generate what&#8217;s called a &#8220;Certificate Signing Request&#8221; or CSR. This request is the part that SSL companies (like Geotrust or RapidSSL) need in order to provide you with a signed certificate. To generate a CSR, run the following command:<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" /># openssl req -new -key secure.mydomain.com.key -out secure.mydomain.com.csr<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />You will then be asked a series of questions (example below). Go ahead and modify the answers to suite yourself: <br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" /></p>
<blockquote class="uncited" style="margin-top: 0.5em; margin-right: 1px; margin-bottom: 0px; margin-left: 25px; padding-top: 25px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-image: url(http://www.viviotech.net/forum/styles/prosilver/theme/images/quote.gif); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: #ebeadd; font-size: 0.95em; overflow-x: hidden; overflow-y: hidden; background-position: 6px 8px; border: 1px solid #dbdbce;">
<div style="padding: 0px; margin: 0px;">You are about to be asked to enter information that will be incorporated<br style="padding: 0px; margin: 0px;" />into your certificate request.<br style="padding: 0px; margin: 0px;" />What you are about to enter is what is called a Distinguished Name or a DN.<br style="padding: 0px; margin: 0px;" />There are quite a few fields but you can leave some blank<br style="padding: 0px; margin: 0px;" />For some fields there will be a default value,<br style="padding: 0px; margin: 0px;" />If you enter &#8216;.&#8217;, the field will be left blank.<br style="padding: 0px; margin: 0px;" />&#8212;&#8211;<br style="padding: 0px; margin: 0px;" />Country Name (2 letter code) [GB]:GB<br style="padding: 0px; margin: 0px;" />State or Province Name (full name) [Berkshire]:London<br style="padding: 0px; margin: 0px;" />Locality Name (eg, city) [Newbury]: London<br style="padding: 0px; margin: 0px;" />Organization Name (eg, company) [My Company Ltd]:Your Company Name<br style="padding: 0px; margin: 0px;" />Organizational Unit Name (eg, section) []:secure.mydomain.com<br style="padding: 0px; margin: 0px;" />Common Name (eg, your name or your server&#8217;s hostname) []:secure.mydomain.com<br style="padding: 0px; margin: 0px;" />Email Address []:webmaster@mydomain.com<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />Please enter the following &#8216;extra&#8217; attributes<br style="padding: 0px; margin: 0px;" />to be sent with your certificate request<br style="padding: 0px; margin: 0px;" />A challenge password []:<br style="padding: 0px; margin: 0px;" />An optional company name []:<br style="padding: 0px; margin: 0px;" /></div>
</blockquote>
<p><br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />Note that the &#8220;Challange Password&#8221; and &#8220;optional company name&#8221; fields were left blank.<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />After that, you should have a nice little .csr file. To view your CSR file, run the following command:<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" /># cat secure.mydomain.com.csr<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />It will return what looks like a bunch of junk&#8230; but it&#8217;s actually encrypted code:<br style="padding: 0px; margin: 0px;" /></p>
<blockquote class="uncited" style="margin-top: 0.5em; margin-right: 1px; margin-bottom: 0px; margin-left: 25px; padding-top: 25px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-image: url(http://www.viviotech.net/forum/styles/prosilver/theme/images/quote.gif); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: #ebeadd; font-size: 0.95em; overflow-x: hidden; overflow-y: hidden; background-position: 6px 8px; border: 1px solid #dbdbce;">
<div style="padding: 0px; margin: 0px;">&#8212;&#8211;BEGIN CERTIFICATE REQUEST&#8212;&#8211;<br style="padding: 0px; margin: 0px;" />MIIB+jCCAWMCAQAwgbkxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9u<br style="padding: 0px; margin: 0px;" />MRQwEgYDVQQHEwtXYWxsYSBXYWxsYTEbMBkGA1UEChMSVml2aW8gVGVjaG5vbG9n<br style="padding: 0px; margin: 0px;" />aWVzMRwwGgYDVQQLExNzZWN1cmUubXlkb21haW4uY29tMRwwGgYDVQQDExNzZWN1<br style="padding: 0px; margin: 0px;" />THIS IS AN EXAMPLE THIS IS AN EXAMPLE THIS IS AN EXAMPLE THIS IS AN EXAMPLE THIS IS AN wEAAaAAMA0GCSqGSIb3DQEBBAUAA4GBABk2<br style="padding: 0px; margin: 0px;" />Wz+7jAa64T3toEjCt0vK6Sxix0B5ev9dBDtX+U+tAzjIt6dghqmRYiomDoYDhoHF<br style="padding: 0px; margin: 0px;" />sNGCmrWChgooIOYGX63SZoWPEr50vLdGsOHnj36jzvDctTfi51rew3w75THGtnRL<br style="padding: 0px; margin: 0px;" />c60CK7/0ORrgXsLla3WkaPZRABRzQdxR47U6sxMs<br style="padding: 0px; margin: 0px;" />&#8212;&#8211;END CERTIFICATE REQUEST&#8212;&#8211;<br style="padding: 0px; margin: 0px;" /></div>
</blockquote>
<p><br style="padding: 0px; margin: 0px;" />This is the code that you need to copy and paste into the special instructions field when you order your SSL certificate from Host Media UK.<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />Host Media UK will then order your SSL certificate. A verification message will need to be sent to &#8220;webmaster@mydomain.com&#8221; (the domain that is to be secured) in order to make sure we are ordering this SSL certificate at your request. You will need to verify the order as per the verification email instructions, then we will deliver the .cer file (your actual SSL certificate) to the email address that you ordered the certificate from our site with. You can also use this CSR for ordering from other places as well.<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />Log into Kloxo and click on teh SSL Certificate link.<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />Now click on the Add Upload Txt tab. Put in the name of what you want to call the Paid Certificate. Example secure.mydomain.com Next in the Certificate Section Paste in the Certificate you got from the SSL company. Next in the Key Section Paste in the Key we copied earlier to notepad. Next for the CACert section if you have the CACert go ahead and put that in. However I believe most name brand SSL&#8217;s will have this info in the browsers and I don&#8217;t think you have to have it. However if you have the info by all means put it in there. Or if your having problems with your browser seeing the issuing company get the info and put it in. I just worked on a comodo ssl which worked ok for IE 7 but did not work in Firefox 3 with out have the CA Certificate.<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />Go ahead and click add<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />We are not back to the list of the SSL&#8217;s on the server. Click on the SSL we just added. In my case secure.mydomain.com Next in the oval box that states<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />To assign this ssl certificate to a particular ipaddress, click here and then go into an ipaddress, and click on ssl certificate tab, and you can set one of these certificates to a particular ipaddress. The admin will need to have assigned you an exclusive ipaddress for you to access this feature.<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />click on the click here link.<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />Next click on the IP address we are using for the site that will have the SSL. Then click on SSL Configuration Home tab. Select the SSL we are wanting to use. Then click update.<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />I have found that at times Apache still needs a restart to get things working right away. If you go back to Home and then down to the Server : Linux section and click on Services Then on the line that has the Name of httpd click on the last bubble on that line. It is the restart bubble. If you mouse over the bubble it will pop up with what it does.<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />Now go to your site Example https://secure.mydomain.com and you should be good to go.</p>
<p>Sumber : https://www.hostmediauk.com/client/knowledgebase.php?action=displayarticle&amp;id=42</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.mamat.namaku.web.id/index.php/archives/224/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LxAdmin Redirect HTTP to HTTPS</title>
		<link>http://www.mamat.namaku.web.id/index.php/archives/221</link>
		<comments>http://www.mamat.namaku.web.id/index.php/archives/221#comments</comments>
		<pubDate>Wed, 20 Oct 2010 09:27:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PROJECT]]></category>

		<guid isPermaLink="false">http://www.mamat.namaku.web.id/?p=221</guid>
		<description><![CDATA[In domain home -&#62; redirects -&#62; add remote redirection now you can specify the source protocol as http, https or BOTH This will allow you to redirect an http connection to https. To do that, just add the params as: http OR SSL = http VirtualLocation = / redirected Location = https://domain.com]]></description>
			<content:encoded><![CDATA[<p>In <strong> domain home -&gt; redirects -&gt; add remote redirection</strong> now you can specify the source protocol as <strong> http, https or BOTH </strong><br />
This will allow you to redirect an http connection to https. To do that, just add the params as:</p>
<div>
<pre> http OR SSL = http
 VirtualLocation = /
 redirected Location =  https://domain.com
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.mamat.namaku.web.id/index.php/archives/221/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firewall IPTABLES for secure KLOXO / LxAdmin</title>
		<link>http://www.mamat.namaku.web.id/index.php/archives/207</link>
		<comments>http://www.mamat.namaku.web.id/index.php/archives/207#comments</comments>
		<pubDate>Sun, 10 Oct 2010 03:43:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PROJECT]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[firewall kloxo]]></category>
		<category><![CDATA[firewall lxadmin]]></category>
		<category><![CDATA[iptable]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[iptables for kloxo]]></category>
		<category><![CDATA[iptables for lxadmin]]></category>
		<category><![CDATA[secure kloxo]]></category>
		<category><![CDATA[secure lxadmin]]></category>

		<guid isPermaLink="false">http://www.mamat.namaku.web.id/?p=207</guid>
		<description><![CDATA[How to secure your Kloxo Stop iptables service: /etc/init.d/iptables stop Disable iptables service: chkconfig iptables off Copy this code to /etc/init.d/firewall (Reminder: Disable &#8220;word wrap&#8221; in your text editor. Ex.: nano -w /etc/init.d/firewall) #!/bin/sh # firewall # chkconfig: 3 21 91 # description: Starts, stops iptables firewall case "$1" in start) # Clear rules iptables [...]]]></description>
			<content:encoded><![CDATA[<div class="titlebar">How to secure your Kloxo</div>
<div class="simplebox"><strong>Stop iptables service</strong>:</p>
<p>/etc/init.d/iptables stop</p>
<p><strong>Disable iptables service</strong>:</p>
<p>chkconfig iptables off</p>
</div>
<div class="simplebox">
<p><strong><span id="more-207"></span>Copy this code to /etc/init.d/firewall (Reminder: Disable &#8220;word wrap&#8221; in your text editor. Ex.: nano -w /etc/init.d/firewall)</strong></p>
<pre class="codelisting" style="overflow: auto;" dir="ltr">#!/bin/sh
# firewall
# chkconfig: 3 21 91
# description: Starts, stops iptables firewall

case "$1" in
start)

# Clear rules
iptables -t filter -F
iptables -t filter -X
echo - Clear rules : [OK]

# SSH In
iptables -t filter -A INPUT -p tcp --dport 22 -j ACCEPT
echo - SSH : [OK]

# Don't break established connections
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
echo - established connections : [OK]

# Block all connections by default
iptables -t filter -P INPUT DROP
iptables -t filter -P FORWARD DROP
iptables -t filter -P OUTPUT DROP
echo - Block all connections : [OK]

# Loopback
iptables -t filter -A INPUT -i lo -j ACCEPT
iptables -t filter -A OUTPUT -o lo -j ACCEPT
echo - Loopback : [OK]

# ICMP (Ping)
iptables -t filter -A INPUT -p icmp -j ACCEPT
iptables -t filter -A OUTPUT -p icmp -j ACCEPT
echo - PING : [OK]

# DNS In/Out
iptables -t filter -A OUTPUT -p tcp --dport 53 -j ACCEPT
iptables -t filter -A OUTPUT -p udp --dport 53 -j ACCEPT
iptables -t filter -A INPUT -p tcp --dport 53 -j ACCEPT
iptables -t filter -A INPUT -p udp --dport 53 -j ACCEPT
echo - DNS : [OK]

# NTP Out
iptables -t filter -A OUTPUT -p udp --dport 123 -j ACCEPT
echo - NTP : [OK]

# FTP Out
iptables -t filter -A OUTPUT -p tcp --dport 20:21 -j ACCEPT
iptables -t filter -A OUTPUT -p tcp --dport 30000:50000 -j ACCEPT
# FTP In
iptables -t filter -A INPUT -p tcp --dport 20:21 -j ACCEPT
iptables -t filter -A INPUT -p tcp --dport 30000:50000 -j ACCEPT
iptables -t filter -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
echo - FTP : [OK]

# HTTP + HTTPS Out
iptables -t filter -A OUTPUT -p tcp --dport 80 -j ACCEPT
iptables -t filter -A OUTPUT -p tcp --dport 443 -j ACCEPT
# HTTP + HTTPS In
iptables -t filter -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -t filter -A INPUT -p tcp --dport 443 -j ACCEPT
echo - HTTP/HTTPS : [OK]

# Mail SMTP:25
iptables -t filter -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -t filter -A OUTPUT -p tcp --dport 25 -j ACCEPT
echo - SMTP : [OK]

# Mail POP3:110
iptables -t filter -A INPUT -p tcp --dport 110 -j ACCEPT
iptables -t filter -A OUTPUT -p tcp --dport 110 -j ACCEPT
echo - POP : [OK]

# Mail IMAP:143
iptables -t filter -A INPUT -p tcp --dport 143 -j ACCEPT
iptables -t filter -A OUTPUT -p tcp --dport 143 -j ACCEPT
echo - IMAP : [OK]

# Kloxo
iptables -t filter -A INPUT -p tcp --dport 7777:7778 -j ACCEPT
iptables -t filter -A OUTPUT -p tcp --dport 7777:7778 -j ACCEPT
echo - Kloxo : [OK]

echo - Firewall [OK]
exit 0
;;

stop)
echo "Stopping Firewall: "

iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t filter -F
exit 0
;;
*)
echo "Usage: /etc/init.d/firewall {start|stop}"
exit 1
;;
esac</pre>
</div>
<p><strong>change chmod file firewall</strong>:</p>
<div class="simplebox">
<p>chmod 700 /etc/init.d/firewall</p>
<p><strong>add firewall service</strong>:</p>
<p>chkconfig -–add firewall</p>
<p><strong>auto start firewall</strong>:</p>
<p>chkconfig -–level 2345 firewall on</p>
<p><strong>start firewall</strong>:</p>
<p>/etc/init.d/firewall start</p>
</div>
<div class="simplebox">If you have slave server, add this on the master</div>
<p>iptables -t filter -A INPUT -p tcp -s SLAVE_IP &#8211;dport 7779 -j ACCEPT</p>
<p>iptables -t filter -A OUTPUT -p tcp -d SLAVE_IP &#8211;dport 7779 -j ACCEPT</p>
<p><strong>Note:</strong> replace SLAVE_IP with your Slave server IP.</p>
<div class="simplebox">Add this on slave server</div>
<p>iptables -t filter -A INPUT -p tcp -s MASTER_IP &#8211;dport 7779 -j ACCEPT</p>
<p>iptables -t filter -A OUTPUT -p tcp -d MASTER_IP &#8211;dport 7779 -j ACCEPT</p>
<p><strong>Note:</strong> replace MASTER_IP with your Master server IP.</p>
<p>Last Modification: Wednesday 15 September, 2010 22:10:14 by <span class="link">walter</span>.</p>
<p>Sumber : http://wiki.lxcenter.org</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mamat.namaku.web.id/index.php/archives/207/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Membuat Micro Sim Card buat iPad</title>
		<link>http://www.mamat.namaku.web.id/index.php/archives/199</link>
		<comments>http://www.mamat.namaku.web.id/index.php/archives/199#comments</comments>
		<pubDate>Mon, 30 Aug 2010 18:03:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PROJECT]]></category>
		<category><![CDATA[Membuat Micro Sim Card buat iPad]]></category>
		<category><![CDATA[micro sim card]]></category>
		<category><![CDATA[potong sim card ipad]]></category>

		<guid isPermaLink="false">http://www.mamat.namaku.web.id/?p=199</guid>
		<description><![CDATA[Membuat Micro simcard untuk iPad dan iPhone 4G Bagaimana melakukannya? Begini caranya: 1.Ini adalah gambar simcard biasa, yg kita perlukan adalah bagian tengah dari simcard yaitu yg berwarna keemasan. 2.Ini adalah ukuran untuk menjadikan simcard biasa menjadi microsim. 3.Gunting simcard yang sudah di ukur sesuai ukuran microsim. 4.Sekarang microsim sudah selesai dan siap dipasang ke [...]]]></description>
			<content:encoded><![CDATA[<div class="snap_preview">
<p>Membuat Micro simcard untuk iPad dan iPhone 4G</p>
<p>Bagaimana melakukannya? Begini caranya:<br />
<span id="more-199"></span>1.Ini adalah gambar simcard biasa, yg kita perlukan adalah bagian tengah dari simcard yaitu yg berwarna keemasan.<br />
<img src="http://i44.tinypic.com/m9rfk4.jpg" border="0" alt="" /></p>
<p><span id="more-778"> </span></p>
<p>2.Ini adalah ukuran untuk menjadikan simcard biasa menjadi microsim.<br />
<img src="http://i44.tinypic.com/2ywa1vk.jpg" border="0" alt="" /><br />
3.Gunting simcard yang sudah di ukur sesuai ukuran microsim.<br />
<img src="http://i40.tinypic.com/24dfnts.jpg" border="0" alt="" /><br />
4.Sekarang microsim sudah selesai dan siap dipasang ke iPad dan iPhone 4G (next gen iPhone)<br />
<img src="http://i42.tinypic.com/333lp3n.jpg" border="0" alt="" /></p>
<p>Gambar2 referensi:</p>
<blockquote><p><img src="http://i44.tinypic.com/2iu7zi0.jpg" border="0" alt="" /><br />
<img src="http://i39.tinypic.com/2cesqyt.jpg" border="0" alt="" /><br />
<img src="http://i40.tinypic.com/9gvxpc.jpg" border="0" alt="" /><br />
<img src="http://i41.tinypic.com/2nqbdrr.jpg" border="0" alt="" /></p></blockquote>
<p>Dari : <a title="http://www.techradar.com/news/computing/apple/how-to-make-your-own-ipad-micro-sim-681020" rel="nofollow" href="http://www.techradar.com/news/computing/apple/how-to-make-your-own-ipad-micro-sim-681020">http://www.techradar.com/news/computing/apple/how-to-make-your-own-ipad-micro-sim-681020</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.mamat.namaku.web.id/index.php/archives/199/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shortcut Snow Leopard</title>
		<link>http://www.mamat.namaku.web.id/index.php/archives/197</link>
		<comments>http://www.mamat.namaku.web.id/index.php/archives/197#comments</comments>
		<pubDate>Mon, 23 Aug 2010 08:56:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PROJECT]]></category>
		<category><![CDATA[Machintos]]></category>
		<category><![CDATA[Shortcut Snow Leopard]]></category>

		<guid isPermaLink="false">http://www.mamat.namaku.web.id/?p=197</guid>
		<description><![CDATA[Dapet lage nich shortcut snow leopard Dunlud Link DISINI Sumber http://macmost.com/]]></description>
			<content:encoded><![CDATA[<p>Dapet lage nich shortcut snow leopard</p>
<p>Dunlud Link <a href="http://macmost.com/downloads/MacMostKeyboardShortcutsSnowLeopard.pdf">DISINI</a></p>
<p>Sumber http://macmost.com/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mamat.namaku.web.id/index.php/archives/197/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

