Interview Untuk Menjadi Linux Trainer atau Dosen Linux
1. Membawakan materi presentasi pengenalan linux yang disaksikan purek, ketua prodi informatika, bagian bahasa inggris
2. Test English Conversation dengan pertanyaan dalam bahasa inggris mengenai materi yang baru disampaikan
sebagai root: cd /var/adm/ /usr/lib/acct/fwtmp <> wtmpx.a (jangan lupa monitor disk space di /var, karena wtmpx.a ini akan membuat file sebesar 800 Mb jika wtmpx nya= 2 G) cp wtmpx.a /IN/wtmpx.a.bak (saya backup ke directory yang masih kosong) cat /dev/null > wtmpx.a (kosongin wtmpx.a) /usr/lib/acct/fwtmp -ic <> wtmpx
File ini menyimpan package yang kita install di solaris, jika kita hendak membuat mesin cloning yang memiliki package level sama, maka bisa melakukan copy file ini ke mesin baru tersebut. Dengan asumsi mesin baru ini akan dibuat sama level packagenya dengan mesin reference.
Untuk melakukan test terhadap file contents ini bisa dilakukan dengan mereboot(shutdown -i6 -g0 -y), jika server berhasil up berarti contents nya lengkap.
When you are making a user, then you will have a .profile, you can export your environment setting here, your path, so it make easy so you dont have to run full path command, just run the alias you set
1.if in /etc/hosts you already have ip static configured for this host, please comment it. 2. touch empty file /etc/dhcp.interfacename example : touch /etc/dhcp.bge0 3. touch empty file /etc/hostname.interfacename example : touch /etc/hostname.bge0 4. reboot the system
1. clean all unnecessary log and config files from the server we want to clone 2. make backup for the /etc/inittab 3. uncomment all the process of application in /etc/inittab 4. enter single mode (init s) 5. login using serial console cable 6. flarcreate -n hostname -c -S -x /oradata hostname_images.flar 7. restore inittab 8. reboot the system 9. transfer the image files to jumpstart server to be Continue
df -k = checking disk space and partition info top = to see the most heavy process sar 1 5 = to see the cpu idle rate prstat = to see the memory usage netstat -an |grep port_number = to check listening/open port of certain port_number ps -ef|grep process_name = to check if a process is up
1.gunzip the package gunzip package_name.tar.gz 2.Untar tar -xvf package_name.tar 3. Install Package enter the package the newly created package directory cd package_name pkgadd -d . pkgname
Please note that, do not use this command for interest banking(ribawi), neglected music application,nuclear installation, zodiac, fortune teller, porn purpose
cat = for reading a text file vi = to edit the text file or configuration file type = to find the command path pwd = checking which directory are you now cd .. = going one level up mkdir foldername = creating a folder/directory cp file1 file2 = copy file1 to file2 rm file1 = remove file1 rm -r foldername = remove folder with its content
Please dont use this command for bad purposes, such as Interest Banking Application, and for all evil action.