java, c# , linux, program devloper: Link 카테고리 글 목록http://blog1.phps.kr/blog.visualp.com2021-05-29T01:03:44+09:00Textcube 1.10.7 : Tempo primossh 타임아웃 설정java, tomcat, c#http://blog1.phps.kr/7492018-12-21T10:10:29+09:002018-12-21T10:10:23+09:00<span style="text-align: left; color: #444444; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Gentium Basic', Georgia, 'Times New Roman', Times, serif; font-size: 20px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">vi /etc/ssh/ssh_config<br /><span style="text-align: left; color: #444444; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Gentium Basic', Georgia, 'Times New Roman', Times, serif; font-size: 20px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">ServerAliveInterval 60<br />service sshd restart</span></span><p><strong><a href="http://blog1.phps.kr/749?commentInput=true#entry749WriteComment">댓글 쓰기</a></strong></p>linux memory optimize , 리눅스 메모리 최적화java, tomcat, c#http://blog1.phps.kr/6632017-01-24T09:17:38+09:002015-01-12T16:16:02+09:001. 서버를 운영하다보면, 시스템의 메모리가 꽉차서 ... 재시작 을 해야되는 상황이 생긴다.<br /> 해결책은 단순 하다 재부팅 (reboot)하면 되겠지만. 잘 운영되는 서버를 리붓 하기에는 서비스 지연이 생길 수 있고 부담이 발생한다.<br /> 그래서 버서가 느려진다면, 아래 명령어를 통해서 매모리를 최적화 시켜준다. <br /><br /> echo 1 >/proc/sys/vm/drop_caches<br /> echo 2 > /proc/sys/vm/drop_caches<br /> echo 3 > /proc/sys/vm/drop_caches<br /><br /><br />/usr/local/memory/memory_init.sh<br />chmod 755 ./memory_init.sh<br /><br />크론탭 등록<br />00 08 * * * root /usr/local/memory/memory_init.sh<br />00 12 * * * root /usr/local/memory/memory_init.sh<br />00 18 * * * root /usr/local/memory/memory_init.sh<br /><br />service crond restart<br /><br /><br /><p><strong><a href="http://blog1.phps.kr/663?commentInput=true#entry663WriteComment">댓글 쓰기</a></strong></p>오라클 12c 설치시 계정 생성java, tomcat, c#http://blog1.phps.kr/6302014-01-22T12:32:04+09:002014-01-22T12:32:02+09:00<P>In <A title="Installing Database 12c on Oracle Linux 6 in Virtual Box - Part 1" href="http://manchev.org/2013/08/installing-database-12c-on-oracle-linux-6-in-virtualbox-part-1/">Part 1</A> of the HOWTO we built the virtual machine and configured the Oracle Linux 6 operating systems. Here we continue with the Database 12c installation.</P>
<P>In order to install Database 12c your VM has to meet some prerequisites as outlined in the <A title="Oracle Database 12c - Installation Guide for Linux" href="http://docs.oracle.com/cd/E16655_01/install.121/e17720/toc.htm">Database Installation Guide for Linux</A>. Most of the pre-installation tasks can be completed by installing the 12cR1 Pre-install RPM. Let’s open a terminal console and install this package.</P><PRE>[root@ol6 ~]# <STRONG>yum install oracle-rdbms-server-12cR1-preinstall.x86_64</STRONG>
Loaded plugins: refresh-packagekit, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package oracle-rdbms-server-12cR1-preinstall.x86_64 0:1.0-8.el6 will be installed
...
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================================================================
Installing:
oracle-rdbms-server-12cR1-preinstall x86_64 1.0-8.el6 ol6_latest 15 k
Installing for dependencies:
compat-libcap1 x86_64 1.10-1 ol6_latest 17 k
compat-libstdc++-33 x86_64 3.2.3-69.el6 ol6_latest 183 k
gcc-c++ x86_64 4.4.7-3.el6 ol6_latest 4.7 M
ksh x86_64 20100621-19.el6_4.4 ol6_latest 686 k
libaio-devel x86_64 0.3.107-10.el6 ol6_latest 13 k
libstdc++-devel x86_64 4.4.7-3.el6 ol6_latest 1.6 M
Transaction Summary
===============================================================================================================================================================================================================
Install 7 Package(s)
Total download size: 7.2 M
Installed size: 23 M
Is this ok [y/N]: <STRONG>y</STRONG>
Downloading Packages:
(1/7): compat-libcap1-1.10-1.x86_64.rpm | 17 kB 00:00
...
Installed:
oracle-rdbms-server-12cR1-preinstall.x86_64 0:1.0-8.el6
Dependency Installed:
compat-libcap1.x86_64 0:1.10-1 compat-libstdc++-33.x86_64 0:3.2.3-69.el6 gcc-c++.x86_64 0:4.4.7-3.el6 ksh.x86_64 0:20100621-19.el6_4.4 libaio-devel.x86_64 0:0.3.107-10.el6
libstdc++-devel.x86_64 0:4.4.7-3.el6
Complete!
[root@ol6 ~]#</PRE>
<P>The pre-install RPM automatically creates the Oracle software owner account (named <EM>oracle</EM>). Let’s set a password for the account.</P><PRE>[root@ol6 ~]# <STRONG>passwd oracle</STRONG>
Changing password for user oracle.
New password:
BAD PASSWORD: it is based on a dictionary word
Retype new password:
passwd: all authentication tokens updated successfully.
[root@ol6 ~]#</PRE>
<P>Next you need to create the Oracle base and the Oracle inventory directories:</P><PRE>[root@ol6 ~]# <STRONG>mkdir -p /u01/app/oracle</STRONG>
[root@ol6 ~]# <STRONG>chown -R oracle:oinstall /u01/app/oracle/</STRONG>
[root@ol6 ~]# <STRONG>chmod -R 775 /u01/app/oracle/</STRONG>
[root@ol6 ~]#
[root@ol6 ~]# <STRONG>mkdir -p /u01/app/oraInventory</STRONG>
[root@ol6 ~]# <STRONG>chown -R oracle:oinstall /u01/app/oraInventory/</STRONG>
[root@ol6 ~]# <STRONG>chmod -R 775 /u01/app/oraInventory/</STRONG></PRE>
<P>Time to switch to the <EM>oracle</EM> user. Logout from your current session and login back as <EM>oracle</EM>.</P>
<P>You will need the Database 12c Release 1 installation for Linux. Start the internet browser inside your virtual machine and go to the <A title="Database download section at OTN" href="http://www.oracle.com/technetwork/database/enterprise-edition/downloads/database12c-linux-download-1959253.html">Database download section of OTN</A>.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_55.png"><IMG class="aligncenter size-medium wp-image-876" alt=db12c_install_55 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_55-300x174.png" width=300 height=174></A></P>
<P>Download the two zip files to a convenient location (<EM>/home/oracle</EM> will do nicely). After both files are in place use unzip to extract their contents.</P><PRE>[root@ol6 ~]$<STRONG> unzip /home/oracle/*.zip</STRONG></PRE>
<P>Run the Oracle Universal Installer by executing:</P><PRE>[root@ol6 ~]$ <STRONG>/home/oracle/database/runInstaller.sh</STRONG></PRE>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_56.png"><IMG class="aligncenter size-medium wp-image-877" alt=db12c_install_56 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_56-300x225.png" width=300 height=225></A></P>
<P>As this is a test installation you do not have to register it with Oracle Support. Uncheck the “I wish to receive security updates via Oracle Support” box and click Next.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_57.png"><IMG class="aligncenter size-medium wp-image-878" alt=db12c_install_57 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_57-300x225.png" width=300 height=225></A></P>
<P>Select “Skip software updates” and click Next.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_58.png"><IMG class="aligncenter size-medium wp-image-879" alt=db12c_install_58 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_58-300x225.png" width=300 height=225></A></P>
<P>Select “Create and configure a database” and click Next.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_59.png"><IMG class="aligncenter size-medium wp-image-880" alt=db12c_install_59 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_59-300x225.png" width=300 height=225></A></P>
<P>Select “Server class” and click Next.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_60.png"><IMG class="aligncenter size-medium wp-image-881" alt=db12c_install_60 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_60-300x225.png" width=300 height=225></A></P>
<P>Make sure the installation type is set to “Single instance” and click Next.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_61.png"><IMG class="aligncenter size-medium wp-image-882" alt=db12c_install_61 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_61-300x225.png" width=300 height=225></A></P>
<P>Select “Advanced install” and click Next.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_62.png"><IMG class="aligncenter size-medium wp-image-883" alt=db12c_install_62 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_62-300x225.png" width=300 height=225></A></P>
<P>Select English for your product language and click Next.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_63.png"><IMG class="aligncenter size-medium wp-image-884" alt=db12c_install_63 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_63-300x225.png" width=300 height=225></A></P>
<P>Set the edition to Enterprise and click Next.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_64.png"><IMG class="aligncenter size-medium wp-image-885" alt=db12c_install_64 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_64-300x225.png" width=300 height=225></A></P>
<P>Set the Oracle base to <EM>/u01/app/oracle</EM> and the Oracle home to <EM>/u01/app/oracle/product/12.1.0/dbhome_1</EM>.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_65.png"><IMG class="aligncenter size-medium wp-image-886" alt=db12c_install_65 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_65-300x225.png" width=300 height=225></A></P>
<P>Set the inventory directory to <EM>/u01/app/oraInventory</EM> and the inventory owner to <EM>oinstall</EM>.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_66.png"><IMG class="aligncenter size-medium wp-image-887" alt=db12c_install_66 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_66-300x225.png" width=300 height=225></A></P>
<P>Set the database type to General Purpose and click Next.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_67.png"><IMG class="aligncenter size-medium wp-image-888" alt=db12c_install_67 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_67-300x225.png" width=300 height=225></A></P>
<P>Set the database name and SID to <EM>orcl</EM> and uncheck the “Create as Container database” option.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_68.png"><IMG class="aligncenter size-medium wp-image-889" alt=db12c_install_68 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_68-300x225.png" width=300 height=225></A></P>
<P>Leave the memory settings by default and go to the Character sets tab.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_69.png"><IMG class="aligncenter size-medium wp-image-890" alt=db12c_install_69 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_69-300x225.png" width=300 height=225></A></P>
<P>Set the database character set to Unicode (AL32UTF8).</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_70.png"><IMG class="aligncenter size-medium wp-image-891" alt=db12c_install_70 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_70-300x225.png" width=300 height=225></A></P>
<P>At the Sample schemas tab select the “Create database with sample schemas”. This will install some sample data that you can experiment with.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_71.png"><IMG class="aligncenter size-medium wp-image-892" alt=db12c_install_71 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_71-300x225.png" width=300 height=225></A></P>
<P>Select File system as the database storage option and set the path to <EM>/u01/app/oracle/oradata</EM>.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_72.png"><IMG class="aligncenter size-medium wp-image-893" alt=db12c_install_72 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_72-300x225.png" width=300 height=225></A></P>
<P>You have no Cloud Control installation in this test setup, so skip the registration and click Next.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_73.png"><IMG class="aligncenter size-medium wp-image-894" alt=db12c_install_73 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_73-300x225.png" width=300 height=225></A></P>
<P>Do not enable the archivelog mode. Click Next.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_74.png"><IMG class="aligncenter size-medium wp-image-895" alt=db12c_install_74 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_74-300x225.png" width=300 height=225></A></P>
<P>Select “Use the same password for all accounts” and set the system password for your database.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_75.png"><IMG class="aligncenter size-medium wp-image-896" alt=db12c_install_75 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_75-300x225.png" width=300 height=225></A></P>
<P>Set all the groups to <EM>dba</EM> and click Next.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_76.png"><IMG class="aligncenter size-medium wp-image-897" alt=db12c_install_76 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_76-300x225.png" width=300 height=225></A></P>
<P>The installer presents you with a summary of the upcoming installation. Click Install.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_77.png"><IMG class="aligncenter size-medium wp-image-898" alt=db12c_install_77 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_77-300x225.png" width=300 height=225></A></P>
<P>Give the installer some time to copy the oracle binaries to the specified location.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_78.png"><IMG class="aligncenter size-medium wp-image-899" alt=db12c_install_78 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_78-300x211.png" width=300 height=211></A></P>
<P>At some point you will be asked to execute a pair of configuration scripts. Open a terminal console, become root and run the scripts in the specified order.</P><PRE>[oracle@ol6 ~]$ <STRONG>su -</STRONG>
Password:
[root@ol6 ~]# <STRONG>/u01/app/oraInventory/orainstRoot.sh</STRONG>
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
[root@ol6 ~]# <STRONG>/u01/app/oracle/product/12.1.0/dbhome_1/root.sh</STRONG>
Performing root user operation for Oracle 12c
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/12.1.0/dbhome_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
[root@ol6 ~]# </PRE>
<P>Close the terminal and click OK in the Execute configuration scripts dialog.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_79.png"><IMG class="aligncenter size-medium wp-image-900" alt=db12c_install_79 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_79-300x211.png" width=300 height=211></A></P>
<P>After the database binaries are in place the installer will launch the Database Configuration Assistant (DBCA). The assistant will create the <EM>orcl</EM> database and will insert the sample data into it.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_80.png"><IMG class="aligncenter size-medium wp-image-901" alt=db12c_install_80 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_80-300x200.png" width=300 height=200></A></P>
<P>When DBCA completes it will display a dialog with the address of your Enterprise Manager console. Take a note of the URL and click OK.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_81.png"><IMG class="aligncenter size-medium wp-image-902" alt=db12c_install_81 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_81-300x225.png" width=300 height=225></A></P>
<P>The installation is now completed. Click Close to exit the installer.</P>
<P>Open a browser and type in the Enterprise Manager URL.</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_82.png"><IMG class="aligncenter size-medium wp-image-903" alt=db12c_install_82 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_82-300x199.png" width=300 height=199></A></P>
<P>Login as user <EM>system</EM> (use the system password you set during the database installation).</P>
<P><A href="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_83.png"><IMG class="aligncenter size-medium wp-image-904" alt=db12c_install_83 src="http://manchev.org/manchev/wp-content/uploads/2013/08/db12c_install_83-300x198.png" width=300 height=198></A></P>
<P>You can see your Database 12c up and running.</P><p><strong><a href="http://blog1.phps.kr/630?commentInput=true#entry630WriteComment">댓글 쓰기</a></strong></p>리눅스 하드디스크 추가장착 하기java, tomcat, c#http://blog1.phps.kr/1122009-09-02T17:41:47+09:002009-08-31T14:43:41+09:00<SPAN id=blogspan><BR>1. / 파티션의 용량이 거의 없어 증설을 해야 함.
<DIV class=line>
<DIV style="WORD-WRAP: break-word; OVERFLOW: hidden; WORD-BREAK: break-all" class=knCnt01>
<P>2. 늘어나는 디렉토리는 /home 과 /usr 임</P>
<P>3. /var 의 용량을 너무 과다하게 잡음 (다른 쪽으로 돌리거나 합쳤으면 함)</P>
<br />
<P>하드를 구매하신다고 하셨으니 /dev/sdb 로 붙겠죠. (/dev/hda, hdb로 붙을수도 있고)</P>
<P>/dev/sdb로 붙는 가정하에 설명을 드리겠습니다.</P>
<br />
<P>일단은 하드를 붙이는 작업 해야겠죠.</P>
<br />
<P>PART 1. disk 추가 작업</P>
<br />
<P>1. computer의 전원을 끈다. (init 0, or # poweroff)</P>
<P>2. disk를 slave (jumper 조절)로 두고 케이블 연결한다. </P>
<P>3. 전원을 켠다. </P>
<P>4. # fdisk -l 로 보면 /dev/sdb (or hda, hdb)등으로 붙은 것을 확인하실 수 있습니다.</P>
<br />
<P>PART 2. 파티셔닝 작업</P>
<br />
<P>개요. 이 부분이 문제가 되는데요. 생각해 봐야 할 것이 새로 붙인 파티션을 어디다가</P>
<P>둘 것인가가 문제가 될 것입니다. 새로 하드 디스크를 만드시는 것이니 아마 못해도</P>
<P>20~ 30기가 정도는 되는 하드 디스크라 생각됩니다. </P>
<P>제가 만일 같은 시스템에 구성을 하게 된다면 새로 생성하는 디스크에 3개의 파티션을</P>
<P>두겠습니다. /home, /usr, /var </P>
<P>이렇게 두고 지금 있는 20기가의 (/var) 공간은 백업으로 두면 어떨까 싶습니다.</P>
<P>다른 방법은 저 20기가 부분을 /home으로 둘수도 있는데 그건 잠시 후에 설명을 드리겠습니다.</P>
<br />
<P>1. 디스크 파티셔닝을 합니다. (가정 : /home = 20G, /usr= 20G로 잡음, 물론 사이즈 변경 가능)</P>
<P># fdisk /dev/sdb</P>
<P>Command (m for help): p (화면에 파티션 내용이 표시됩니다. 하나도 없기 때문에 아무 내용도 없습니다. 만일 있다면 지워 줍니다.)</P>
<P>Command (m for help): n (새로 공간을 추가합니다.)</P>
<P>Command action<BR> e extended<BR> p primary partition (1-4)<BR></P>
<P>p 를 입력합니다. (기본 파티션에 할당해야 합니다. )</P>
<P>Partition number (1-4): 1 (첫번째 파티션에 할당합니다. )</P>
<P>First cylinder (1-29660, default 1): (1번 실린더부터 시작입니다. default가 1이라 그냥엔터입력)</P>
<P>Last cylinder or +size or +sizeM or +sizeK (1-29660, default 29660): +20g (+20g라고 입력하고 엔터를 칩니다.) 20기가 용량을 사용하겠다는 이야기입니다.)</P>
<P>다시 p로 확인해 보면 20기가가 생성이 된 것을 보실 수 있습니다.</P>
<br />
<P>이런 식으로 다른 파티션도 잡아 줍니다.</P>
<P>지금 생성하고자 하는 볼륨은 3개 입니다. (/home, /usr, /var) </P>
<P>따라서 primary 파티션에 3번까지 쓸 수 있습니다. </P>
<P>모든 파티션을 primary로 사용한다면 4개까지밖에 생성할 수 없습니다. </P>
<P>만일 디스크 용량이 많아 더 많은 파티션을 추가로 할 수 있다면 3번 primary 이후에 4번을 extention으로 주셔야 합니다. (그래야 16개까지 사용할 수 있습니다.)</P>
<br />
<P>파티셔닝이 되었고 disk가 /dev/sdb1 = 20g, /dev/sdb2=15g, /dev/sdb3=5g 정도로 </P>
<P>잡혀 있다고 가정을 합니다.</P>
<br />
<P>2. 포맷 </P>
<br />
<P>리눅스에서 사용하기 위해서 포맷을 합니다. </P>
<P># mkfs.ext3 /dev/sdb1</P>
<P># mkfs.ext3 /dev/sdb2</P>
<P># mkfs.ext3 /dev/sdb3</P>
<br />
<P>PART 3. 디스크 복사 작업</P>
<br />
<P>일단 /home 부터 작업을 합니다. </P>
<br />
<P>1. mkdir /home2 // (처음 20기가를 마운트해서 copy할 공간을 만들어 줍니다.)</P>
<P>2. mount -t ext3 /dev/sdb1 /home2 // (ext3로 포맷된 디스크 볼륨 sdb1을 /home2에 마운트)</P>
<P>3. df -h 로 확인해 보시면 마운트 되어 있는 것을 확인하실 수 있습니다.</P>
<P>4. copy 작업</P>
<P># cp -aruv /home/* /home2/ // (홈 디렉토리 밑에 있는 모든 파일과 디렉토리들을 권한을 유지하여 /home2 밑으로 복사합니다.)</P>
<P>5. 이름 변경 작업 </P>
<P># mv /home /home_bak // ( /home2를 /home으로 옮기기 위해 기존에 있는 /home을 변경합니다.)</P>
<P>6. # mv /home2 /home // (home2디렉토리를 /home으로 변경합니다.)</P>
<P>7. 이제 부팅해도 자동으로 마운트를 시키기 위해 /etc/fstab에 등록해 줍니다.</P>
<P># vi /etc/fstab</P>
<P> /dev/sdb1 /home ext3 defaults 1 1 요렇게 한줄 추가시켜 줍니다.</P>
<P>이렇게 하면 부팅 후에도 /home은 자동으로 올라오게 됩니다.
<DIV class=autosourcing-stub>
<P style="PADDING-BOTTOM: 0px; FONT-STYLE: normal; MARGIN: 11px 0px 7px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: Dotum; FONT-SIZE: 12px; FONT-WEIGHT: normal; PADDING-TOP: 0px"><STRONG style="PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 7px; PADDING-TOP: 0px">[출처]</STRONG> <A href="http://blog.naver.com/johyun/130020107402" target=_blank>리눅스 하드 추가 (마운트) 및 파티션 재할당 어떻게 해야하나요?</A><SPAN style="PADDING-BOTTOM: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 7px; PADDING-TOP: 0px">|</SPAN><STRONG style="PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 7px; PADDING-TOP: 0px">작성자</STRONG> <A href="http://blog.naver.com/johyun" target=_blank>하늘빛</A></P></DIV>
</DIV></DIV></SPAN><p><strong><a href="http://blog1.phps.kr/112?commentInput=true#entry112WriteComment">댓글 쓰기</a></strong></p>무료음악 들을 수있는 사이트java, tomcat, c#http://blog1.phps.kr/1092009-08-25T12:58:50+09:002009-08-25T12:57:22+09:00<A href="http://www.jango.com">http://www.jango.com</A><BR><BR>무료로 음악을 들을 수 있으며, 다운로드는 불가능.<BR>flashplay 로 음악 링크가 된다.<p><strong><a href="http://blog1.phps.kr/109?commentInput=true#entry109WriteComment">댓글 쓰기</a></strong></p>웹접근성 검사 툴(Selecting Web Accessibility Evaluation Tools)java, tomcat, c#http://blog1.phps.kr/952009-07-28T09:10:32+09:002009-07-28T09:10:08+09:00<A href="http://www.w3.org/WAI/eval/selectingtools">http://www.w3.org/WAI/eval/selectingtools</A><BR>w3c.org에 등록 되어있는 웹접근성 툴 리스트<p><strong><a href="http://blog1.phps.kr/95?commentInput=true#entry95WriteComment">댓글 쓰기</a></strong></p>http://actionscript.orgjava, tomcat, c#http://blog1.phps.kr/882009-07-18T11:45:39+09:002009-07-18T11:45:36+09:00<P><A href="http://actionscript.org">http://actionscript.org</A> <BR>flash action script 관련 예제 자료들이 많이 있음</P><p><strong><a href="http://blog1.phps.kr/88?commentInput=true#entry88WriteComment">댓글 쓰기</a></strong></p>ajax Tutorialjava, tomcat, c#http://blog1.phps.kr/282009-07-17T20:24:33+09:002009-07-17T20:24:24+09:00<A href="http://www.w3schools.com/Ajax/" target=_blank><U><FONT color=#0066cc>http://www.w3schools.com/Ajax/</FONT></U></A>
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD vAlign=top width=150><IMG border=0 alt=picture src="http://www.w3schools.com/html/compteacher.jpg"></TD>
<TD style="FONT-WEIGHT: bold" vAlign=top>AJAX stands for <B>A</B>synchronous <B>J</B>avaScript <B>A</B>nd <B>X</B>ML. AJAX is a type of programming made popular in 2005 by Google (with Google Suggest). AJAX is not a new programming language, but a new way to use existing standards. With AJAX you can create better, faster, and more user-friendly web applications. AJAX is based on JavaScript and HTTP requests. <A href="http://www.w3schools.com/Ajax/ajax_intro.asp"><B>Start learning AJAX now!</B></A> </TD></TR></TBODY></TABLE><p><strong><a href="http://blog1.phps.kr/28?commentInput=true#entry28WriteComment">댓글 쓰기</a></strong></p>