oracle databases server

oracle databases server create database TEST MAXLOGFILES 16 MAXLOGMEMBERS 3 MAXDATAFILES 100 MAXINSTANCES 8 MAXLOGHISTORY 292 LOGFILE GROUP 1 ‘C:\oraclexe\app\oracle\oradata\TEST\REDO01.LOG’ SIZE 50M BLOCKSIZE 512, GROUP 2 ‘C:\oraclexe\app\oracle\oradata\TEST\REDO02.LOG’ SIZE 50M BLOCKSIZE 512 DATAFILE’C:\oraclexe\app\oracle\oradata\TEST\SYSTEM.DBF’ size 100m autoextend on sysaux datafile ‘C:\oraclexe\app\oracle\oradata\TEST\SYSAUX.DBF’ size 100m autoextend on undo tablespace undotbs1 datafile ‘C:\oraclexe\app\oracle\oradata\TEST\UNDOTBS1.DBF’ size 100m autoextend on CHARACTER SET AL32UTF8 […]

Read more
disable default webpage

Once it is done, you shall disable Apache’s default welcome page. [root@rmohan.com ~]# sed -i ‘s/^/#&/g’ /etc/httpd/conf.d/welcome.conf Also, prevent the Apache web server from displaying files within the web directory. [root@rmohan.com ~]# sed -i “s/Options Indexes FollowSymLinks/Options FollowSymLinks/” /etc/httpd/conf/httpd.conf After that, start and enable the Apache web server. [root@rmohan.com ~]# systemctl start httpd.service [root@rmohan.com ~]# […]

Read more
ansible trail

##### Steps for deployment of Ansible on CentOS 7 ##### Dependency Tasks ### Install EPEL sudo yum install epel-release ### Install pending updates sudo yum -y update ##### Install Ansible ### Install Ansible sudo yum -y install ansible ### Verify the Version ansible –version [db] node1.rmohan.com [app] node2.rmohan.com [db] node3.rmohan.com ansible all –list-hosts ansible db […]

Read more
kubernetes

two lines info my /etc/sysctl.conf net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-iptables = 1 sysctl net.bridge.bridge-nf-call-iptables=1 swapoff -a firewall-cmd –reload modprobe br_netfilter echo ‘1’ > /proc/sys/net/bridge/bridge-nf-call-iptables kubeadm reset echo ‘Environment=”KUBELET_EXTRA_ARGS=–fail-swap-on=false”‘ >> /etc/systemd/system/kubelet.service.d/10-kubeadm.conf systemctl daemon-reload systemctl restart kubelet kubeadm init [root@k8s-master ~]# mkdir -p $HOME/.kube [root@k8s-master ~]# cp -i /etc/kubernetes/admin.conf $HOME/.kube/config [root@k8s-master ~]# chown $(id -u):$(id -g) $HOME/.kube/config Step […]

Read more
Downgrade with glibc Update to using YUM

Downgrade with glibc Update to using YUM 1). Existing RPM version checking and backup #rpm -qa | grep glibc compat-glibc-headers-2.3.4-2.26 glibc-common-2.5-81 glibc-devel-2.5-81 compat-glibc-2.3.4-2.26 compat-glibc-2.3.4-2.26 glibc-2.5-81 glibc-headers-2.5-81 glibc-devel-2.5-81 glibc-2.5-81 2). createrepo REPODATA /usr/local/src/new_glibc # pwd /usr/local/src/new_glibc #createrepo ./ 12/12 – glibc-devel-2.5-123.el5_11.1.i386.rpm Saving Primary metadata Saving file lists metadata Saving other metadata 3). old_glibc.repo #vim /etc/yum.repos.d/new_glibc.repo [old-glibc] […]

Read more
Ngnix

The company intends to replace http with https in the Ngxin environment. It requires http to force a jump to https. This search on the Internet, the basic summary Configure rewrite ^(.*)$ https://$host$1 permanent; Or in the server configuration return 301 https://$server_name$request_uri; Or in the server with if, here refers to the need to configure multiple […]

Read more
How to Install Configure AWS CLI -Linux, OS X, or Unix

How to Install Configure AWS CLI -Linux, OS X, or Unix AWS CLI (Command Line Interface) The AWS Command Line Interface is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts. Steps to […]

Read more
Redis master-slave + KeepAlived achieve high availability

Redis master-slave + KeepAlived achieve high availability Redis is a non-relational database that we currently use more frequently. It can support diverse data types, multi-threaded high concurrency support, and redis running in memory with faster read and write. Because of the excellent performance of redis, how can we ensure that redis can deal with downtime […]

Read more

Hit Counter provided by dental implants orange county