Debian Upgrade to 9
Debian Distro upgrade. For this example we are upgrading from jessie to stretch A) # apt-get update # apt-get upgrade # apt-get dist-upgrade sed -i 's/jessie/stretch/g' /etc/apt/sources.list B) #...
View Articlehow-to-install-cinnamon-gui-in-centos-7-linux
Install Cinnamon In CentOS The instructions below assume that you installed Centos minimal without the X windows system. If you already have Gnome running , you can just install the epel repo and then...
View ArticleDNS RFC References
https://tools.ietf.org/html/rfc1123 :RFC standard for naming host names 2.1 Host Names and Numbers The syntax of a legal Internet host name was specified in RFC-952 [DNS:4]. One aspect of host name...
View ArticleAWK Print a line only if the next line contain a particular match
awk '/\/etc\/init.d\/syslog/ { print prv_line; next } { prv_line = $0 }' The post AWK Print a line only if the next line contain a particular match appeared first on OpenKB::Server Technical Papers.
View ArticleTwitter Cards
Twitter cards help display your website in a presented form. Information on how to get started can be found at https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started...
View ArticleDuplicate ipv6 global 2001 address issue . Redhat
IPV6 test case If we set a static ipv6 and IPV6_AUTOCONF was set to yes. the IPV6_AUTOCONF value will not take affect until we bring down the interface and bring it back up. Performing a network restar...
View ArticleBind – Multiple Host Update
Summary of steps 1> Update the zone file with the new IP 2> Reload the master zone 3> Force transfer to the slave 4> For good measure , restart the bind service on both the master and...
View ArticleLinux: Free up virtual memory without rebooting
Found some interesting commands to free up some virtual memory without a reboot. I did not think the command will work so i ran a test in the lab and sure enough. It works like a charm. just so you can...
View ArticleCentOS 7.5.1804 released
Time to upgrade $ sudo yum clean all $ sudo yum upgrade $ sudo systemctl reboot Release notes https://blog.centos.org/2018/05/centos-7-5-1804-released/ The post CentOS 7.5.1804 released appeared first...
View ArticleApache: redirect to SSL example
RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(w*)$ https://www.<domain>/$1 [R=301,L] RewriteRule ^(.)$ https://www.<domain>/$1 [R=301,L] The post Apache: redirect to SSL...
View ArticleNetwork Time Service Chronyd
Network Time Service Chronyd. Chronyd comes installed with the Red Hat family by default. Chronyd is a good replacement for the standard NTP daemon found on most distributions. Very that Chronyd is...
View ArticleLinux – Filesystem went read-only mode
The Filesystem will go into a read only state if there is some type of FS corruption found. The corruption could be due to a failing hard drive or the FS system just encountered a unknown error....
View ArticleSAMBA CLIENT CONNECTION NT_STATUS_IO_TIMEOUT
ERROR: protocol negotiation failed: NT_STATUS_IO_TIMEOUT Check hostnamectl and make sure the hostname is listed in /etc/hosts next to 127.0.0.1 The post SAMBA CLIENT CONNECTION NT_STATUS_IO_TIMEOUT...
View ArticlePassword protect web folders on linux- htaccess
create a file called htaccess and type in the following AuthUserFile /usr/local/apache/htdocs/admin/.htpasswd AuthName “Authorization Required” AuthType Basic require valid-user the htpasswd file can...
View ArticleImportError: No module named _ssl
Python error when trying to import ssl File “/usr/local/lib/python2.7/ssl.py”, line 60, in <module> import _ssl # if we can’t import it, let the error propagate ImportError: No module named _ssl...
View ArticleAnsible attribute HTTPSHandler failure
File \”/tmp/ansible_PzNRht/ansible_modlib.zip/ansible/module_utils/urls.py\”, line 340, in <module>\r\nAttributeError: ‘module’ object has no attribute ‘HTTPSHandler’\r\n”, “msg”: “MODULE...
View ArticleJupyterhub_setup
juypterhub_setup /*! * * Twitter Bootstrap * */ /*! * Bootstrap v3.3.7 (http://getbootstrap.com) * Copyright 2011-2016 Twitter, Inc. * Licensed under MIT...
View ArticleCentos 7 clean up PackageKit cache
Can I safely delete files in /var/cache/PackageKit/metadata/updates/packages? You can refresh the cache using pkcon refresh force -c -1 The post Centos 7 clean up PackageKit cache appeared first on...
View ArticleMy Red Hat RHCSA renewal experience
I don’t normally post personal life experiences on this blog. But this is a story that needs to be told. My fiancee’ and I recently went to Baltimore inner harbor. I had to visit University of Maryland...
View ArticleFree public dns servers
Public DNS Servers Google: Google FAQ 8.8.8.8 8.8.4.4 Level 3 : 4.2.2.2 4.2.2.1 The new kid on the block is Cloudflare 1.1.1.1 1.0.0.1 https://mozilla.cloudflare-dns.com/...
View Article