<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Aan Kurniawan</title>
	<atom:link href="http://aank76.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://aank76.wordpress.com</link>
	<description>Excellence is not a skill.  It is an attitude.</description>
	<lastBuildDate>Sun, 10 Jan 2010 23:59:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='aank76.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Aan Kurniawan</title>
		<link>http://aank76.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://aank76.wordpress.com/osd.xml" title="Aan Kurniawan" />
	<atom:link rel='hub' href='http://aank76.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Educational Resource Sharing in the Heterogeneous Environments using Data Grid</title>
		<link>http://aank76.wordpress.com/2009/08/19/educational-resource-sharing-in-the-heterogeneous-environments-using-data-grid/</link>
		<comments>http://aank76.wordpress.com/2009/08/19/educational-resource-sharing-in-the-heterogeneous-environments-using-data-grid/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 11:58:40 +0000</pubDate>
		<dc:creator>aank76</dc:creator>
				<category><![CDATA[Paper]]></category>

		<guid isPermaLink="false">http://aank76.wordpress.com/?p=122</guid>
		<description><![CDATA[Aan Kurniawan 1 and Zainal A. Hasibuan 2 Faculty of Computer Science, University of Indonesia email: aan.kurniawan@ui.ac.id 1, zhasibua@cs.ui.ac.id 2 ABSTRACT Educational resources usually reside in the digital library, e-learning and e-laboratory systems. Many of the systems have been developed using different technologies, platforms, protocols and architectures. These systems maintain a large number of digital [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=122&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p align="center"><strong> </strong></p>
<p align="center">Aan Kurniawan <sup>1</sup> and Zainal A. Hasibuan <sup>2</sup><br />
Faculty of Computer Science, University of Indonesia<br />
email: aan.kurniawan@ui.ac.id <sup>1</sup>, zhasibua@cs.ui.ac.id <sup>2</sup></p>
<p><strong>ABSTRACT</strong></p>
<p><em>Educational resources usually reside in the digital library, e-learning and e-laboratory systems. Many of the systems have been developed using different technologies, platforms, protocols and architectures. These systems maintain a large number of digital objects that are stored in many different storage systems and data formats with differences in: schema, access rights, metadata attributes, and ontologies. This study proposes a generic architecture for sharing educational resources in the heterogeneous environments using data grid. The architecture is designed based on the two common types of data: structured and unstructured data. This architecture will improve the accessibility, integration and management of those educational resources.</em></p>
<p><strong><span id="more-122"></span>Keywords</strong>: resource sharing, data grid, digital library</p>
<p><strong>1. </strong><strong>INTRODUCTION</strong></p>
<p>Currently, the increasing social demands on high quality educational resources of higher education cannot be fulfilled only by the available educators and conventional libraries. With the advances of information technology, many learning materials and academic journals created by universities have been converted into digital objects. The rapid growth of Internet infrastructure accelerates the transformation of conventional libraries and learning to the digital libraries and e-learning. This transformation greatly affects the way of people to get information and learn. Accessing information and learning now can be done from anywhere at any time.</p>
<p>Since many digital library, e-learning and e-laboratory systems have been developed using different technologies, platforms, protocols and architectures, they will potentially introduce the problem of information islands. In order to address this problem, some previous works [1][2][3][4] proposed the use of grid technology that has the capability of integrating the heterogeneous platforms. However, most of them considered that the shared resources are only files or unstructured data. Educational resources consist of not only unstructured data, but also structured data. Much information such as the metadata describing the shared digital objects and the XML formatted documents is stored in a database. This information also needs to be shared with other systems.</p>
<p>In this study, we propose a generic architecture for sharing educational resources in heterogeneous environment using data grid. We also show how this architecture applies in the digital libraries using Indonesian Higher Education Network (INHERENT) [5].</p>
<p><strong>2. </strong><strong>INHERENT</strong></p>
<p>INHERENT (Indonesian Higher Education Network) [5] is a network backbone that is developed by Indonesian government to facilitate the interconnection among the higher education institutions (HEIs) in Indonesia. The project was proposed by the directorate of higher education. Started on July 2006, currently it connects 82 state HEIs, 12 regional offices of the coordination of private HEIs, and 150 private HEIs (see Figure 1).</p>
<p>All state HEIs in Java are connected by STM-1 National Backbone with the bandwidth of 155 Mbps. Other cities in the other islands use 8-Mbps leased line and 2-Mbps VSAT connections.</p>
<p align="center"><strong><a rel="attachment wp-att-143" href="http://aank76.wordpress.com/2009/08/19/educational-resource-sharing-in-the-heterogeneous-environments-using-data-grid/zonaperguruantinggi1/"><img class="aligncenter size-full wp-image-143" title="INHERENT" src="http://aank76.files.wordpress.com/2009/08/zonaperguruantinggi1.jpg?w=500&#038;h=338" alt="INHERENT" width="500" height="338" /></a><br />
Figure 1. Indonesian Higher Education Network in 2009 [5]</strong></p>
<p>This network has been used for various educational activities including video-conferencing and distance learning. Every university can build their own digital libraries and learning management systems (LMSs) and then publish their educational resources through the network. Although the resources can be shared to each another via FTP or web servers, the systems (digital libraries and LMSs) cannot provide an integrated view to users. Users still have to access every digital library systems in order to find the resources required by them. This network has a potential of sharing various educational resources using data grid as proposed in [6].</p>
<p><strong>3. </strong><strong>DATA GRID</strong></p>
<p>Data grid is one of the types of grid technologies. The other types are computational and access grid. Originally, the emphasis of grid technology lay in the sharing of computational resources [7]. Technological and scientific advances have led to an ongoing data explosion in many fields. Data are stored in many different storage systems and data formats with different schema, access rights, metadata attributes, and ontologies. These data also need to be shared and managed. The need then introduces a new grid technology, namely data grid. There are some existing data grids. In the following, we will overview two of them (iRODS and OGSA-DAI) and highlight their features to address the need.</p>
<ul>
<li><strong>iRODS</strong></li>
</ul>
<p>iRODS (Integrated Rule-Oriented Data System) [8] is a second generation data grid system providing a unified view and seamless access to distributed digital objects across a wide area network. It is extended from the Storage Resource Broker (SRB) that is considered as the first generation data grid system. Both SRB and iRODS are developed by the San Diego Supercomputing Center (SDSC).</p>
<p>Classified as the first generation of the data grid, SRB is mainly focused on providing a unified view over distributed storages based on logical naming concepts using the client-server architecture. The concepts facilitated the naming and location transparency where users, resources, data objects and virtual directories were abstracted by logical names and mapped onto physical entities. The mapping is done at run time by the Virtualization sub-system. The information of the mapping from the logical name to physical name is maintained persistently in a database system called the Metadata Catalog. The database also maintains the metadata of the data objects that use the schema of attribute-value pair and the states of data and operations. Built upon this logical abstraction, iRODS takes one level higher by abstracting the data management process itself called policy abstraction.</p>
<p align="center">
<div id="attachment_148" class="wp-caption aligncenter" style="width: 310px"><a rel="attachment wp-att-148" href="http://aank76.wordpress.com/2009/08/19/educational-resource-sharing-in-the-heterogeneous-environments-using-data-grid/600px-irodsarch/"><img class="size-medium wp-image-148" title="600px-irodsArch" src="http://aank76.files.wordpress.com/2009/08/600px-irodsarch.jpg?w=300&#038;h=200" alt="iRODS Architecture" width="300" height="200" /></a><p class="wp-caption-text">iRODS Architecture</p></div>
<p align="center"><strong>Figure 2. iRODS Architecture [8]</strong></p>
<p>Whilst the policies used for managing the data at the server level in SRB are hard-coded, iRODS uses another approach, Rule-oriented Programming (ROP), to make the customization of data management functionalities much easier. Rules are explicitly declared to control the operations performed when a rule is invoked by a particular task. In iRODS, these operations are called micro services and implemented as functions in C programming language.</p>
<p>Figure 2 displays the iRODS architecture with its main modules. The architecture differentiates between the administrative commands needed to manage the rules, and the rules that invoke data management modules. When a user invokes a service, it fires a rule that uses the information from the rule base, status, and metadata catalog to invoke micro-services [9]. The micro-services either change the metadata catalog or change the resource (read/write/create/etc).</p>
<p>Figure 3 illustrates a scenario when a client sends a query asking for a file from an iRODS zone. Firstly, he connects to one of iRODS servers (for example server A) using a client application and sends the criteria of the file needed (e.g. based on the metadata, filename, size, etc). The request is directed to server A that will find the file using information available in Metadata catalog. The query result is sent back to the client. If he/she wants to get the file, server A asks the catalog server which iRODS server that stores the file (for example in the server B). Server A then communicates with server B to request the file. Server B applies the rules related with the request. The rules can be the process of authorization (whether the client has a privilege to read the file) and sending the file to the client using iRODS native protocol. The client is not aware of the location of the file. This location transparency is handled by the grid.</p>
<p align="center"><strong><a rel="attachment wp-att-167" href="http://aank76.wordpress.com/2009/08/19/educational-resource-sharing-in-the-heterogeneous-environments-using-data-grid/irods-in-action/"><img class="aligncenter size-full wp-image-167" title="iRODS-in-Action" src="http://aank76.files.wordpress.com/2009/08/irods-in-action.png?w=500&#038;h=384" alt="iRODS-in-Action" width="500" height="384" /></a><br />
</strong><strong>Figure 3. A client asks for a file from an iRODS data grid [8]</strong></p>
<p>Based on the explanation above, we conclude that iRODS focuses on managing unstructured data objects such as files. Although it can also access structured data resources, its orientation is mainly on distributed file management. However, it also uses structure data (relational database) to manage the metadata of the data objects, the states of data and the states of operations. The metadata can potentially be integrated using the OGSA-DAI data grid.</p>
<ul>
<li><strong>OGSA-DAI</strong></li>
</ul>
<p>OGSA-DAI (Open Grid Services Architecture – Data Access and Integration) [10] is a middleware software that allows structured data resources, such as relational or XML databases, from multiple, distributed, heterogeneous and autonomously managed data sources to be easily accessed via web services. It focuses on cases where the assembly of all the data into a single data warehouse is inappropriate [10].</p>
<p align="center">
<p align="center"><strong><a rel="attachment wp-att-166" href="http://aank76.wordpress.com/2009/08/19/educational-resource-sharing-in-the-heterogeneous-environments-using-data-grid/ogsa-dai/"><img class="aligncenter size-full wp-image-166" title="OGSA-DAI" src="http://aank76.files.wordpress.com/2009/08/ogsa-dai.png?w=500&#038;h=335" alt="OGSA-DAI" width="500" height="335" /></a><br />
Figure </strong><strong>4.</strong><strong> An overview of OGSA-DAI components</strong><strong> [11]</strong></p>
<p>OGSA-DAI is designed to enable sharing of data resources to make collaboration that supports:</p>
<ol>
<li>Data access service, which allows to access structured data in distributed heterogeneous data resources</li>
<li>Data transformation service, which allows to expose data in schema X to users as data in schema Y</li>
<li>Data integration service, which allows to expose multiple databases to users as a single virtual database</li>
<li>Data delivery service, which allows to deliver data to where it’s needed by the most appropriate means, such as Web service, email, HTTP, FTP and GridFTP</li>
</ol>
<p>OGSA-DAI has adopted a service oriented architecture (SOA) solution for integrating data and grids through the use of web services. The role of OGSA-DAI in a service-based Grid, illustrated in Figure 4, involves interactions between several following components [11]:</p>
<ol>
<li>OGSA-DAI data service: a web service that implements various port types allowing the submission of requests and data transport operations</li>
<li>Client: an entity that submits a request to the OGSA-DAI data service. A request is in the form of a <em>perform </em>document that describes one or more activities to be carried out by the service.</li>
<li>Consumer: a process, other than the client, to which an OGSA-DAI service delivers data.</li>
<li>Producer: a process, other than the client, that sends data to an OGSA-DAI data service.</li>
</ol>
<p>When a client wants to make a request to an OGSA-DAI data service, it invokes a web service operation on the data service using a perform document. A perform document is an XML document describing the request that the client wants to be executed, defined by linking together a sequence of activities. An activity is an OGSA-DAI construct corresponding to a specific task that should be performed. The output of one activity can be linked to the input of another to perform a number of tasks in sequence.  A range of activities is supported by OGSA-DAI, falling into the broad categories of relational activities, XML activities, delivery activities, transformation activities and file activities. Furthermore, the activity is an OGSA-DAI extensibility point, allowing third parties to define new activities and add them to the ones supported by an OGSA-DAI data service.</p>
<p>OGSA-DAI focuses on managing heterogeneous structured data resources. Although it can also access the unstructured data using file transfer, its orientation is mainly on structured data (such as relational and XML database) management.</p>
<p>According to the two existing data grid middlewares, there are two main orientations in handling data based on the nature of data: structured and unstructured data. In the following section, we propose a system architecture that accommodates these two kinds of data.</p>
<p><strong>4. </strong><strong>THE PROPOSED ARCHITECTURE</strong></p>
<p>In this study, a generic architecture for sharing educational resources in heterogeneous environment using data grid middleware is proposed based on the two types of data: structured and unstructured data.</p>
<p>From the perspective of computer processing, the digital objects are merely data. Generally, data can be classified into two categories: unstructured and structured data. Unstructured data consists of any data stored in an unstructured format at an atomic level. There is no conceptual definition and no data type definition in the unstructured content. Furthermore, unstructured data can be divided into two basic categories: bitmap objects (such as video, image, and audio files) and textual objects (such as spreadsheets, presentations, documents, and email). Both of them can be treated as a string of bits. The unstructured data is usually managed by operating system. Structured data has schema information that describes its structure. The schema can be separated from the data (such as in relational database) or it can be mixed with the data (e.g.  XML format). The structured data is usually managed by a database management system. The system facilitates the processes of defining, constructing, manipulating, and sharing the data among various users and applications [12]. This differentiation of the nature of data brings into different treatment when the various formats of data and storage systems are handled in the middleware layer.</p>
<p style="text-align:center;">
<div id="attachment_151" class="wp-caption aligncenter" style="width: 510px"><a rel="attachment wp-att-151" href="http://aank76.wordpress.com/2009/08/19/educational-resource-sharing-in-the-heterogeneous-environments-using-data-grid/the-proposed-architecture/"><img class="size-full wp-image-151" title="The-Proposed-Architecture" src="http://aank76.files.wordpress.com/2009/08/the-proposed-architecture.png?w=500&#038;h=187" alt="The Proposed Architecture" width="500" height="187" /></a><p class="wp-caption-text">The Proposed Architecture</p></div>
<p style="text-align:center;"><strong>Figure 5.     The proposed generic architecture for resource sharing</strong></p>
<p>Figure 5 shows the proposed architecture that utilizes the similar hierarchy used in [13] but it is applied in managing heterogeneous data resources. The architecture consists of three layers: data layer, data grid middleware layer and application layer.</p>
<p>At the data layer, the various data resources in the heterogeneous file systems and storage systems can be joined into one large data collection. We distinguish between structured and unstructured data because of their different inherent characteristics. At the data grid middleware layer, the data virtualizations for each data type are separated. The unstructured data are virtualized by file-oriented data grid middleware, such as SRB and iRODS, while the structured data virtualization is handled by database-oriented data grid middleware, such as OGSA-DAI.</p>
<p>Based on the analysis of the file-orientated data grids (such as SRB and iRODS), the unstructured data virtualization provides the following basic services [14]:</p>
<ol>
<li>Data storage and replication service, which allows to store any type of digital object content and to replicate it into several other resources. The service is independent of the content type because only the clients need to be aware of the content internal format and structure.</li>
<li>Composition and relation service, which allows to define various relations between digital objects and to define multiple groups of related objects. Those relations may be used to create complex digital objects, to show parent/child relationships between objects or to create collections of digital objects.</li>
<li>Search service, which allows to search in previously defined sets of digital objects. The search can be based on the query matching with the metadata catalog.</li>
<li>Metadata storage service, which allows to store metadata describing digital objects. One object can be described in many metadata records. The metadata also records information associated with replication. These records can be utilized for the search service. Usually, database systems are used to store and manage the metadata. Furthermore, some database systems containing metadata can be integrated using structured data virtualization components of the data grid middleware.</li>
</ol>
<p>The structured data virtualization provides the four basic services as described in the section of OGSA-DAI.</p>
<p>At the application layer, data-intensive applications, such as e-learning management systems and digital libraries, can utilize the two data virtualizations in order to publish and share their digital content objects.</p>
<p align="center"><strong><a rel="attachment wp-att-159" href="http://aank76.wordpress.com/2009/08/19/educational-resource-sharing-in-the-heterogeneous-environments-using-data-grid/typical-implementation-web/"><img class="aligncenter size-full wp-image-159" title="Typical-Implementation-web" src="http://aank76.files.wordpress.com/2009/08/typical-implementation-web.png?w=500" alt="Typical-Implementation-web"   /></a><br />
Figure 6. A     typical implementation of the proposed architecture for digital library</strong><strong> </strong></p>
<p>Figure 6 shows a typical implementation of the proposed architecture for digital library. Every digital library sites that are registered in the Integrated Higher Education Digital Library Portal manage their own data resources consisting of the collection of digital objects and structured data (relational database and XML). The digital objects are stored in various storage systems that are managed by iRODS storage servers. Since all of iRODS servers are registered in one zone, namely Zone IDL (Indonesian Digital Libraries), the digital objects can be replicated among the servers. Some files of site A can be replicated to the servers of site B, and vice versa. The metadata catalog servers in both sites will contain the same information of all collected educational resources.</p>
<p>Some digital library systems store index files for the use of searching in relational databases. The systems can also manage some kinds of educational resources formatted in XML (e.g. semi-structured documents) using native XML databases. All of this information can be accessed and integrated by the Integrated Higher Education Digital Library Portal using OGSA-DAI. Therefore, a user can do distributed searching for files stored in all resources of both sites. The integrated system also enables a user to get all resources closer to him if the resources are already replicated to some locations.</p>
<p>Since all sites are connected in INHERENT with high-speed bandwidth, there is no need for the Integrated Higher Education Digital Library Portal to harvest the metadata from all member sites such as proposed in [4]. No central metadata repository is required. This ensures that the query results of distributed searching will always be up to date because they come from the local query processing of each member sites.</p>
<p><strong>5. </strong><strong>CONCLUSION</strong></p>
<p>In this study, we propose a generic architecture for sharing educational resources in the heterogeneous environment. The architecture distinguishes the managed data into two categories, namely structured and unstructured data. The data grid middleware used for virtualization is separated based on the two categories of data. In our design, we use iRODS and OGSA-DAI as the data grid middleware. iRODS is mainly file-oriented data grid and uses its own protocols. OGSA-DAI is mainly database-oriented and can only be accessed through web service mechanism. The combination of the two data grids completely handles all kinds of data types. Hence, this architecture can improve the accessibility, integration and management of those educational resources. <strong> </strong></p>
<p><strong>6. </strong><strong>REFERENCES</strong></p>
<table style="height:542px;" border="0" cellspacing="0" cellpadding="0" width="488">
<tbody>
<tr>
<td width="29" valign="top">[1]</td>
<td width="580" valign="top">Yang, C.T., Hsin-Chuan Ho. <em>Using Data Grid Technologies to   Construct a Digital Library Environment</em>. <em>Proceedings of the 3rd   International Conference on Information Technology: Research and Education   (ITRE 05)</em><em>,</em> pp. 388-392, NTHU, Hsinchu, Taiwan, June 27-30,   2005. (EI)</td>
</tr>
<tr>
<td width="29" valign="top">[2]</td>
<td width="580" valign="top">Candela, L., Donatella Castelli, Pasquale Pagano, Manuele Simi. <em>Moving   Digital Library Service Systems to the Grid</em>. Springer-Verlag. 2005.</td>
</tr>
<tr>
<td width="29" valign="top">[3]</td>
<td width="580" valign="top">Sebestyen-Pal, G., Doina Banciu, Tunde Balint, Bogdan Moscaiuc,   Agnes Sebetyen-Pal. <em>Towards a GRID-based Digital Library Management System</em>.   In Distributed and Parallel Systems p77-90. Springer-Verlag. 2008.</td>
</tr>
<tr>
<td width="29" valign="top">[4]</td>
<td width="580" valign="top">Pan, H. <em>Research   on the Interoperability Architecture of the Digital Library Grid</em>. 2007.   in IFIP International Federation for Information Processing, Volume 251,   Integration and Innovation Orient to E-Society Volume l, Wang, W. (Eds), (Boston: Springer), pp. 147-154.</td>
</tr>
<tr>
<td width="29" valign="top">[5]</td>
<td width="580" valign="top">Indonesian Higher Education Network (INHERENT).   http://www.inherent-dikti.net</td>
</tr>
<tr>
<td width="29" valign="top">[6]</td>
<td width="580" valign="top">Hasibuan, Z.A. <em>The Use of Data Grid Technology to Support   Distance Education Environment</em>. The International Symposium on Open,   Distance, and E-Learning, Bali, 13-15 November 2007.</td>
</tr>
<tr>
<td width="29" valign="top">[7]</td>
<td width="580" valign="top">Foster, I., Carl Kesselman. <em>The Grid: Blueprint for a New   Computing Infrastructure</em>. 2<sup>nd</sup> Edition. Morgan Kaufmann. 2006.</td>
</tr>
<tr>
<td width="29" valign="top">[8]</td>
<td width="580" valign="top">iRODS (Integrated Rule-Oriented Data System). https://www.irods.org</td>
</tr>
<tr>
<td width="29" valign="top">[9]</td>
<td width="580" valign="top">Weise, A., Mike Wan, Wayne Schroeder, Adil Hasan. <em>Managing   Groups of Files in a Rule Oriented Data Management System (iRODS)</em>.   Proceedings of the 8<sup>th</sup> International Conference on Computational   Science, Section: Workshop on Software Engineering for Large-Scale Computing,   Krakow, Poland. 2008</td>
</tr>
<tr>
<td width="29" valign="top">[10]</td>
<td width="580" valign="top">OGSA-DAI (Open Grid Services Architecture &#8211; Data Access and   Integration). http://www.ogsadai.org.uk/index.php</td>
</tr>
<tr>
<td width="29" valign="top">[11]</td>
<td width="580" valign="top">Chue Hong, N.P., Antonioletti, M., Karasavvas, K.A. and Atkinson,   M. <em>Accessing   Data in Grids Using OGSA-DAI</em>, in Knowledge and Data Management in   GRIDs, p3-18, D. Talia, A. Bilas, M.D. Dikaiakos (Eds.), 2007, ISBN: 978-0-387-37830-5</td>
</tr>
<tr>
<td width="29" valign="top">[12]</td>
<td width="580" valign="top">Elmashri, R., Shamkant B. Navathe. <em>Fundamental of Database   Systems</em>. 5<sup>th</sup> Edition. Addison Wesley. 2006.</td>
</tr>
<tr>
<td width="29" valign="top">[13]</td>
<td width="580" valign="top">Coulouris, G., Jean Dollimore, Tim Kindberg. <em>Distributed   Systems : Concepts and Design</em>. 4<sup>th</sup> edition. Addison Wesley.   2005.</td>
</tr>
<tr>
<td width="29" valign="top">[14]</td>
<td width="580" valign="top">Kosiedowski, M.,Mazurek, C., Stroinski, M., Werla, M. and Wolski,   M. <em>Federating   Digital Library Services for Advanced Applications in Science and Education</em>,   Computational Methods in Science and Technology 13(2), pp. 101-112. December,   2007</td>
</tr>
</tbody>
</table>
<hr />*)  Proceedings of <em>International Conference on Creative and Innovative Technology 2009 (ICCIT-09)</em> (pp. 66-71). STMIK Rahardja, Tangerang: CCIT Journal, Indonesia</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aank76.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aank76.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aank76.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aank76.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aank76.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aank76.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aank76.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aank76.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aank76.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aank76.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aank76.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aank76.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aank76.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aank76.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=122&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aank76.wordpress.com/2009/08/19/educational-resource-sharing-in-the-heterogeneous-environments-using-data-grid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e8d9dbd2cc589a03a91c58be0abeb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aank76</media:title>
		</media:content>

		<media:content url="http://aank76.files.wordpress.com/2009/08/zonaperguruantinggi1.jpg" medium="image">
			<media:title type="html">INHERENT</media:title>
		</media:content>

		<media:content url="http://aank76.files.wordpress.com/2009/08/600px-irodsarch.jpg?w=300" medium="image">
			<media:title type="html">600px-irodsArch</media:title>
		</media:content>

		<media:content url="http://aank76.files.wordpress.com/2009/08/irods-in-action.png" medium="image">
			<media:title type="html">iRODS-in-Action</media:title>
		</media:content>

		<media:content url="http://aank76.files.wordpress.com/2009/08/ogsa-dai.png" medium="image">
			<media:title type="html">OGSA-DAI</media:title>
		</media:content>

		<media:content url="http://aank76.files.wordpress.com/2009/08/the-proposed-architecture.png" medium="image">
			<media:title type="html">The-Proposed-Architecture</media:title>
		</media:content>

		<media:content url="http://aank76.files.wordpress.com/2009/08/typical-implementation-web.png" medium="image">
			<media:title type="html">Typical-Implementation-web</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing Windows Local Administrator&#8217;s Password Remotely</title>
		<link>http://aank76.wordpress.com/2007/10/08/changing-windows-local-administrators-password-remotely/</link>
		<comments>http://aank76.wordpress.com/2007/10/08/changing-windows-local-administrators-password-remotely/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 04:10:39 +0000</pubDate>
		<dc:creator>aank76</dc:creator>
				<category><![CDATA[Computer Security]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://aank76.wordpress.com/?p=107</guid>
		<description><![CDATA[As the network administrator who manages more than 300 computers which are spreaded into several buildings, changing local administrator&#8217;s password is a boring routine. Fortunately, Windows provides some tools and scripts in the form of command line which help this job done in seconds. In order to change a local user&#8217;s password in the computer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=107&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As the network administrator who manages more than 300 computers which are spreaded into several buildings, changing local administrator&#8217;s password is a boring routine. Fortunately, Windows provides some tools and scripts in the form of command line which help this job done in seconds.</p>
<p><span id="more-107"></span>In order to change a local user&#8217;s password in the computer being used, we can run this command:<br />
<span style="font-family:courier new;">net user <span style="font-style:italic;">username new_password</span><br />
</span></p>
<p>For example, to change the local administrator&#8217;s password :<br />
<span style="font-family:courier new;">net user </span><span style="font-family:courier new;">administrator mypasswd</span></p>
<p>Of course, we must have the administrator&#8217;s privilege of the computer to make the script effective.</p>
<p>To change a local user&#8217;s password in another computer, we have to make connection to the IPC$ of the computer.<br />
Use this command:<br />
<span style="font-family:courier new;">net use \\computer_name\ipc$ /user:administrator</span><br />
Press Enter and then enter the administrator&#8217;s password when prompted.<br />
Example : to change the administrator&#8217;s password of the computer WS010:<br />
<span style="font-family:courier new;">net use \\WS010\ipc$ /user:administrator</span></p>
<p>We will use Automatic Task service to change the local administrator&#8217;s password of the computer. So, we need the current time on the computer using this command :<br />
<span style="font-family:courier new;">net time \\WS010</span><br />
Here is the sample output:<br />
<span style="font-family:courier new;">Current time at \\WS010 is 4/7/2007 11:35 AM</span></p>
<p>Next, we submit a job that will be executed in later time:<br />
<span style="font-family:courier new;">at \\WS010 11:50 cmd /c net user administrator <em>mypasswd</em></span><br />
Note:<br />
11:50 is the time when the job will be executed.<br />
<em>mypasswd</em> is the new password.</p>
<p>Since the computer names in my LAN have the pattern WS001, WS002, &#8230; until WS150, it is easier to use the following script:</p>
<p><pre class="brush: jscript;">
for /l %%L in (1,1,9) do at \\WS00%%L 18:00 cmd /c net user administrator mypasswd
for /l %%L in (10,1,99) do at \\WS0%%L 18:00 cmd /c net user administrator mypasswd
for /l %%L in (100,1,150) do at \\WS%%L 18:00 cmd /c net user administrator mypasswd
</pre></p>
<p>The script is stored in a batch file (.bat) and then run from Windows explorer.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/aank76.wordpress.com/107/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/aank76.wordpress.com/107/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aank76.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aank76.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aank76.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aank76.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aank76.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aank76.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aank76.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aank76.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aank76.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aank76.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aank76.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aank76.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aank76.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aank76.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=107&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aank76.wordpress.com/2007/10/08/changing-windows-local-administrators-password-remotely/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e8d9dbd2cc589a03a91c58be0abeb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aank76</media:title>
		</media:content>
	</item>
		<item>
		<title>Transfer Logins and Passwords to another SQL Server Instance</title>
		<link>http://aank76.wordpress.com/2007/10/05/transfer-logins-and-passwords-to-another-sql-server-instance/</link>
		<comments>http://aank76.wordpress.com/2007/10/05/transfer-logins-and-passwords-to-another-sql-server-instance/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 02:58:39 +0000</pubDate>
		<dc:creator>aank76</dc:creator>
				<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://aank76.wordpress.com/?p=83</guid>
		<description><![CDATA[When you move or copy (migrate) all databases between SQL Server instances, sometimes you need to preserve information about logins and their passwords. The following script will generate an sql script that recreate the logins as well as the passwords from the previous instance. How to Use it Copy the above script to a text [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=83&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When you move or copy (migrate) all databases between SQL Server instances, sometimes you need to preserve information about logins and their passwords. The following script will generate an sql script that recreate the logins as well as the passwords from the previous instance.<br />
<span id="more-83"></span><br />
<pre class="brush: sql;">
USE master
GO
IF OBJECT_ID ( 'sp_hexadecimal' ) IS NOT NULL
    DROP PROCEDURE sp_hexadecimal
GO
CREATE PROCEDURE sp_hexadecimal
    @binvalue varbinary(256),
    @hexvalue varchar (514) OUTPUT
AS
DECLARE @charvalue varchar (514)
DECLARE @i int
DECLARE @length int
DECLARE @hexstring char(16)
SELECT @charvalue = '0x'
SELECT @i = 1
SELECT @length = DATALENGTH (@binvalue)
SELECT @hexstring = '0123456789ABCDEF'
WHILE (@i &lt;= @length)
BEGIN
  DECLARE @tempint int
  DECLARE @firstint int
  DECLARE @secondint int
  SELECT @tempint = CONVERT(int, SUBSTRING(@binvalue,@i,1))
  SELECT @firstint = FLOOR(@tempint/16)
  SELECT @secondint = @tempint - (@firstint*16)
  SELECT @charvalue = @charvalue +
    SUBSTRING(@hexstring, @firstint+1, 1) +
    SUBSTRING(@hexstring, @secondint+1, 1)
  SELECT @i = @i + 1
END

SELECT @hexvalue = @charvalue
GO

IF OBJECT_ID ( 'sp_help_revlogin' ) IS NOT NULL
  DROP PROCEDURE sp_help_revlogin
GO
CREATE PROCEDURE sp_help_revlogin @login_name sysname = NULL AS
DECLARE @name sysname
DECLARE @type varchar (1)
DECLARE @hasaccess int
DECLARE @denylogin int
DECLARE @is_disabled int
DECLARE @PWD_varbinary  varbinary (256)
DECLARE @PWD_string  varchar (514)
DECLARE @SID_varbinary varbinary (85)
DECLARE @SID_string varchar (514)
DECLARE @tmpstr  varchar (1024)
DECLARE @is_policy_checked varchar (3)
DECLARE @is_expiration_checked varchar (3)

DECLARE @defaultdb sysname

IF (@login_name IS NULL)
  DECLARE login_curs CURSOR FOR

      SELECT p.sid, p.name, p.type, p.is_disabled, p.default_database_name, l.hasaccess, l.denylogin FROM
sys.server_principals p LEFT JOIN sys.syslogins l
      ON ( l.name = p.name ) WHERE p.type IN ( 'S', 'G', 'U' ) AND p.name  'sa'
ELSE
  DECLARE login_curs CURSOR FOR

      SELECT p.sid, p.name, p.type, p.is_disabled, p.default_database_name, l.hasaccess, l.denylogin FROM
sys.server_principals p LEFT JOIN sys.syslogins l
      ON ( l.name = p.name ) WHERE p.type IN ( 'S', 'G', 'U' ) AND p.name = @login_name
OPEN login_curs

FETCH NEXT FROM login_curs INTO @SID_varbinary, @name, @type, @is_disabled, @defaultdb, @hasaccess, @denylogin
IF (@@fetch_status = -1)
BEGIN
  PRINT 'No login(s) found.'
  CLOSE login_curs
  DEALLOCATE login_curs
  RETURN -1
END
SET @tmpstr = '/* sp_help_revlogin script '
PRINT @tmpstr
SET @tmpstr = '** Generated ' + CONVERT (varchar, GETDATE()) + ' on ' + @@SERVERNAME + ' */'
PRINT @tmpstr
PRINT ''
WHILE (@@fetch_status  -1)
BEGIN
  IF (@@fetch_status  -2)
  BEGIN
    PRINT ''
    SET @tmpstr = '-- Login: ' + @name
    PRINT @tmpstr
    IF (@type IN ( 'G', 'U'))
    BEGIN -- NT authenticated account/group

      SET @tmpstr = 'CREATE LOGIN ' + QUOTENAME( @name ) + ' FROM WINDOWS WITH DEFAULT_DATABASE = [' + @defaultdb + ']'
    END
    ELSE BEGIN -- SQL Server authentication
        -- obtain password and sid
            SET @PWD_varbinary = CAST( LOGINPROPERTY( @name, 'PasswordHash' ) AS varbinary (256) )
        EXEC sp_hexadecimal @PWD_varbinary, @PWD_string OUT
        EXEC sp_hexadecimal @SID_varbinary,@SID_string OUT

        -- obtain password policy state
        SELECT @is_policy_checked = CASE is_policy_checked WHEN 1 THEN 'ON' WHEN 0 THEN 'OFF' ELSE NULL END FROM sys.sql_logins WHERE name = @name
        SELECT @is_expiration_checked = CASE is_expiration_checked WHEN 1 THEN 'ON' WHEN 0 THEN 'OFF' ELSE NULL END FROM sys.sql_logins WHERE name = @name

            SET @tmpstr = 'CREATE LOGIN ' + QUOTENAME( @name ) + ' WITH PASSWORD = ' + @PWD_string + ' HASHED, SID = ' + @SID_string + ', DEFAULT_DATABASE = [' + @defaultdb + ']'

        IF ( @is_policy_checked IS NOT NULL )
        BEGIN
          SET @tmpstr = @tmpstr + ', CHECK_POLICY = ' + @is_policy_checked
        END
        IF ( @is_expiration_checked IS NOT NULL )
        BEGIN
          SET @tmpstr = @tmpstr + ', CHECK_EXPIRATION = ' + @is_expiration_checked
        END
    END
    IF (@denylogin = 1)
    BEGIN -- login is denied access
      SET @tmpstr = @tmpstr + '; DENY CONNECT SQL TO ' + QUOTENAME( @name )
    END
    ELSE IF (@hasaccess = 0)
    BEGIN -- login exists but does not have access
      SET @tmpstr = @tmpstr + '; REVOKE CONNECT SQL TO ' + QUOTENAME( @name )
    END
    IF (@is_disabled = 1)
    BEGIN -- login is disabled
      SET @tmpstr = @tmpstr + '; ALTER LOGIN ' + QUOTENAME( @name ) + ' DISABLE'
    END
    PRINT @tmpstr
  END

  FETCH NEXT FROM login_curs INTO @SID_varbinary, @name, @type, @is_disabled, @defaultdb, @hasaccess, @denylogin
   END
CLOSE login_curs
DEALLOCATE login_curs
RETURN 0
GO

</pre></p>
<p><strong>How to Use it</strong></p>
<ol>
<li>Copy the above script to a text file and save it (better with the file extension .sql)</li>
<li>Open Query Analyzer (SQL Server 2000) or SQL Server Management Studio (SQL Server 2005). Connect to <strong>the source instance</strong> using an account that has sysadmin privilege (such as : sa)</li>
<li>Open the script file and then run it. The script will create two stored procedures in master database : <strong>sp_hexadecimal</strong> and <strong>sp_help_revlogin</strong></li>
<li>Then in <strong>master </strong>database, run :
<p><span>EXEC sp_help_revlogin</span></p>
<p>It will generate an output script that will recreate all logins. This script creates the logins that have the original Security Identifier (SID) and the original password. Copy the script to clipboard.</li>
<li>Again, using Query Analyzer (SQL Server 2000) or SQL Server Management Studio (SQL Server 2005), connect to <strong>the target instance</strong> (of course using the account with sysadmin privilege).</li>
<li>Paste the output script generated in step 4 to a new query page and run it. Your target instance will have exactly the same logins as the source one.</li>
</ol>
<p>&lt;source : <a title="How to transfer the logins and the passwords between instances of SQL Server 2005" href="http://support.microsoft.com/kb/918992/" target="_blank">http://support.microsoft.com/kb/918992/</a>&gt;</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/aank76.wordpress.com/83/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/aank76.wordpress.com/83/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aank76.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aank76.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aank76.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aank76.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aank76.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aank76.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aank76.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aank76.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aank76.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aank76.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aank76.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aank76.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aank76.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aank76.wordpress.com/83/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=83&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aank76.wordpress.com/2007/10/05/transfer-logins-and-passwords-to-another-sql-server-instance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e8d9dbd2cc589a03a91c58be0abeb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aank76</media:title>
		</media:content>
	</item>
		<item>
		<title>Show the Primary Key of A Table in Oracle</title>
		<link>http://aank76.wordpress.com/2007/10/04/show-primary-key-of-a-table-in-oracle/</link>
		<comments>http://aank76.wordpress.com/2007/10/04/show-primary-key-of-a-table-in-oracle/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 17:51:20 +0000</pubDate>
		<dc:creator>aank76</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://aank76.wordpress.com/?p=27</guid>
		<description><![CDATA[When making a query that needs joining two or more tables, you need to know the primary key/s of the tables. The command DESCRIBE &#60;TABLE_NAME&#62; will not show you the primary key. To get the primary key, use this query: Change &#60;TABLE_NAME&#62; with the table name.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=27&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When making a query that needs joining two or more tables, you need to know the primary key/s of the tables.<br />
The command <font><b>DESCRIBE &lt;TABLE_NAME&gt;</b></font> will not show you the primary key.<br />
To get the primary key, use this query:</p>
<p><pre class="brush: sql;">
SELECT B.COLUMN_NAME FROM ALL_CONSTRAINTS A, ALL_CONS_COLUMNS B
WHERE A.CONSTRAINT_NAME=B.CONSTAINT_NAME AND A.OWNER=B.OWNER AND
A.TABLE_NAME=&lt;TABLE_NAME&gt; AND A.CONSTRAINT_TYPE='P';
</pre></p>
<p><font size="10">Change <font face="Arial"><b>&lt;TABLE_NAME&gt;</b></font> with the table name.</font></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/aank76.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/aank76.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aank76.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aank76.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aank76.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aank76.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aank76.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aank76.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aank76.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aank76.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aank76.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aank76.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aank76.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aank76.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aank76.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aank76.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=27&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aank76.wordpress.com/2007/10/04/show-primary-key-of-a-table-in-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e8d9dbd2cc589a03a91c58be0abeb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aank76</media:title>
		</media:content>
	</item>
		<item>
		<title>Connect to MySQL via SSH</title>
		<link>http://aank76.wordpress.com/2007/09/03/connect-to-mysql-via-ssh/</link>
		<comments>http://aank76.wordpress.com/2007/09/03/connect-to-mysql-via-ssh/#comments</comments>
		<pubDate>Mon, 03 Sep 2007 19:49:56 +0000</pubDate>
		<dc:creator>aank76</dc:creator>
				<category><![CDATA[Computer Security]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://aank76.wordpress.com/2007/09/04/terhubung-ke-mysql-melalui-ssh/</guid>
		<description><![CDATA[Like telnet, all communications between MySQL server and its client, including username and password, are transmitted in plain text. It allows everyone to sniff on your session and get your password and other valuable information. The following method ensures a higher security level on the connection between MySQL server and its client. The communication between [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=13&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Like telnet, all communications between MySQL server and its client, including username and password, are transmitted in plain text. It allows everyone to sniff on your session and get your password and other valuable information.</p>
<p>The following method ensures a higher security level on the connection between MySQL server and its client. The communication between them is done on the SSH tunnel which is more secure because it uses encryption.</p>
<p><span id="more-13"></span></p>
<p><span>First thing first, make sure that the SSH server daemon is already installed in your MySQL server. You can check it by running:</span></p>
<p><span><span style="font-size:10pt;line-height:150%;font-family:'Courier New';">ps ax | grep sshd</span></span></p>
<p><span>If you find a line containing <span><span style="font-size:10pt;line-height:150%;font-family:'Courier New';">/usr/sbin/sshd</span></span>, it means the service is already installed and run. If not and you are using Ubuntu, run this command:</span></p>
<p><span><span style="font-size:10pt;line-height:150%;font-family:'Courier New';">sudo apt-get openssh-server</span></span></p>
<p><span>Activate the service.</span></p>
<p><span>On the client that will connect to to MySQL server, run SSH client. For example: BitVise Tunnelier</span> <span>(Windows OS) can be downloaded  <a href="http://www.softpedia.com/get/Network-Tools/Telnet-SSH-Clients/Tunnelier.shtml">here</a>.</span></p>
<p>On the tab Login, insert: </p>
<ul>
<li><span>the name or the IP address of the MySQL server on the textbox <strong>Host</strong></span></li>
<li><span><strong>username</strong> (must be registered in the server)</span></li>
<li><span>choose Initial method on <strong>password</strong></span></li>
</ul>
<p>
<img src="http://aank76.files.wordpress.com/2007/09/loginbitvise.gif?w=500" alt="Tab Login pada BitVise Tunnelier" /></p>
<p><strong>Configuring  <em>IP Forward</em></strong></p>
<p>Open the tab <strong>C2S Fwding</strong>. Add one entry on the table, as follows:<br />
a. <strong>Status</strong> : <span style="font-size:10pt;line-height:150%;font-family:'Courier New';">enabled</span><br />
b. <strong>Listen Interface</strong> : <span style="font-size:10pt;line-height:150%;font-family:'Courier New';">127.0.0.1</span><br />
c. <strong>List. Port</strong> : <span style="font-size:10pt;line-height:150%;font-family:'Courier New';">3306</span><br />
d. <strong>Destination host</strong> : the name or IP address of the MySQL server<br />
e. <strong>Dest. Port</strong> : <span style="font-size:10pt;line-height:150%;font-family:'Courier New';">3306</span></p>
<p><img src="http://aank76.files.wordpress.com/2007/09/c2sforwarding.gif?w=500" alt="Tab C2S Fwding" /></p>
<p>Click the button <strong>Login</strong>. Enter the account info (username and password).</p>
<p>After successfully opening an SSH session, run the application (client)that will use MySQL service. Now the client computer opens the local port 3306 that will forward all communications to the MySQL server.</p>
<p>Direct the MySQL server address to localhost (127.0.0.1), not to the actual MySQL server.</p>
<p>If you use the <em>mysql</em> client program, run :</p>
<p><span style="font-size:10pt;font-family:'Courier New';">prompt&gt; mysql –u root –p</span></p>
<p>Viewed on the server side, the user is accessing MySQL directly from the server with the account <span style="font-size:10pt;line-height:150%;font-family:'Courier New';">root@nama_server_MySQL</span><span>.</span> So use the password for local root.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/aank76.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/aank76.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aank76.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aank76.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aank76.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aank76.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aank76.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aank76.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aank76.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aank76.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aank76.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aank76.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aank76.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aank76.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aank76.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aank76.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=13&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aank76.wordpress.com/2007/09/03/connect-to-mysql-via-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e8d9dbd2cc589a03a91c58be0abeb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aank76</media:title>
		</media:content>

		<media:content url="http://aank76.files.wordpress.com/2007/09/loginbitvise.gif" medium="image">
			<media:title type="html">Tab Login pada BitVise Tunnelier</media:title>
		</media:content>

		<media:content url="http://aank76.files.wordpress.com/2007/09/c2sforwarding.gif" medium="image">
			<media:title type="html">Tab C2S Fwding</media:title>
		</media:content>
	</item>
		<item>
		<title>Mounting a Windows Shared Folder to Linux System Automatically</title>
		<link>http://aank76.wordpress.com/2007/05/31/mounting-a-windows-shared-folder-to-linux-system-automatically/</link>
		<comments>http://aank76.wordpress.com/2007/05/31/mounting-a-windows-shared-folder-to-linux-system-automatically/#comments</comments>
		<pubDate>Thu, 31 May 2007 06:41:37 +0000</pubDate>
		<dc:creator>aank76</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://aank76.wordpress.com/2007/05/31/mounting-a-windows-shared-folder-to-linux-system-automatically/</guid>
		<description><![CDATA[In a network environment with heterogeneous OSes, sometimes we need to access some files in another computer that uses different OS. As I often do when developing an application that will be used mostly by Windows users, I need to access some of their shared folders. This tutorial explains how to mount a Windows shared [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=12&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In a network environment with heterogeneous OSes, sometimes we need to access some files in another computer that uses different OS. As I often do when developing an application that will be used mostly by Windows users, I need to access some of their shared folders. This tutorial explains how to mount a Windows shared folder to a Linux directory automatically every time our Linux computer reboots.</p>
<p><span id="more-12"></span>For example:<br />
You want to mount a windows shared folder with the path <strong>//winserver/shared_folder</strong>.<br />
If you have an account in the windows computer with the username : <strong>aan</strong>, the complete username will be <strong>winserver\aan</strong>.<br />
If the computer is member of a domain, for instance <strong>MYCOMPANYDOMAIN</strong>, and you have an account in the domain with the username <strong>aan</strong>, the complete username will be <strong>mycompanydomain\aan</strong>.<br />
Note: the account has privilege to access the shared folder.</p>
<p><strong>Prepare a credentials file. </strong></p>
<p>It is a text file that contains a username and/or password of the above account with the format as follows:</p>
<p><span style="font-size:8pt;line-height:150%;font-family:'Courier New';">username = &lt;your_username&gt;<br />
password = &lt;your_password&gt;</span></p>
<p>For example:</p>
<p><span style="font-size:8pt;line-height:150%;font-family:'Courier New';">username = winserver\aan   #or mycompanydomain\aan if you use a domain account<br />
password = mysecret</span></p>
<p>Save the file in a safe directory. For example, you make a directory <strong>/etc/accounts</strong> and then you save the file there with the name <strong>winaccount</strong>.<br />
In order to prevent unauthorized access to the file, change the access permission so that only root can read the file. Use the following command:</p>
<p><span style="font-size:8pt;line-height:150%;font-family:'Courier New';">#sudo chmod 640 /etc/accounts/winaccount</span></p>
<p><strong>Make a mount point</strong><br />
This is the directory through which you will access your windows shared folder.<br />
For example : <strong>/mnt/winfolder</strong></p>
<p><strong>Edit /etc/fstab</strong></p>
<p><span style="font-size:8pt;line-height:150%;font-family:'Courier New';">#sudo vi /etc/fstab</span></p>
<p>Add one entry in the last row regarding to our mounting with the column rules:</p>
<p><span style="font-size:8pt;line-height:150%;font-family:'Courier New';">file system | mount point | type | options | dump | pass</span></p>
<p>For example, in this case:</p>
<p><span style="font-size:8pt;line-height:150%;font-family:'Courier New';">//winserver/shared_folder   /mnt/winfolder    smb    credentials=/etc/accounts/winaccount        0    0</span></p>
<p><strong>Reboot your system</strong><br />
Now, try to reboot your Linux and you will have your windows shared folder mounted automatically in <strong>/mnt/winfolder</strong>.</p>
<p>You can also manually mount the windows shared folder using one of the following commands:</p>
<p><span style="font-size:8pt;line-height:150%;font-family:'Courier New';">#sudo mount -t smbfs -o credentials=/etc/accounts/winaccount //winserver/shared_folder /mnt/winfolder<br />
</span></p>
<p>or</p>
<p><span style="font-size:8pt;line-height:150%;font-family:'Courier New';">#sudo smbmount //winserver/shared_folder /mnt/folder -o credentials=/etc/accounts/winaccount</span></p>
<p>NOTE:<br />
In order to mount a windows shared folder in Ubuntu, make sure that <strong>smbfs</strong> installed in your system.<br />
If not, do this command:</p>
<p><span style="font-size:8pt;line-height:150%;font-family:'Courier New';">#sudo apt-get install smbfs</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/aank76.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/aank76.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aank76.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aank76.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aank76.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aank76.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aank76.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aank76.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aank76.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aank76.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aank76.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aank76.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aank76.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aank76.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aank76.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aank76.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=12&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aank76.wordpress.com/2007/05/31/mounting-a-windows-shared-folder-to-linux-system-automatically/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e8d9dbd2cc589a03a91c58be0abeb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aank76</media:title>
		</media:content>
	</item>
		<item>
		<title>My Lovely Children</title>
		<link>http://aank76.wordpress.com/2007/05/30/my-lovely-children/</link>
		<comments>http://aank76.wordpress.com/2007/05/30/my-lovely-children/#comments</comments>
		<pubDate>Wed, 30 May 2007 17:05:21 +0000</pubDate>
		<dc:creator>aank76</dc:creator>
				<category><![CDATA[My Family]]></category>

		<guid isPermaLink="false">http://aank76.wordpress.com/2007/05/30/my-lovely-children/</guid>
		<description><![CDATA[These children make me enjoy my life as their parent.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=11&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>These children make me enjoy my life as their parent.<br />
<a href="http://aank76.wordpress.com/2007/05/30/my-lovely-children/my-pretty-daughter/" rel="attachment wp-att-9" title="My pretty daughter"><img src="http://aank76.files.wordpress.com/2007/05/medina.thumbnail.jpg?w=500" alt="My pretty daughter" /></a><a href="http://aank76.wordpress.com/2007/05/30/my-lovely-children/my-handsome-son/" rel="attachment wp-att-10" title="My handsome son"><img src="http://aank76.files.wordpress.com/2007/05/nabil.thumbnail.jpg?w=500" alt="My handsome son" /></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/aank76.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/aank76.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aank76.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aank76.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aank76.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aank76.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aank76.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aank76.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aank76.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aank76.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aank76.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aank76.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aank76.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aank76.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aank76.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aank76.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=11&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aank76.wordpress.com/2007/05/30/my-lovely-children/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e8d9dbd2cc589a03a91c58be0abeb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aank76</media:title>
		</media:content>

		<media:content url="http://aank76.files.wordpress.com/2007/05/medina.thumbnail.jpg" medium="image">
			<media:title type="html">My pretty daughter</media:title>
		</media:content>

		<media:content url="http://aank76.files.wordpress.com/2007/05/nabil.thumbnail.jpg" medium="image">
			<media:title type="html">My handsome son</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing hostname in Ubuntu</title>
		<link>http://aank76.wordpress.com/2007/05/30/changing-hostname-in-ubuntu/</link>
		<comments>http://aank76.wordpress.com/2007/05/30/changing-hostname-in-ubuntu/#comments</comments>
		<pubDate>Wed, 30 May 2007 11:48:01 +0000</pubDate>
		<dc:creator>aank76</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://aank76.wordpress.com/2007/05/30/changing-hostname-in-ubuntu/</guid>
		<description><![CDATA[To change hostname in Ubuntu, modify the file /etc/hostname. This file contains the host name. Change the old name with the new one and then save the file. Do the same thing for the file /etc/hosts. Run the script /etc/init.d/hostname.sh to make the changes effective or just reboot the host using the command shutdown -r [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=6&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To change hostname in Ubuntu, modify the file <span><span style="font-size:10pt;line-height:150%;font-family:'Courier New';">/etc/hostname</span></span>. This file contains the host name. Change the old name with the new one and then save the file. Do the same thing for the file <strong>/etc/hosts</strong>. Run the script <strong>/etc/init.d/hostname.sh</strong> to make the changes effective or just reboot the host using the command <span><span style="font-size:10pt;line-height:150%;font-family:'Courier New';">shutdown -r now</span></span>.</p>
<p>In Ubuntu, don&#8217;t forget to always use <span><span style="font-size:10pt;line-height:150%;font-family:'Courier New';">sudo &lt;<em>command</em>&gt;</span></span> to make critical changes on configuration since we usually do not use root account. So, the complete commands for changing hostname in Ubuntu are :<br />
<span><span style="font-size:10pt;line-height:150%;font-family:'Courier New';">prompt&gt;sudo vi /etc/hostname</span><span>  (change the old host name with the new one)<br />
<span><span style="font-size:10pt;line-height:150%;font-family:'Courier New';">prompt&gt;sudo vi /etc/hosts</span></span> (idem)<br />
<span><span style="font-size:10pt;line-height:150%;font-family:'Courier New';">prompt&gt;sudo /etc/init.d/hostname.sh</span></span> (make the changes effective)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/aank76.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/aank76.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aank76.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aank76.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aank76.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aank76.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aank76.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aank76.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aank76.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aank76.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aank76.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aank76.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aank76.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aank76.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aank76.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aank76.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=6&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aank76.wordpress.com/2007/05/30/changing-hostname-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e8d9dbd2cc589a03a91c58be0abeb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aank76</media:title>
		</media:content>
	</item>
		<item>
		<title>Mapping to Windows Shared Folder from Linux</title>
		<link>http://aank76.wordpress.com/2007/05/30/mapping-to-windows-shared-folder-from-linux/</link>
		<comments>http://aank76.wordpress.com/2007/05/30/mapping-to-windows-shared-folder-from-linux/#comments</comments>
		<pubDate>Wed, 30 May 2007 10:52:05 +0000</pubDate>
		<dc:creator>aank76</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://aank76.wordpress.com/2007/05/30/mapping-to-windows-shared-folder-from-linux/</guid>
		<description><![CDATA[I can open a shared folder of windows system from my ubuntu using this command line: sudo mount -t smbfs -o username=&#60;my_windows_account&#62; &#60;//path_to_the_shared_folder&#62; &#60;/mount_dir&#62; For example : The path of the shared folder is //myserver/mydir (use &#8216;/&#8217; instead of &#8216;\&#8217; in linux system) and the mount directory in my linux is /mnt/windir. My Windows domain [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=4&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I can open a shared folder of windows system from my ubuntu using this command line:
<p>
<span style="font-size:8pt;line-height:100%;font-family:'Courier New';">sudo mount -t smbfs -o username=&lt;<em>my_windows_account</em>&gt; &lt;//<em>path_to_the_shared_folder</em>&gt; &lt;/<em>mount_dir</em>&gt;</span></p>
<p>For example : The path of the shared folder is <strong>//myserver/mydir</strong> (use &#8216;/&#8217; instead of &#8216;\&#8217; in linux system) and the mount directory in my linux is <strong>/mnt/windir</strong>. My Windows domain is <strong>COMPANY</strong> and my account in the domain is <strong>aan</strong>. So, the command is :
<p><span style="font-size:8pt;line-height:150%;font-family:'Courier New';">sudo mount -t smbfs -o username=&#8221;company\aan&#8221; //myserver/mydir /mnt/windir</span></p>
<p>After I press &lt;Enter&gt;, the linux will prompt password, and I type my password in the COMPANY domain.</p>
<p>Another command that can be used to provide the same function is as follow:</p>
<p><span style="font-size:8pt;line-height:150%;font-family:'Courier New';">sudo smbmount //myserver/mydir /mnt/windir -o username=&#8221;company\aan&#8221;</span></p>
<p>Note:</p>
<p>We have to ensure that our ubuntu system has <strong>smbfs</strong> installed.</p>
<p>Use this command to install it:</p>
<p><span style="font-size:8pt;line-height:150%;font-family:'Courier New';">sudo apt-get install smbfs</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/aank76.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/aank76.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aank76.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aank76.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aank76.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aank76.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aank76.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aank76.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aank76.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aank76.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aank76.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aank76.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aank76.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aank76.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aank76.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aank76.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aank76.wordpress.com&amp;blog=1172643&amp;post=4&amp;subd=aank76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aank76.wordpress.com/2007/05/30/mapping-to-windows-shared-folder-from-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e8d9dbd2cc589a03a91c58be0abeb1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aank76</media:title>
		</media:content>
	</item>
	</channel>
</rss>
