{"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":"\u5728 Linux CentOS \u4e2d\u986f\u793a\u4e3b\u6a5f IP \u4f4d\u5740"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u60a8\u53ef\u4ee5\u900f\u904e\u5728\u63a7\u5236\u53f0\u4e2d\u8f38\u5165\u4ee5\u4e0b\u547d\u4ee4\u4f86\u53d6\u5f97 IP \u4f4d\u5740\uff1a<\/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\">\u5b83\u53ea\u986f\u793a\u4e3b\u6a5f\u7684\u4e00\u500b\u771f\u5be6IP\u4f4d\u5740<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u60a8\u53ef\u4ee5\u5728\u63a7\u5236\u53f0\u4e2d\u8f93\u5165IP\u5730\u5740\u3002<br \/>\n\u5b83[&hellip;]<\/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_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-559","tag-ip","tag-linuxip"],"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":"\u5728 Linux \u63a7\u5236\u53f0\u4e2d\u4ece Oracle \u6a21\u5f0f\u521b\u5efa\u8f6c\u50a8","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;\u5176\u4ed6\u7684&quot;","block_context":{"text":"\u5176\u4ed6\u7684","link":"https:\/\/vkrastev1blog.com\/category\/%e5%85%b6%e4%bb%96%e7%9a%84\/"},"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":1},"title":"\u5728\u9884\u88c5 Windows PC \u4f5c\u4e3a\u7b2c\u4e8c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u5b89\u88c5 Ubuntu \u540e\u5982\u4f55\u4fee\u590d Bootloader","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;\u5176\u4ed6\u7684&quot;","block_context":{"text":"\u5176\u4ed6\u7684","link":"https:\/\/vkrastev1blog.com\/category\/%e5%85%b6%e4%bb%96%e7%9a%84\/"},"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":2},"title":"\u5e38\u7528\u7684\u91cd\u8981 Shell \u811a\u672c\u547d\u4ee4","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;\u5176\u4ed6\u7684&quot;","block_context":{"text":"\u5176\u4ed6\u7684","link":"https:\/\/vkrastev1blog.com\/category\/%e5%85%b6%e4%bb%96%e7%9a%84\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2728,"url":"https:\/\/vkrastev1blog.com\/2026\/10\/14\/dark-energy-and-matter-in-the-universe-or-a-manifestation-of-the-power-of-the-lord-god\/","url_meta":{"origin":213,"position":3},"title":"\u5b87\u5b99\u4e2d\u7684\u6697\u80fd\u91cf\u548c\u7269\u8cea\u6216\u4e3b\u795e\u7684\u529b\u91cf\u7684\u9ad4\u73fe","author":"vkrastev2014","date":"14.10.2026","format":false,"excerpt":"Dark Energy and Matter in the Universe or a Manifestation of the Power of the Lord God? A Scientific and Philosophical Article from a Christian Perspective * Abstract Modern cosmology confronts humanity with one of the most profound questions about the nature of the Universe: What is dark energy and\u2026","rel":"","context":"In &quot;\u5c08\u9580\u8a0e\u8ad6\u8056\u7d93\u4ee5\u53ca\u9748\u6027\u548c\u8eab\u9ad4\u7684\u6587\u7ae0&quot;","block_context":{"text":"\u5c08\u9580\u8a0e\u8ad6\u8056\u7d93\u4ee5\u53ca\u9748\u6027\u548c\u8eab\u9ad4\u7684\u6587\u7ae0","link":"https:\/\/vkrastev1blog.com\/category\/%d1%81%d1%82%d0%b0%d1%82%d0%b8%d0%b8-%d0%bf%d0%be%d1%81%d0%b2%d0%b5%d1%82%d0%b5%d0%bd%d0%b8-%d0%bd%d0%b0-%d0%b1%d0%b8%d0%b1%d0%bb%d0%b8%d1%8f%d1%82%d0%b0-%d0%b8-%d0%b7%d0%b0-%d0%b4%d1%83%d1%85%d0%b0\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2026\/10\/xo6_pg-ni94xfas9mcsevoc5rsm-3ndbueqaerit8-kbwop9hmt9_pisdq8hdlb-iscvxzhcntdxkxck5rmvvbyo7dwh8pvxfpr-fbpaswu9q0dxfby1vdzsvp2jtvimtdk_izkfkdlzonebgctf0smxzzmu_nflb8z46tncnns81pr6hbzp7txac_.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2026\/10\/xo6_pg-ni94xfas9mcsevoc5rsm-3ndbueqaerit8-kbwop9hmt9_pisdq8hdlb-iscvxzhcntdxkxck5rmvvbyo7dwh8pvxfpr-fbpaswu9q0dxfby1vdzsvp2jtvimtdk_izkfkdlzonebgctf0smxzzmu_nflb8z46tncnns81pr6hbzp7txac_.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2026\/10\/xo6_pg-ni94xfas9mcsevoc5rsm-3ndbueqaerit8-kbwop9hmt9_pisdq8hdlb-iscvxzhcntdxkxck5rmvvbyo7dwh8pvxfpr-fbpaswu9q0dxfby1vdzsvp2jtvimtdk_izkfkdlzonebgctf0smxzzmu_nflb8z46tncnns81pr6hbzp7txac_.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2026\/10\/xo6_pg-ni94xfas9mcsevoc5rsm-3ndbueqaerit8-kbwop9hmt9_pisdq8hdlb-iscvxzhcntdxkxck5rmvvbyo7dwh8pvxfpr-fbpaswu9q0dxfby1vdzsvp2jtvimtdk_izkfkdlzonebgctf0smxzzmu_nflb8z46tncnns81pr6hbzp7txac_.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2026\/10\/xo6_pg-ni94xfas9mcsevoc5rsm-3ndbueqaerit8-kbwop9hmt9_pisdq8hdlb-iscvxzhcntdxkxck5rmvvbyo7dwh8pvxfpr-fbpaswu9q0dxfby1vdzsvp2jtvimtdk_izkfkdlzonebgctf0smxzzmu_nflb8z46tncnns81pr6hbzp7txac_.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2026\/10\/xo6_pg-ni94xfas9mcsevoc5rsm-3ndbueqaerit8-kbwop9hmt9_pisdq8hdlb-iscvxzhcntdxkxck5rmvvbyo7dwh8pvxfpr-fbpaswu9q0dxfby1vdzsvp2jtvimtdk_izkfkdlzonebgctf0smxzzmu_nflb8z46tncnns81pr6hbzp7txac_.jpg?resize=1400%2C800&ssl=1 4x"},"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}]}}