{"id":484,"date":"2014-05-17T18:21:53","date_gmt":"2014-05-18T03:21:53","guid":{"rendered":"\/blog\/?p=484"},"modified":"2023-09-21T09:38:44","modified_gmt":"2023-09-21T00:38:44","slug":"openwrt-%eb%b9%8c%eb%93%9c%ed%99%98%ea%b2%bd-%ea%b5%ac%ec%b6%95-centos-6-5-x86_64","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=484","title":{"rendered":"OpenWRT \ube4c\ub4dc\ud658\uacbd \uad6c\ucd95 (CentOS 6.5 x86_64)"},"content":{"rendered":"\n<p><a href=\"\/index.php?module=file&amp;act=procFileDownload&amp;file_srl=2521&amp;sid=9f3b52b5008291122c2712a3749ab49c\">file-5.18.tar.gz<\/a><\/p><br \/><b><span style=\"font-family: Courier New; font-size: 10pt;\">1. \ube4c\ub4dc\uc5d0 \ud544\uc694\ud55c CentOS x86_64 \ud328\ud0a4\uc9c0 \uc124\uce58<\/span><\/b><br \/><br \/><span style=\"font-family: Courier New;\">#!\/bin\/sh<\/span><br \/><span style=\"font-family: Courier New;\">###########################################################<\/span><br \/><span style=\"font-family: Courier New;\">#<\/span><br \/><span style=\"font-family: Courier New;\"># \ud544\uc694\ud55c \ud328\ud0a4\uc9c0 \uc124\uce58 (\uae30\ubcf8)<\/span><br \/><span style=\"font-family: Courier New;\">#<\/span><br \/><span style=\"font-family: Courier New;\">###########################################################<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install arj<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install ftp<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install git<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install lrzsz<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install man<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install mc<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install ntsysv<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install p7zip<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install samba<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install svn<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install telnet<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install unrar<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install vsftpd<\/span><br \/><br \/><span style=\"font-family: Courier New;\">###########################################################<\/span><br \/><span style=\"font-family: Courier New;\">#<\/span><br \/><span style=\"font-family: Courier New;\"># EPEL \uc800\uc7a5\uc18c \uc124\uc815<\/span><br \/><span style=\"font-family: Courier New;\">#<\/span><br \/><span style=\"font-family: Courier New;\">###########################################################<\/span><br \/><span style=\"font-family: Courier New;\">sudo wget http:\/\/dl.fedoraproject.org\/pub\/epel\/6\/x86_64\/epel-release-6-8.noarch.rpm<\/span><br \/><span style=\"font-family: Courier New;\">sudo wget http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-6.rpm<\/span><br \/><span style=\"font-family: Courier New;\">sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm<\/span><br \/><span style=\"font-family: Courier New;\">sudo rm -f epel-release-6-8.noarch.rpm remi-release-6.rpm<\/span><br \/><br \/><span style=\"font-family: Courier New;\">###########################################################<\/span><br \/><span style=\"font-family: Courier New;\">#<\/span><br \/><span style=\"font-family: Courier New;\"># \ud544\uc694\ud55c \ud328\ud0a4\uc9c0 \uc124\uce58 (\uac1c\ubc1c)<\/span><br \/><span style=\"font-family: Courier New;\">#<\/span><br \/><span style=\"font-family: Courier New;\">###########################################################<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install bzr<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install ccache<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install glibc.i686<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install hg<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install json-c<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install json-c-devel<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install libgc<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install libstdc++.i686<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install ncurses*<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install python-magic<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install python-matplotlib<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install qemu*<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install tex4ht<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install xz-devel<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install zlib-devel<\/span><br \/><span style=\"font-family: Courier New;\">sudo yum -y install zlib.i686<\/span><br \/><br \/><br \/><b><span style=\"font-family: Courier New;\">2. file \uc720\ud2f8\ub9ac\ud2f0 \ube4c\ub4dc \ubc0f \uc124\uce58<\/span><\/b><br \/><br \/><span style=\"font-family: Courier New;\">Download : <a class=\"tx-link\" target=\"_blank\" href=\"ftp:\/\/ftp.astron.com\/pub\/file\/\" rel=\"noopener\">ftp:\/\/ftp.astron.com\/pub\/file\/<\/a> (v5.18\ub9cc \uac00\ub2a5-\ucca8\ubd80\ud30c\uc77c \ucc38\uc870)<\/span><br \/><br \/><span style=\"font-family: Courier New;\">#!\/bin\/sh<\/span><br \/><span style=\"font-family: Courier New;\">sudo rm -f \/usr\/lib64\/libmagic.*<\/span><br \/><span style=\"font-family: Courier New;\">sudo rm -f \/usr\/lib\/libmagic.*<\/span><br \/><span style=\"font-family: Courier New;\">sudo rm -f \/usr\/share\/misc\/magic*<\/span><br \/><span style=\"font-family: Courier New;\">sudo rm -f \/usr\/lib64\/python2.6\/site-packages\/magic.so<\/span><br \/><span style=\"font-family: Courier New;\">.\/configure --prefix=\/usr &amp;&amp; sudo make install<\/span><br \/><span style=\"font-family: Courier New;\">cd ~\/file-5.18\/python &amp;&amp; sudo python setup.py build<\/span><br \/><span style=\"font-family: Courier New;\">cd ~\/file-5.18\/python &amp;&amp; sudo python setup.py install<\/span><br \/><span style=\"font-family: Courier New;\">sudo ln -s \/usr\/lib\/libmagic.so.1.0.0 \/usr\/lib64\/libmagic.so.1.0.0<\/span><br \/><span style=\"font-family: Courier New;\">sudo ln -s \/usr\/lib\/libmagic.so.1.0.0 \/usr\/lib64\/libmagic.so.1<\/span><br \/><span style=\"font-family: Courier New;\">sudo ln -s \/usr\/lib\/libmagic.so.1.0.0 \/usr\/lib64\/libmagic.so<\/span><br \/><br \/><br \/><b><span style=\"font-family: Courier New;\">3. sdcc(small device c compiler) \ube4c\ub4dc \ubc0f \uc124\uce58<\/span><\/b><br \/><br \/><span style=\"font-family: Courier New;\">cvs -z3 -d:pserver:anonymous@sdcc.cvs.sourceforge.net:\/cvsroot\/sdcc co sdcc<\/span><br \/><br \/><span style=\"font-family: Courier New;\">.\/configure --prefix=\/usr<\/span><br \/><span style=\"font-family: Courier New;\">sudo make install<\/span><br \/><br \/><br \/><b><span style=\"font-family: Courier New;\">4. firmware-mod-kit \ube4c\ub4dc<\/span><\/b><br \/><br \/><span style=\"font-family: Courier New;\">firmware-mod-kit\ub294 bin \ud30c\uc77c\uc758 \ubd84\ud574\ub97c \uc704\ud574 \ud544\uc694.<\/span><br \/><br \/><span style=\"font-family: Courier New;\"><a class=\"tx-link\" target=\"_blank\" href=\"https:\/\/code.google.com\/p\/firmware-mod-kit\/\" rel=\"noopener\">https:\/\/code.google.com\/p\/firmware-mod-kit\/<\/a><\/span><br \/><br \/><span style=\"font-family: Courier New;\">tar -xvzf fmk_099.tar.gz<\/span><br \/><span style=\"font-family: Courier New;\">cd fmk\/src<\/span><br \/><span style=\"font-family: Courier New;\">.\/configure<\/span><br \/><span style=\"font-family: Courier New;\">make all<\/span><p><br \/><\/p>\n\n\n<div class=\"wp-block-file\"><a href=\"\/blog\/wp-content\/uploads\/cms_xe\/bin0133\">file-5.18.tar.gz<\/a><a href=\"\/blog\/wp-content\/uploads\/cms_xe\/bin0133\" class=\"wp-block-file__button\" download>\ub2e4\uc6b4\ub85c\ub4dc<\/a><\/div>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[21],"tags":[],"class_list":["post-484","post","type-post","status-publish","format-standard","hentry","category-development_openwrt"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=484"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/484\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}