Helping you to protect your tomorrow
Tuesday, 29 October 2019
Sunday, 27 October 2019
Thursday, 24 October 2019
Wednesday, 23 October 2019
Mounting a new disk in the linux machine
step 1: df -h ( to check the present file system directories)
step 2: fdisk -l : to check the hidden file storage, which need to active.
step 3: fdisk /dev/XXXX
step 4: enter m (for more info)
step 5: sequence to be followed:
n:add new disk.
p: (choose with extended or primary)
1: partition number 1
Note: if need to be 1 or more partitions. Need to provide details here.
if required with one partition use the default value.
step 6: w to write the changes.
step 7: mkfs.ext3 -b 4096 /dev/XXXX
for writing the idone number.
step 8: vi /etc/fstab
add the entry of /dev/XXXX
wq
step 9: mkdir -p /file directory name (eg: /usr/sap)
step 10: if step 8 is not performed then every time need to execute the cmd
mount /dev/XXXX /<eg, usr>
reference link:
https://www.youtube.com/watch?v=sH6r7bwWuUw
step 2: fdisk -l : to check the hidden file storage, which need to active.
step 3: fdisk /dev/XXXX
step 4: enter m (for more info)
step 5: sequence to be followed:
n:add new disk.
p: (choose with extended or primary)
1: partition number 1
Note: if need to be 1 or more partitions. Need to provide details here.
if required with one partition use the default value.
step 6: w to write the changes.
step 7: mkfs.ext3 -b 4096 /dev/XXXX
for writing the idone number.
step 8: vi /etc/fstab
add the entry of /dev/XXXX
wq
step 9: mkdir -p /file directory name (eg: /usr/sap)
step 10: if step 8 is not performed then every time need to execute the cmd
mount /dev/XXXX /<eg, usr>
reference link:
https://www.youtube.com/watch?v=sH6r7bwWuUw
Thursday, 17 October 2019
How to make chown operate on files and directories recursively
How to make chown operate on files and directories recursively
destination path>
chown -R [new-owner]:[new-group] [directory-name-or-path]
modification rights
destination path> chmod -R 777 filename
Thursday, 10 October 2019
Host agent default stage
ps -ef | grep -i sap
root 88063 1 0 Aug13 ? 00:10:05 /usr/sap/hostctrl/exe/saphostexec pf=/usr/sap/hostctrl/exe/host_profile
sapadm 88069 1 0 Aug13 ? 01:00:13 /usr/sap/hostctrl/exe/sapstartsrv pf=/usr/sap/hostctrl/exe/host_profile -D
root 88257 1 0 Aug13 ? 02:05:46 /usr/sap/hostctrl/exe/saposcol -l -w60 pf=/usr/sap/hostctrl/exe/host_profile
root 94800 94635 0 13:15 pts/1 00:00:00 grep --color=auto -i sap
root 88063 1 0 Aug13 ? 00:10:05 /usr/sap/hostctrl/exe/saphostexec pf=/usr/sap/hostctrl/exe/host_profile
sapadm 88069 1 0 Aug13 ? 01:00:13 /usr/sap/hostctrl/exe/sapstartsrv pf=/usr/sap/hostctrl/exe/host_profile -D
root 88257 1 0 Aug13 ? 02:05:46 /usr/sap/hostctrl/exe/saposcol -l -w60 pf=/usr/sap/hostctrl/exe/host_profile
root 94800 94635 0 13:15 pts/1 00:00:00 grep --color=auto -i sap
Wednesday, 2 October 2019
To check the linux OS version details @ terminal level
cat
/etc/*release
Subscribe to:
Posts (Atom)