Archive

Archive for 9 月, 2019

How to upgrade eXR by one cmd “install replaced” | NCS5500

Awesome upgrade cmd for eXR, that will help customer simplify upgrade procedure and do upgrade automation! Feature release from 652. Just tested and summarized.

I summarized normal upgrade eXR version by install add/prepare/active at former: Upgrade/Install Packages in eXR. For the article, will summary how to upgrade by install replaced.

“Install replaced” is a new cmd that help customer upgrade only by one cmd, don’t need to add/prepare/active steps, that only support by GISO. What is GISO? That is an image bundle, customer can flexibly customize the image, e.g only bundle: ISIS rpm + mini iso + k9 rpm + configuration to one GISO, more GISO information, please check CCO Doc: Flexible Packaging Configuration Guide for Cisco NCS 5500 Series Routers

PS: “Install replaced” that will not affect running configuration, and auto removes inactive rpm, and commit.

Build GISO

完整阅读

被恶意注入钓鱼网站链接

当游览blog时,发现网站左上角有奇怪的link,点进去后竟是黄网。。。想了想这几天没点什么不正常的网站呀,前几天还是好好的,啥情况。。。?

我需要找到这个link在哪里,经过TS排查,发现link只会出现在我现有这个主题下,换主题就没问题了,所以我去blog管理台找,发现找不到。。。后来登录我的vps,用下面方式找到,注:网站名称已被我隐去:

[root@frank wordpress_data]# find . | xargs grep -ri "xxxx"
./wp-content/themes/page-shippou/header.php:<div id="1049"><a href="https://xxxx.com">xxx voglio</a></div>
./wp-content/themes/page-shippou/header.php:<div id="1049"><a href="https://xxxx.com">xxx voglio</a></div>
./wp-content/themes/page-shippou/header.php:<div id="1049"><a href="https://xxxx.com">xxx voglio</a></div>
./wp-content/themes/page-shippou/header.php:<div id="1049"><a href="https://xxxx.com">xxx voglio</a></div>
./wp-content/themes/page-shippou/header.php:<div id="1049"><a href="https://xxxx.com">xxx voglio</a></div>
grep: ./wp-content/plugins/backupwordpress/vendor/symfony/finder/Tests/Fixtures/with: No such file or directory
grep: space: No such file or directory
grep: ./wp-content/plugins/backupwordpress/vendor/symfony/finder/Tests/Fixtures/with: No such file or directory
grep: space/foo.txt: No such file or directory

现在才发现wordpress控制台下search不太好使呀。。。按照路径找到文件,找到下面内容删掉后恢复,然后赶紧改admin密码?,先观察几天再说:

blonde teen swallows load.xxx videos