{"id":213,"date":"2022-04-29T15:17:00","date_gmt":"2022-04-29T15:17:00","guid":{"rendered":"https:\/\/vkrastev1blog.com\/?p=213"},"modified":"2026-10-19T12:20:05","modified_gmt":"2026-10-19T12:20:05","slug":"show-host-ip-address-in-linux-centos","status":"publish","type":"post","link":"https:\/\/vkrastev1blog.com\/2022\/04\/29\/show-host-ip-address-in-linux-centos\/","title":{"rendered":"Hi\u00e1\u00bb\u0192n th\u00e1\u00bb\u2039 \u00c4\u2018\u00e1\u00bb\u2039a ch\u00e1\u00bb\u2030 IP m\u00c3\u00a1y ch\u00e1\u00bb\u00a7 trong Linux CentOS"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">B\u00e1\u00ba\u00a1n c\u00c3\u00b3 th\u00e1\u00bb\u0192 l\u00e1\u00ba\u00a5y \u00c4\u2018\u00e1\u00bb\u2039a ch\u00e1\u00bb\u2030 IP b\u00e1\u00ba\u00b1ng c\u00c3\u00a1ch g\u00c3\u00b5 l\u00e1\u00bb\u2021nh sau trong b\u00e1\u00ba\u00a3ng \u00c4\u2018i\u00e1\u00bb\u0081u khi\u00e1\u00bb\u0192n:<\/p>\n\n\n<div class=\"wp-block-code\">\n\t<div class=\"cm-editor\">\n\t\t<div class=\"cm-scroller\">\n\t\t\t\n<pre>\n<code><div class=\"cm-line\">hostname -i<\/div><\/code><\/pre>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">v\u00c3\u00a0 n\u00c3\u00b3 ch\u00e1\u00bb\u2030 hi\u00e1\u00bb\u0192n th\u00e1\u00bb\u2039 ch\u00c3\u00adnh x\u00c3\u00a1c m\u00e1\u00bb\u2122t \u00c4\u2018\u00e1\u00bb\u2039a ch\u00e1\u00bb\u2030 IP th\u00e1\u00bb\u00b1c c\u00e1\u00bb\u00a7a m\u00c3\u00a1y ch\u00e1\u00bb\u00a7<\/p>\n","protected":false},"excerpt":{"rendered":"<p>B\u00e1 \u00a1n c\u00c3\u00b3 th\u00e1\u00bb\u0192 l\u00e1\u00ba\u00a5y \u00c4\u2018\u00e1\u00bb\u2039a ch\u00e1\u00bb\u2030 IP b\u00e1\u00ef\u00b1ng c\u00c3\u00a1ch g\u00c3\u00b5 l\u00e1\u00bb\u2021nh s\u00e1u trong b\u1ea1n \u00c4&#8217;i\u00e1\u00bb\u00f2u khi\u00e1\u00bb\u0192n: v\u00e0 n\u00c3\u00b3 ch\u00e1\u00bb\u2030 hi\u00e1\u00bb\u0192n th\u00e1\u00bb\u2039 ch\u00c3nh x\u00c3\u00a1c m\u00e1\u00bb\u2122t \u00c4\u2018\u00e1\u00bb\u2039a ch\u00e1\u00bb\u2030 IP th\u00e1\u00bb\u00b1c c\u00e1\u00bb\u00a7a m\u00c3\u00a1y ch\u00e1\u00bb\u00a7<\/p>\n","protected":false},"author":65283547,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","jetpack_seo_llms_txt_always_include":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[559],"tags":[73692715,267172,748367502],"class_list":["post-213","post","type-post","status-publish","format-standard","hentry","category-cac-bai-viet-ve-tat-ca-cac-chu-de-khac-khong-thuoc-cac-chu-de-chinh","tag-ip-may-chu","tag-dia-chi-ip","tag-ip-may-chu-linux"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4CoHV-3r","jetpack-related-posts":[{"id":174,"url":"https:\/\/vkrastev1blog.com\/2022\/02\/08\/create-dump-from-oracle-schema-in-console-in-linux\/","url_meta":{"origin":213,"position":0},"title":"T\u00e1\u00ba\u00a1o k\u00e1\u00ba\u00bft xu\u00e1\u00ba\u00a5t t\u00e1\u00bb\u00ab \u00e2\u20ac\u2039\u00e2\u20ac\u2039l\u00c6\u00b0\u00e1\u00bb\u00a3c \u00c4\u2018\u00e1\u00bb\u201c Oracle trong b\u00e1\u00ba\u00a3ng \u00c4\u2018i\u00e1\u00bb\u0081u khi\u00e1\u00bb\u0192n trong Linux","author":"vkrastev2014","date":"08.02.2022","format":false,"excerpt":"It is not easy to find the correct way to execute expdp command in console. There are some steps before you execute expdp command. First you have to create a directory on the computer where Oracle DB is, where you will put the dump files than you have to grant\u2026","rel":"","context":"In &quot;C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh&quot;","block_context":{"text":"C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh","link":"https:\/\/vkrastev1blog.com\/category\/cac-bai-viet-ve-tat-ca-cac-chu-de-khac-khong-thuoc-cac-chu-de-chinh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":55,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/11\/important-shell-script-commands-which-are-oft-used\/","url_meta":{"origin":213,"position":1},"title":"C\u00c3\u00a1c l\u00e1\u00bb\u2021nh Shell script quan tr\u00e1\u00bb\u008dng th\u00c6\u00b0\u00e1\u00bb\u009dng \u00c4\u2018\u00c6\u00b0\u00e1\u00bb\u00a3c s\u00e1\u00bb\u00ad d\u00e1\u00bb\u00a5ng","author":"vkrastev2014","date":"11.05.2014","format":false,"excerpt":"Here is a list of some important shell commands: ---- Using Screen command screen -ls -- for a list of avaliable active screens screen -x .... - the Name from -ls output to join to this active screen Go out of the Screen with 'ctrl a+d' without stopping it ----\u2026","rel":"","context":"In &quot;C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh&quot;","block_context":{"text":"C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh","link":"https:\/\/vkrastev1blog.com\/category\/cac-bai-viet-ve-tat-ca-cac-chu-de-khac-khong-thuoc-cac-chu-de-chinh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/09\/how-to-repair-bootloader-after-installing-ubuntu-on-preinstalled-windows-pc-als-second-operating-system\/","url_meta":{"origin":213,"position":2},"title":"C\u00c3\u00a1ch s\u00e1\u00bb\u00ada Bootloader sau khi c\u00c3\u00a0i \u00c4\u2018\u00e1\u00ba\u00b7t Ubuntu tr\u00c3\u00aan PC Windows \u00c4\u2018\u00c6\u00b0\u00e1\u00bb\u00a3c c\u00c3\u00a0i \u00c4\u2018\u00e1\u00ba\u00b7t s\u00e1\u00ba\u00b5n l\u00c3\u00a0m h\u00e1\u00bb\u2021 \u00c4\u2018i\u00e1\u00bb\u0081u h\u00c3\u00a0nh th\u00e1\u00bb\u00a9 hai","author":"vkrastev2014","date":"09.05.2014","format":false,"excerpt":"I used this many times as the bootloader gone corrupted after the install and it was only possible to start in Linux but not in Windows after the Linux install. So you should do following to get it right. Execute following commands in Linux: ------------------------------------------------------------------------------------- sudo add-apt-repository ppa:yannubuntu\/boot-repair sudo apt-get\u2026","rel":"","context":"In &quot;C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh&quot;","block_context":{"text":"C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh","link":"https:\/\/vkrastev1blog.com\/category\/cac-bai-viet-ve-tat-ca-cac-chu-de-khac-khong-thuoc-cac-chu-de-chinh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":163,"url":"https:\/\/vkrastev1blog.com\/2022\/02\/01\/htaccess-rewrite-mode-how-to-exclude-directory-from-rewrite-rule\/","url_meta":{"origin":213,"position":3},"title":"Ch\u00e1\u00ba\u00bf \u00c4\u2018\u00e1\u00bb\u2122 ghi l\u00e1\u00ba\u00a1i .htaccess &#8211; c\u00c3\u00a1ch lo\u00e1\u00ba\u00a1i tr\u00e1\u00bb\u00ab th\u00c6\u00b0 m\u00e1\u00bb\u00a5c kh\u00e1\u00bb\u008fi quy t\u00e1\u00ba\u00afc ghi l\u00e1\u00ba\u00a1i","author":"vkrastev2014","date":"01.02.2022","format":false,"excerpt":"119 Put a .htaccess file containing RewriteEngine Off In the folders you want to exclude from being rewritten by the rules in a .htaccess file that's higher up in the tree.\u00a0","rel":"","context":"In &quot;C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh&quot;","block_context":{"text":"C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh","link":"https:\/\/vkrastev1blog.com\/category\/cac-bai-viet-ve-tat-ca-cac-chu-de-khac-khong-thuoc-cac-chu-de-chinh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":167,"url":"https:\/\/vkrastev1blog.com\/2022\/02\/01\/sql-developer-execute-big-sql-files-scripts-in-sql-developer\/","url_meta":{"origin":213,"position":4},"title":"Nh\u00c3\u00a0 ph\u00c3\u00a1t tri\u00e1\u00bb\u0192n SQL &#8211; th\u00e1\u00bb\u00b1c thi c\u00c3\u00a1c t\u00e1\u00bb\u2021p\/t\u00e1\u00ba\u00adp l\u00e1\u00bb\u2021nh .sql l\u00e1\u00bb\u203an trong SQL Developer","author":"vkrastev2014","date":"01.02.2022","format":false,"excerpt":"SQL Developer - execute big .sql files\/scripts in SQL Developer Open SQL Developer than press Alt - F10 and it will show you a Choose Connection dialog. Choose a Connection and it opens a SQL Editor for that connection. Write in it just @C:\\Users\\KrastevV\\Project\\sql.sql Sign @ followed by the Path\u2026","rel":"","context":"In &quot;C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh&quot;","block_context":{"text":"C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh","link":"https:\/\/vkrastev1blog.com\/category\/cac-bai-viet-ve-tat-ca-cac-chu-de-khac-khong-thuoc-cac-chu-de-chinh\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2022\/02\/bild.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2022\/02\/bild.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2022\/02\/bild.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2022\/02\/bild.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":104,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/18\/skyscanner-one-very-usefull-mobile-app-for-finding-flights-info\/","url_meta":{"origin":213,"position":5},"title":"Skyscanner m\u00e1\u00bb\u2122t \u00e1\u00bb\u00a9ng d\u00e1\u00bb\u00a5ng di \u00c4\u2018\u00e1\u00bb\u2122ng r\u00e1\u00ba\u00a5t h\u00e1\u00bb\u00afu \u00c3\u00adch \u00c4\u2018\u00e1\u00bb\u0192 t\u00c3\u00acm ki\u00e1\u00ba\u00bfm th\u00c3\u00b4ng tin chuy\u00e1\u00ba\u00bfn bay","author":"vkrastev2014","date":"18.05.2014","format":false,"excerpt":"Skyscanner one very usefull mobile app for finding flights info Search in your AppStore or in the Adroid app store for this very usefull app skyscanner. It can be used to find Information for the flights to destinations all over the world. It shows all flights sorted by Price from\u2026","rel":"","context":"In &quot;C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh&quot;","block_context":{"text":"C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh","link":"https:\/\/vkrastev1blog.com\/category\/cac-bai-viet-ve-tat-ca-cac-chu-de-khac-khong-thuoc-cac-chu-de-chinh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/users\/65283547"}],"replies":[{"embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/comments?post=213"}],"version-history":[{"count":4,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/213\/revisions"}],"predecessor-version":[{"id":2818,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/213\/revisions\/2818"}],"wp:attachment":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/media?parent=213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/categories?post=213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/tags?post=213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}