{"id":1648,"date":"2016-06-07T08:05:44","date_gmt":"2016-06-07T06:05:44","guid":{"rendered":"http:\/\/monodes.com\/predaelli\/?p=1648"},"modified":"2016-06-07T08:05:44","modified_gmt":"2016-06-07T06:05:44","slug":"debianisms","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2016\/06\/07\/debianisms\/","title":{"rendered":"Debianisms"},"content":{"rendered":"<p>I was going to enable mod_rewrite on the new work box, discovering that CentOS doesn&#8217;t have a2enmod. So reading <em><a href=\"http:\/\/serverfault.com\/questions\/558600\/centos-bash-a2enmod-command-not-found\">apache 2.2 &#8211; CentOS\u201c-bash: a2enmod: command not found\u201d &#8211; from Server Fault<\/a> <\/em>I discovered that<\/p>\n<blockquote><p>a2enmod is a debianism, on CentOS you will need to do this manually. Please refer to the Apache documentation to find out how to do this.<\/p><\/blockquote>\n<p>Life is full of surprises<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">I was going to enable mod_rewrite on the new work box, discovering that CentOS doesn&#8217;t have a2enmod. So reading apache 2.2 &#8211; CentOS\u201c-bash: a2enmod: command not found\u201d &#8211; from Server Fault I discovered that a2enmod is a debianism, on CentOS you will need to do this manually. Please refer to the Apache documentation to find&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2016\/06\/07\/debianisms\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[111],"tags":[],"class_list":["post-1648","post","type-post","status-publish","format-standard","hentry","category-fedora-redhat"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-qA","jetpack-related-posts":[{"id":1814,"url":"https:\/\/monodes.com\/predaelli\/2016\/10\/21\/sometimes-it-is-annoying\/","url_meta":{"origin":1648,"position":0},"title":"Sometimes it is annoying","author":"Paolo Redaelli","date":"2016-10-21","format":false,"excerpt":"Who? SELinux of course! Mind me, it is a wonderful tool. Tell me I'm old-fashioned, tell me I'm unacknowledged about the security it brings. This after I just wanted to add a theme to my Wordpress inner company blog. SELinux kept saying something like \"I don't think so!\". I ended\u2026","rel":"","context":"In &quot;Fedora - RedHat&quot;","block_context":{"text":"Fedora - RedHat","link":"https:\/\/monodes.com\/predaelli\/category\/fedora-redhat\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5109,"url":"https:\/\/monodes.com\/predaelli\/2019\/01\/07\/stable-yet-experimental\/","url_meta":{"origin":1648,"position":1},"title":"Stable yet experimental","author":"Paolo Redaelli","date":"2019-01-07","format":false,"excerpt":"This tutorial is written for Django 2.1, which supports Python 3.5 and later From: Writing your first Django app, part 1 | Django documentation | Django I couldn't find Djiango 2 in my CentOS box. Of course, it's meant to use only rock-stable versions, I told myself. I tought to\u2026","rel":"","context":"In &quot;Senza categoria&quot;","block_context":{"text":"Senza categoria","link":"https:\/\/monodes.com\/predaelli\/category\/senza-categoria\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1583,"url":"https:\/\/monodes.com\/predaelli\/2016\/05\/26\/weirdness\/","url_meta":{"origin":1648,"position":2},"title":"Weirdness","author":"Paolo Redaelli","date":"2016-05-26","format":false,"excerpt":"One feels smart, he has written a nice DVD of CentOS 7 to be installed on his shiny new box. Have you noticed something strange and silly in the above photo? Right. It misses the optical drive. Actually it has only USB and Ethernet. I felt dumb. Dumber indeed because\u2026","rel":"","context":"In &quot;Fedora - RedHat&quot;","block_context":{"text":"Fedora - RedHat","link":"https:\/\/monodes.com\/predaelli\/category\/fedora-redhat\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1464185926684.jpeg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1464185926684.jpeg?resize=350%2C200 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1464185926684.jpeg?resize=525%2C300 1.5x"},"classes":[]},{"id":1925,"url":"https:\/\/monodes.com\/predaelli\/2016\/11\/17\/texlive-is-crippled-in-centos-7\/","url_meta":{"origin":1648,"position":3},"title":"TexLive is crippled in Centos 7","author":"Paolo Redaelli","date":"2016-11-17","format":"link","excerpt":"Oh, what a joy discovering that TexLive packages in CentOS 7 are bugged or crippled beyond any reasonable amount! Furthermore TeXlive in distros like CentOS 7 is crippled since they don't offer the TeXlive Manager called tlmgr. So updating packages is a pain, since it has to be done manually,\u2026","rel":"","context":"In &quot;Tex&quot;","block_context":{"text":"Tex","link":"https:\/\/monodes.com\/predaelli\/category\/tex\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9307,"url":"https:\/\/monodes.com\/predaelli\/2022\/04\/27\/progressively-un-centoing\/","url_meta":{"origin":1648,"position":4},"title":"Progressively un-centoing","author":"Paolo Redaelli","date":"2022-04-27","format":false,"excerpt":"I got slightly annoyed when Centos were terminated. In my efforts to Fedorize the server I use everyday to host the WordPress blog that records most of the work done on our Quality Managament System I encountered this annoying error Failed to download metadata for repo 'appstream': Cannot prepare internal\u2026","rel":"","context":"In &quot;Fedora - RedHat&quot;","block_context":{"text":"Fedora - RedHat","link":"https:\/\/monodes.com\/predaelli\/category\/fedora-redhat\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3603,"url":"https:\/\/monodes.com\/predaelli\/2017\/12\/28\/vim-8-for-centos-linux-7\/","url_meta":{"origin":1648,"position":5},"title":"Vim 8 for CentOS Linux 7","author":"Paolo Redaelli","date":"2017-12-28","format":"link","excerpt":"Vim 8 for CentOS Linux 7 \u2013 Karanbir Singh :: Thinkability @karan.org Basically add repo https:\/\/copr.fedorainfracloud.org\/coprs\/mcepl\/vim8\/repo\/epel-7\/mcepl-vim8-epel-7.repo","rel":"","context":"In &quot;vim&quot;","block_context":{"text":"vim","link":"https:\/\/monodes.com\/predaelli\/category\/vim\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/1648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=1648"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/1648\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=1648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=1648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=1648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}