Menampilkan postingan dari September, 2020
1. Masuk server dengan menggunakan live CD yang sesuai dengan versi existing 2. Masuk ke dalam rescue mode dan install rescue mode 3. Jika sudah masuk ke dalam shell command masukan perintah chroot /mnt/sysimage/ kemudian df -h untuk memastikan partis…
1. Umount the partition with this command " # umount /part " 2. Rename the partition after making sure it's not mounted with this command " # mountpoint /part &>/dev/null || mv /part /best_name_ever " 3. Edit /etc/fstab …
1. Defining the environment variable named HISTTIMEFORMAT as follows: echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >> ~/.bash_profile where, %d – Day %m – Month %y – Year %T – Time 2. Use the source command to load HISTTIMEFORM…
1. Open the terminal application 2. Login as root user using the sudo -i command 3. Type du -a /dir/ | sort -n -r | head -n 20 4. du will estimate file space usage 5. sort will sort out the output of du command 6. head will only show top 20 largest fi…
1. open crontab -> crontab -e 2. add this script "30 * * * * find /path/to/dir -type f -min +30 -exec rm -f {} \;" 3. save crontab and exit this script will automaticaly running every 30 minutes
You can migrate from server to other server too using this tutorial. 1. create TNS on the new server, locate in dir $ORACLE_HOME/network/admin 2. open firewall host 3. create DBCA, locate in dir $ORACLE_HOME/assistants/dbca/ with name dbcaICNPRODB.…