You have to insert Windows Server 2012 DVD into DVD Reader. After you can install .Net FrameWork 3.5. Installation Steps insert Windows Server 2012 DVD or iso to D Drive. Open Add Roles and Features Wizard From Server Manager. Select .NET Framework 3.5 Features. Select Specify an alternate source path and select path that is…
Category: Operating Systems
Copy Files Without Overwrite Existing Files With xcopy Command on Windows
You can use xcopy command for copy and move files. Below command does that it copy files and paste to new destination without overwrite existing files. xcopy C:\> xcopy D:\source_dest E:\target_dest /E /D Note : /E parameter make that it copy files with subfolders Note : /D parameter make that it copy files without overwrite
Vi Editor on Linux
Vi editor very useful text editor on linux systems. Below commands most use commands. Vi Editor Commands i > insert ESC + q! > exit without save ESC + wq! > exit with save ESC + w! > only save /searchtext > search to down ?searchtext < search to up n > next text of…
File Merge With MsDos in Windows
If you want to merge files into one file. You can use copy command. For example, you have a directory as name testdir and 10 csv files in testdir. Open cmd prompt. C:> copy file1.csv+file2.csv+file3.csv commonfile.csv
Mail Send With Python
Mail Send Function | File name : sender.py import string import smtplib from email.mime.text import MIMEText def mailSend(subject,content): mailserver = “192.168.5.2” # Mail Server IP Address mail = MIMEText(content) mail[“From”] = “fromaddress@example.com” mail[“To”] = “toaddress@example.com” mail[“Subject”] = subject gonder = smtplib.SMTP(mailserver) gonder.sendmail(mailfrom,mailto,mail.as_string()) gonder.quit() Notification Example for Disk Status Check | File name : diskcheck.py from…
Copy Backup File from ASM to Local Disk
If you want to migrate backup or archivelog files from asm disks to local disk, you can use below command. But you have to create a directory to migrate backup and this directory owner have to be grid user. Copy File Command [grid ~]# asmcmd ASMCMD> cd FRA/backups ASMCMD> cp mynewbackupname.bck /localdiskpath/mybackup.bck
Frequently Used Linux Commands And Details
copy Basic Copy [root@test ~]# cp -R /olddirectory/ /newdirectory/ -R parameter mean that copy all subfiles and subdirectories Copy directories and files with permissions [root@test ~]# cp -R -pf /olddirectory/ /newdirectory/ blkid blkid have been using for show uuid of disk partitions. You can use uuid to add in /etc/fstab file. fstab For show all…
Give Sudo Permission to User on Oracle Linux
Linux has a robust permissions system. As it enables a clear separation of roles among users, especially between the root user and your average user. Sometimes, though, you might want your average user to have some or all of root’s privileges. You can give this permissions with sudo. Give Sudo Permission [root@test ~]# visudo Note…
Oracle and Grid User bash_profile Example on Linux
bash_profile for Oracle user # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs if [ $USER = “oracle” ]; then if [ $SHELL = “/bin/ksh” ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi…
Create Oracle Asm Disks on Oracle Linux
I will create three asm disks for GRID, FRA and DATA on Oracle Linux 6.3 on VMware. Asm disks will be GRID sdc, DATA sdd, FRA sde. Partition the Disks List Disks [root@test01 dev]# ls sd* sda sda1 sda2 sdb sdb1 sdc sdd sde For 1. Disk [root@test01 dev]# fdisk /dev/sdc Device contains neither a…