SlideShare a Scribd company logo
1 of 2
Build DNS to meet fails
+Fails:
Standard update fails, duplicated packages
+Solve:
Method 1:
+Find duplicated packages:
"rpm -qa --queryformat="%{NAME} %{ARCH}n" | sort | uniq -c | grep
-v " 1 " | cut -c 9- | cut -d" " -f1
+Delete duplicated packages:
sudo sh -c 'for file in `rpm -qa --queryformat="%{NAME} %{ARCH}n" |
sort | uniq -c | grep -v " 1 " | cut -c 9- | cut -d" " -f1`; do rpm -q --last
$file | head -1 | cut -d" " -f1; done | grep -v kernel | grep -v gpg-pubkey |
xargs rpm -e --justdb --nodeps'
Method 2:
+Using list the command:
yum-complete-transaction
package-cleanup --problems
package-cleanup --dupes
package-cleanup --cleandupes
rpm -Va --nofiles --nodigest
yum clean all
rpm --rebuilddbyum update
+Reference:
https://www.centos.org/forums/viewtopic.php?f=13&t=44356&p=188248#p188248
https://www.centos.org/forums/viewtopic.php?f=30&t=36230
Get choroot
http://d.stavrovski.net/blog/post/how-to-setup-and-configure-a-master-dns-bind-
server-in-debian-wheezyjessie
Install gcc before build bind9
http://ftp.gnu.org/gnu/gcc/gcc-4.8.2/
http://linuxtoolkit.blogspot.com/2013/07/compiling-gnu-481-on-centos-6_15.html
http://flakrat.blogspot.com/2013/06/building-gcc-481-on-centos-59.html
http://eli.thegreenplace.net/2014/01/16/building-gcc-4-8-from-source-on-ubunu-
12-04/
http://joelinoff.com/blog/?p=1003
http://dev.clsung.tw/?p=72
http://blog.pnyet.web.id/2012/11/11/how-to-install-dns-server-bind-source.html
(Fails on sdns01)
Fix
https://www.centos.org/forums/viewtopic.php?f=14&t=43842(02)
http://forum.directadmin.com/showthread.php?t=47862
---------------------
-Cut Your Hand
Install NSM
http://blog.ulyaoth.net/2013/10/01/how-to-install-logstash-with-kibana-
interface-on-fedora/
Build redis
http://www.ebrueggeman.com/blog/install-redis-centos-56 (01)
https://gist.github.com/coder4web/5762999 (02)
Reference
http://www.ericvb.com/archives/getting-started-on-centralized-logging-with-
logstash-elasticsearch-and-kibana
http://www.vmdoh.com/blog/centralizing-logs-lumberjack-logstash-and-
elasticsearch
http://blog.ulyaoth.net/2013/10/01/how-to-install-logstash-with-kibana-
interface-on-fedora/
http://blog.basefarm.com/blog/how-to-install-logstash-with-kibana-interface-on-
rhel/

More Related Content

What's hot

Lisp как универсальная обертка
Lisp как универсальная оберткаLisp как универсальная обертка
Lisp как универсальная обертка
Vsevolod Dyomkin
 
Centralized Logging with syslog
Centralized Logging with syslogCentralized Logging with syslog
Centralized Logging with syslog
amiable_indian
 

What's hot (20)

Git presentation bixlabs
Git presentation bixlabsGit presentation bixlabs
Git presentation bixlabs
 
Linux tech talk
Linux tech talkLinux tech talk
Linux tech talk
 
TDC2016SP - Vamos falar sobre o futuro da web: HTTP/2
TDC2016SP - Vamos falar sobre o futuro da web: HTTP/2TDC2016SP - Vamos falar sobre o futuro da web: HTTP/2
TDC2016SP - Vamos falar sobre o futuro da web: HTTP/2
 
Subversion To Mercurial
Subversion To MercurialSubversion To Mercurial
Subversion To Mercurial
 
Lisp как универсальная обертка
Lisp как универсальная оберткаLisp как универсальная обертка
Lisp как универсальная обертка
 
Hello c
Hello cHello c
Hello c
 
[Globant summer take over] Empowering Big Data with Cassandra
[Globant summer take over] Empowering Big Data with Cassandra[Globant summer take over] Empowering Big Data with Cassandra
[Globant summer take over] Empowering Big Data with Cassandra
 
JavaScript Event Loop
JavaScript Event LoopJavaScript Event Loop
JavaScript Event Loop
 
Workshop on command line tools - day 2
Workshop on command line tools - day 2Workshop on command line tools - day 2
Workshop on command line tools - day 2
 
Tinydns and dnscache
Tinydns and dnscacheTinydns and dnscache
Tinydns and dnscache
 
Workshop on command line tools - day 1
Workshop on command line tools - day 1Workshop on command line tools - day 1
Workshop on command line tools - day 1
 
Linux-Fu for PHP Developers
Linux-Fu for PHP DevelopersLinux-Fu for PHP Developers
Linux-Fu for PHP Developers
 
Centralized Logging with syslog
Centralized Logging with syslogCentralized Logging with syslog
Centralized Logging with syslog
 
Ganglia Monitoring Tool
Ganglia Monitoring ToolGanglia Monitoring Tool
Ganglia Monitoring Tool
 
Performance Profiling in Rust
Performance Profiling in RustPerformance Profiling in Rust
Performance Profiling in Rust
 
JavaScript Event Loop
JavaScript Event LoopJavaScript Event Loop
JavaScript Event Loop
 
tit
tittit
tit
 
Tres Gemas De Ruby
Tres Gemas De RubyTres Gemas De Ruby
Tres Gemas De Ruby
 
Installation of application server 10g in red hat 4
Installation of application server 10g in red hat 4Installation of application server 10g in red hat 4
Installation of application server 10g in red hat 4
 
OpenResty TCP 服务代理和动态路由
OpenResty TCP 服务代理和动态路由OpenResty TCP 服务代理和动态路由
OpenResty TCP 服务代理和动态路由
 

Viewers also liked

Latest marketing tech - gaming, geofencing, iOS8, iBeacons
Latest marketing tech - gaming, geofencing, iOS8, iBeaconsLatest marketing tech - gaming, geofencing, iOS8, iBeacons
Latest marketing tech - gaming, geofencing, iOS8, iBeacons
Richard Bown
 
thông tắc cống tại tam trinh \kim ngưu hà nội 0988998331
thông tắc cống tại tam trinh \kim ngưu hà nội 0988998331thông tắc cống tại tam trinh \kim ngưu hà nội 0988998331
thông tắc cống tại tam trinh \kim ngưu hà nội 0988998331
Trần Hòa
 

Viewers also liked (19)

Infografica
InfograficaInfografica
Infografica
 
Test
TestTest
Test
 
Verbeterteams
VerbeterteamsVerbeterteams
Verbeterteams
 
"Network neutrality, broadband discriminations" by Tim Wu (University of Colu...
"Network neutrality, broadband discriminations" by Tim Wu (University of Colu..."Network neutrality, broadband discriminations" by Tim Wu (University of Colu...
"Network neutrality, broadband discriminations" by Tim Wu (University of Colu...
 
presentacion
presentacionpresentacion
presentacion
 
Que pensaria kant sobre la etica actual
Que pensaria kant sobre la etica actualQue pensaria kant sobre la etica actual
Que pensaria kant sobre la etica actual
 
Mājas lapu hostings no garm technologies
Mājas lapu hostings no garm technologies Mājas lapu hostings no garm technologies
Mājas lapu hostings no garm technologies
 
Latest marketing tech - gaming, geofencing, iOS8, iBeacons
Latest marketing tech - gaming, geofencing, iOS8, iBeaconsLatest marketing tech - gaming, geofencing, iOS8, iBeacons
Latest marketing tech - gaming, geofencing, iOS8, iBeacons
 
Qatar (Report v2)
Qatar (Report  v2)Qatar (Report  v2)
Qatar (Report v2)
 
Cau hinh may lam da vien 2 tan
Cau hinh may lam da vien 2 tanCau hinh may lam da vien 2 tan
Cau hinh may lam da vien 2 tan
 
Aplication form al_beauty
Aplication form al_beautyAplication form al_beauty
Aplication form al_beauty
 
It application social network twitter
It application social network twitterIt application social network twitter
It application social network twitter
 
Fgfdg
FgfdgFgfdg
Fgfdg
 
Dinheiro da saúde está sendo jogando no lixo no brasil.
Dinheiro da saúde está sendo jogando no lixo no brasil.Dinheiro da saúde está sendo jogando no lixo no brasil.
Dinheiro da saúde está sendo jogando no lixo no brasil.
 
Human Reproduction
Human ReproductionHuman Reproduction
Human Reproduction
 
Doi-Ngu-Thi-Cong-Nhom-Kinh-Chuyen-Nghiep
Doi-Ngu-Thi-Cong-Nhom-Kinh-Chuyen-NghiepDoi-Ngu-Thi-Cong-Nhom-Kinh-Chuyen-Nghiep
Doi-Ngu-Thi-Cong-Nhom-Kinh-Chuyen-Nghiep
 
Frisko Panda1
Frisko Panda1Frisko Panda1
Frisko Panda1
 
thông tắc cống tại tam trinh \kim ngưu hà nội 0988998331
thông tắc cống tại tam trinh \kim ngưu hà nội 0988998331thông tắc cống tại tam trinh \kim ngưu hà nội 0988998331
thông tắc cống tại tam trinh \kim ngưu hà nội 0988998331
 
Chung cư đại thanh
Chung cư đại thanhChung cư đại thanh
Chung cư đại thanh
 

Similar to Tìm về nơi trú mưa !

12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
Monowar Mukul
 
Vim Hacks (OSSF)
Vim Hacks (OSSF)Vim Hacks (OSSF)
Vim Hacks (OSSF)
Lin Yo-An
 
IR Journal (itscholar.codegency.co.in).pdf
IR Journal (itscholar.codegency.co.in).pdfIR Journal (itscholar.codegency.co.in).pdf
IR Journal (itscholar.codegency.co.in).pdf
RahulRoy130127
 
Empacotamento e backport de aplicações em debian
Empacotamento e backport de aplicações em debianEmpacotamento e backport de aplicações em debian
Empacotamento e backport de aplicações em debian
Andre Ferraz
 

Similar to Tìm về nơi trú mưa ! (13)

How-to Integração Postfi
How-to Integração PostfiHow-to Integração Postfi
How-to Integração Postfi
 
NIH package manager for pkgsrc
NIH package manager for pkgsrcNIH package manager for pkgsrc
NIH package manager for pkgsrc
 
Unix tips and tricks
Unix tips and tricksUnix tips and tricks
Unix tips and tricks
 
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
 
Challenges of container configuration
Challenges of container configurationChallenges of container configuration
Challenges of container configuration
 
Linux fundamental - Chap 09 pkg
Linux fundamental - Chap 09 pkgLinux fundamental - Chap 09 pkg
Linux fundamental - Chap 09 pkg
 
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
 
Vim Hacks (OSSF)
Vim Hacks (OSSF)Vim Hacks (OSSF)
Vim Hacks (OSSF)
 
IR Journal (itscholar.codegency.co.in).pdf
IR Journal (itscholar.codegency.co.in).pdfIR Journal (itscholar.codegency.co.in).pdf
IR Journal (itscholar.codegency.co.in).pdf
 
Code Smart - Makefile (special release)
Code Smart - Makefile (special release)Code Smart - Makefile (special release)
Code Smart - Makefile (special release)
 
Adrian Mouat - Docker Tips and Tricks
 Adrian Mouat - Docker Tips and Tricks Adrian Mouat - Docker Tips and Tricks
Adrian Mouat - Docker Tips and Tricks
 
Empacotamento e backport de aplicações em debian
Empacotamento e backport de aplicações em debianEmpacotamento e backport de aplicações em debian
Empacotamento e backport de aplicações em debian
 
HaskellとDebianの辛くて甘い関係
HaskellとDebianの辛くて甘い関係HaskellとDebianの辛くて甘い関係
HaskellとDebianの辛くて甘い関係
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

Tìm về nơi trú mưa !

  • 1. Build DNS to meet fails +Fails: Standard update fails, duplicated packages +Solve: Method 1: +Find duplicated packages: "rpm -qa --queryformat="%{NAME} %{ARCH}n" | sort | uniq -c | grep -v " 1 " | cut -c 9- | cut -d" " -f1 +Delete duplicated packages: sudo sh -c 'for file in `rpm -qa --queryformat="%{NAME} %{ARCH}n" | sort | uniq -c | grep -v " 1 " | cut -c 9- | cut -d" " -f1`; do rpm -q --last $file | head -1 | cut -d" " -f1; done | grep -v kernel | grep -v gpg-pubkey | xargs rpm -e --justdb --nodeps' Method 2: +Using list the command: yum-complete-transaction package-cleanup --problems package-cleanup --dupes package-cleanup --cleandupes rpm -Va --nofiles --nodigest yum clean all rpm --rebuilddbyum update +Reference: https://www.centos.org/forums/viewtopic.php?f=13&t=44356&p=188248#p188248 https://www.centos.org/forums/viewtopic.php?f=30&t=36230 Get choroot http://d.stavrovski.net/blog/post/how-to-setup-and-configure-a-master-dns-bind- server-in-debian-wheezyjessie Install gcc before build bind9 http://ftp.gnu.org/gnu/gcc/gcc-4.8.2/ http://linuxtoolkit.blogspot.com/2013/07/compiling-gnu-481-on-centos-6_15.html http://flakrat.blogspot.com/2013/06/building-gcc-481-on-centos-59.html http://eli.thegreenplace.net/2014/01/16/building-gcc-4-8-from-source-on-ubunu- 12-04/ http://joelinoff.com/blog/?p=1003 http://dev.clsung.tw/?p=72 http://blog.pnyet.web.id/2012/11/11/how-to-install-dns-server-bind-source.html (Fails on sdns01) Fix https://www.centos.org/forums/viewtopic.php?f=14&t=43842(02) http://forum.directadmin.com/showthread.php?t=47862 --------------------- -Cut Your Hand Install NSM http://blog.ulyaoth.net/2013/10/01/how-to-install-logstash-with-kibana- interface-on-fedora/ Build redis http://www.ebrueggeman.com/blog/install-redis-centos-56 (01) https://gist.github.com/coder4web/5762999 (02) Reference