Skip to content

Instantly share code, notes, and snippets.

@alparslanozturk
alparslanozturk / idm_ssl.md
Last active December 9, 2023 11:08
IDM Sertifika yenileme işlemleri HTTP ve LDAP
  • Red Hat tarafında bu dokumanı takip ettim: How to add third party certificates for HTTP/LDAP in IPA - Red Hat Customer Portal
  • Sunucuların mevcut AD domain içinde konumlanabileceğini fark ettim. Örnek: ornek.com AD tarafından yönetilen bir DS olduğunu farzedersek sunucular “idm1.ornek.com” ve “idm2.ornek.com” olarak yapılandırılabilir, sadece kerberos name kısmında IDM.ORNEK.COM secimi yapılması yeterli oluyor.
  • Sertifikalar kurumun CA kullanılacak ise 1. Nolu madde belirtilen yol aşağıdaki gibi izlenebilir.
@alparslanozturk
alparslanozturk / idm.md
Last active November 26, 2023 09:30
Red Hat IDM ve AD cross-trust

Azure devtestlab ortamında AD artifact enable olan bir windows server 2022 datacenter kurulumu yapılacaktır.

Windows Server 2022 öncesi mevcut bir sistem varsa RC4 disable edilmesi gerekebilir. windows DNS server üzerinde 2 adet A kaydı girilecektir; idm1 ve idm2 için... FORWARDER zone olarak "idm.ornek.com" diye bir alan açılması ve güvenlik ayarlarında update edilebilecek şekilde ayarlanmalıdır.

image

Domain entegrated olmayan bu alan için aşağıda nasıl "nsupdate" ile otomatik doldurulacağı gösterilecek.

@alparslanozturk
alparslanozturk / ssl-cookbook.md
Last active February 8, 2023 11:55
ssl cookbook

#00

You do not have CSR and want to create self-signed certificate, key and CA files etc. !!! SUMMARY !!!

openssl genpkey -out test.key -algorithm RSA
openssl req -new -x509 -days 3650 -key test.key -out test.crt -subj "/C=TR/L=Ankara/O=Test A.S./CN=*"
ls
openssl x509 -in test.crt -text -noout

Oracle Solaris 11 (30.12.2022)

filedisk

mkdir /btaciksistem
mkfile 15g /btaciksistem/disk0
ldm add-vdsdev /btaciksistem/disk0 disk0@primary-vds0
ldm  remove-vdsdev disk0@primary-vds0

@alparslanozturk
alparslanozturk / nexus.md
Last active October 24, 2022 10:58
nexus

find the top process .

ps -eo rss,pmem,pcpu,user,args| ( sed -u 1q; sort -k2 -r)

wsl Nexus kurulumu ve ULN repo testi

@alparslanozturk
alparslanozturk / oraclecdb.md
Last active June 22, 2022 09:05
oraclecdb.md
docker login 

docker pull store/oracle/database-enterprise:12.2.0.1

docker run -d --name oracle -h oracle -P store/oracle/database-enterprise:12.2.0.1

alias orc='docker exec -it --user oracle oracle bash -c "cd ~; bash"'
@alparslanozturk
alparslanozturk / export.sh
Last active June 19, 2019 06:37 — forked from ognjenm/export.sh
The following script will export all zimbra accounts to an import script
#!/bin/bash
# The following script will export all accounts to an import script.
# this script should be run as zimbra user
# target for ZCS 8, single server deployment
# last update 2014-04-04
# ognjen.miletic@gmail.com
# original at http://www.3open.org/d/zimbra/export_accounts
# customize these to your needs