Skip to content

Instantly share code, notes, and snippets.

View ANTISEC12's full-sized avatar
:octocat:
Working from home

Soroush Afzalian ANTISEC12

:octocat:
Working from home
View GitHub Profile
@ANTISEC12
ANTISEC12 / ww
Created August 15, 2019 21:26
ww
sed "s|=\$basearch$|=\$basearch\&country=US,DE,CA,FR,global|" /etc/yum.repos.d/* -i
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
# controller
185.4.30.234 controller
# compute1
185.4.30.250 compute1
@ANTISEC12
ANTISEC12 / openstack_local-setting.txt
Last active July 8, 2019 18:14
openstack_controller-local_setting
cat local_settings
# -*- coding: utf-8 -*-
import os
from django.utils.translation import ugettext_lazy as _
from openstack_dashboard.settings import HORIZON_CONFIG
cat /etc/httpd/conf/httpd.conf
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding