Go to $ORACLE_HOME/ohs/bin
chown root .apachectl
chmod 6750 .apachectl
check $ORACLE_INSTANCE/config/OHS/ohs1/httpd.conf
section:
User oracle
Group group_to_start_apache
set port
section:
Listen < 1024
Wednesday, December 16, 2015
Enabling Oracle HTTP Server to Run as Root for Ports Set to Less Than 1024 (UNIX Only)
Wednesday, November 25, 2015
SSH Login without Password : Solaris 10, Linux
:ON Solaris 10
ssh-keygen -t rsa
- id_rsa
- id_rsa.pub
@ ~/.ssh
copy id_rsa.pub to remoteHost
scp /export/home/test/.ssh/id_rsa.pub testuser@remotehost:/home/testuser/.ssh
login to remotehost
cat ~/.ssh/id_rsa.pub >> authorized_keys
@server
ssh testuser@remotehost
scp xxx.file testuser@remotehost
:ON LINUX Server
ssh-keygen
ssh-copy-id user@remotehost
ssh user@remotehost
ssh-keygen -t rsa
- id_rsa
- id_rsa.pub
@ ~/.ssh
copy id_rsa.pub to remoteHost
scp /export/home/test/.ssh/id_rsa.pub testuser@remotehost:/home/testuser/.ssh
login to remotehost
cat ~/.ssh/id_rsa.pub >> authorized_keys
@server
ssh testuser@remotehost
scp xxx.file testuser@remotehost
:ON LINUX Server
ssh-keygen
ssh-copy-id user@remotehost
ssh user@remotehost
Thursday, November 12, 2015
Step by step to add disk to LVM and resize lv
- fdisk -l /dev/sdx and create new partition
- pvcreate /dev/sdx1
- vgdisplay ; list volume group name
CREATE VOLUME
- vgcreate volumn_name /dev/sdd
EXTEND VOLUME
- vgcreate volumn_name /dev/sdd
EXTEND VOLUME
- vgextend vol_group_name /dev/sdx1
CREATE LOGICAL VOLUME
- lvcreate -l 20m -n logical_vol vol_group
- lvcreate -l 100%FREE -n logical_vol vol_group
- lvdisplay ; list logcal volume group name
- lvcreate -l 100%FREE -n logical_vol vol_group
- lvdisplay ; list logcal volume group name
EXTEND LOGICAL VOLUME
- lvextend -l +100%FREE /dev/vol_group_name/logical_volume
or
- lvextend /dev/vol_group_name /dev/sdx1
or
- lvextend /dev/vol_group_name /dev/sdx1
RESIZE LVM
EXT:
- resize2fs /dev/log_vol_group_name
XFS:
XFS:
- xfs_growfs /MOUNT_POINT
EXT4:
- resize4fs /dev/log_vol_group_name
EXT4:
- resize4fs /dev/log_vol_group_name
Tuesday, November 3, 2015
iSCSI on Solaris 10 x86
-Check iSCSI Service
svcs -a | grep iscsi
svcadm enable svc:/network/iscsi_initiator
-iSCSI setup initiator
iscsiadm add discovery-address 192.168.1.10:3260
iscsiadm modify initiator-node -a CHAP
iscsiadm modify initiator-node -H username
iscsiadm modify initiator-node -C
(specify CHAP password)
-iSCSI send target for Enable
iscsiadm modify discovery --sendtargets enable <--- for enable target
iscsiadm modify discovery --sendtargets disable <--- for disable target
iscsiadm list target
iscsiadm add static-config iqn.2015-11.com.wdc:wdsentinel-01-oracle-rman,192.168.1.10:3260
devfsadm -c iscsi
svcs -a | grep iscsi
svcadm enable svc:/network/iscsi_initiator
-iSCSI setup initiator
iscsiadm add discovery-address 192.168.1.10:3260
iscsiadm modify initiator-node -a CHAP
iscsiadm modify initiator-node -H username
iscsiadm modify initiator-node -C
(specify CHAP password)
-iSCSI send target for Enable
iscsiadm modify discovery --sendtargets enable <--- for enable target
iscsiadm modify discovery --sendtargets disable <--- for disable target
iscsiadm list target
iscsiadm add static-config iqn.2015-11.com.wdc:wdsentinel-01-oracle-rman,192.168.1.10:3260
devfsadm -c iscsi
Sunday, October 11, 2015
remote orphaned user from office365
Power shell
-logon to office365
$credential = Get-Credential
Import-Module MsOnline
Connect-MsolService -Credential $credential
Get-MsolAccountSku
-remove command
Remove-MsolUser -UserPrincipalName <account id>
Remove-MsolUser -UserPrincipalName <account id> -RemoveFromRecycleBin
-logon to office365
$credential = Get-Credential
Import-Module MsOnline
Connect-MsolService -Credential $credential
Get-MsolAccountSku
-remove command
Remove-MsolUser -UserPrincipalName <account id>
Remove-MsolUser -UserPrincipalName <account id> -RemoveFromRecycleBin
Tuesday, October 6, 2015
plugin integration client vsphere 6.0 on Firefox
about:config
security.ssl3.dhe_rsa_aes_128.sha
security.ssl3.dhe_rsa_aes_256_sha
toggle to False
security.ssl3.dhe_rsa_aes_128.sha
security.ssl3.dhe_rsa_aes_256_sha
toggle to False
Subscribe to:
Posts (Atom)
ALCATEL 6900
write memory copy running certified reload from working no rollback-timeout
-
SET LLDP System NAME: system name ALL-Uplink system location SIAM-FL11 SHOW LLDP Configure: show lldp config or show lldp local-syste...
-
grant execute on utl_http to wc grant execute on dbms_lock to wc; BEGIN DBMS_NETWORK_ACL_ADMIN.create_acl ( acl => ...
-
:system view system-view or sys :show all config dis current-configuration :create vlan vlan vlan_number :show ip interface ...