Pustaka Taratsa

Cari

124 buku memuat "bin bash" · halaman 4 dari 7

  1. Hands-on: Gaining Root and Administrator Access in Linux and Windows (en)

    Onno Widodo Purbo

    … root without a password. Exploit: With this capability, we can run a shell as root using: sudo find . -exec /bin/bash \; Now you have root access. Method: Kernel Exploits (Dirty Pipe) Certain versions of Ubuntu are sometimes vulnerable to kernel exploits …

    sekitar 33% dari bukuBaca teks (EPUB)

  2. Open5gs: IMS Install Ubuntu 22.04

    Onno Widodo Purbo

    … sh menjadi, vi /root/hss.sh Start HSS menggunakan hss.sh #!/bin/bash # -------------------------------------------------------------- # Include JAR Files # -------------------------------------------------------------- cd /opt/OpenIMSCore/FHoSS export JAVA …

    sekitar 77% dari bukuBaca teks (EPUB)

  3. Backup: Restic

    Onno Widodo Purbo

    … Approach: Every 1 Minute Using systemd Timer Step 1: Create MySQL Dump Script /usr/local/bin/mysql_backup_restic.sh #!/bin/bash # Settings MYSQL_USER="root" MYSQL_PASS="yourpassword" BACKUP_DIR="/var/backups/mysql" DUMP_FILE="$BACKUP_DIR/mysql_dump.sql …

    awal bukuBaca teks (EPUB)

  4. SchoolOnffLine: Repository Lokal Ubuntu

    Onno Widodo Purbo

    … building of Ubuntu mirror ##### ## THE NEXT LINE IS NEEDED THE REST OF THE LINES STARTING WITH A # CAN BE DELETED #!/bin/bash ## Setting variables with explanations. # # Don't touch the user's keyring, have our own instead # export GNUPGHOME=/var/data …

    awal bukuBaca teks (EPUB)

  5. SMEOnffLine: Repository Lokal Ubuntu

    Onno Widodo Purbo

    … building of Ubuntu mirror ##### ## THE NEXT LINE IS NEEDED THE REST OF THE LINES STARTING WITH A # CAN BE DELETED #!/bin/bash ## Setting variables with explanations. # # Don't touch the user's keyring, have our own instead # export GNUPGHOME=/var/data …

    awal bukuBaca teks (EPUB)

  6. SchoolOnffLine: Instalasi Beberapa Batch File Bermanfaat

    Onno Widodo Purbo

    … building of Ubuntu mirror ##### ## THE NEXT LINE IS NEEDED THE REST OF THE LINES STARTING WITH A # CAN BE DELETED #!/bin/bash ## Setting variables with explanations. # # Don't touch the user's keyring, have our own instead # export GNUPGHOME=/var/data …

    awal bukuBaca teks (EPUB)

  7. SMEOnffLine: Menyiapkan Server Repository Ubuntu Lokal

    Onno Widodo Purbo

    … building of Ubuntu mirror ##### ## THE NEXT LINE IS NEEDED THE REST OF THE LINES STARTING WITH A # CAN BE DELETED #!/bin/bash ## Setting variables with explanations. # # Don't touch the user's keyring, have our own instead # export GNUPGHOME=/var/data …

    sekitar 50% dari bukuBaca teks (EPUB)

  8. SchoolOnffLine: Menyiapkan Server Repository Ubuntu Lokal

    Onno Widodo Purbo

    … building of Ubuntu mirror ##### ## THE NEXT LINE IS NEEDED THE REST OF THE LINES STARTING WITH A # CAN BE DELETED #!/bin/bash ## Setting variables with explanations. # # Don't touch the user's keyring, have our own instead # export GNUPGHOME=/var/data …

    sekitar 50% dari bukuBaca teks (EPUB)

  9. TCP/IP: Simple Network Management Protocol

    Onno Widodo Purbo

    … mode by editing the /etc/cron.daily/00webalizer script file and adding the –Q (Quiet) switch to the webalizer command like this: ! /bin/bash update access statistics for the web site if -s /var/log/httpd/access_log ; then /usr/bin/webalizer -Q fi exit …

    akhir bukuBaca teks (EPUB)

  10. Apache: Check kalau apache mati & restart automatis

    Onno Widodo Purbo

    … mati & restart automatis Sumber: https://onnocenter.or.id/wiki/index.php/Apache:_Check_kalau_apache_mati_&_restart_automatis Script #!/bin/bash if `pgrep apache2 -c` -le "0" ; then /etc/init.d/apache2 restart fi Masukan ke crontab */5 * * * * /usr/local …

    awal bukuBaca teks (EPUB)

  11. Suricata: Instalasi Snorby & barnyard2

    Onno Widodo Purbo

    … up to date You can use this optional simple script to grab a copy of the git master and update the suricata binaries : !/bin/bash cd /tmp rm -rf /tmp/suricata mkdir suricata cd suricata /usr/bin/git clone git://phalanx.openinfosecfoundation.org/oisf.git cd …

    sekitar 65% dari bukuBaca teks (EPUB)

  12. Script Mirror Repository Ubuntu 16.04

    Onno Widodo Purbo

    … Mirror Repository Ubuntu 16.04 Sumber: https://onnocenter.or.id/wiki/index.php/Script_Mirror_Repository_Ubuntu_16.04 #!/bin/bash export GNUPGHOME=/var/data/mirrorkeyring /usr/bin/debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse …

    awal bukuBaca teks (EPUB)

  13. Ubuntu: Install MSSQL

    Onno Widodo Purbo

    … unixodbc-dev Jawaban Pertanyaan tentang License Yes Yes Perbaiki Path sqlcmd echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bash_profile echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc source ~/.bashrc sqlcmd Connect sqlcmd -S localhost …

    akhir bukuBaca teks (EPUB)

  14. OpenWRT: Flash Buffalo WZRHP300N

    Onno Widodo Purbo

    … dd:1a curl -T openwrt-19.07.0-ar71xx-generic-wzr-hp-g300nh-squashfs-tftp.bin tftp://192.168.11.1 & Buat Script vi setip.sh Isi dengan #!/bin/bash while true ; do ifconfig eth0 192.168.11.2 arp -s 192.168.11.1 02:aa:bb:cc:dd:1a done Save script di tempat …

    awal bukuBaca teks (EPUB)

  15. Membuat Layanan Otomatis Start Saat Server ON

    Onno Widodo Purbo

    … itu di ubuntu 20.04, kita perlu mengedit file /etc/rc.local, misalnya, sudo nano /etc/rc.local Isi dengan, misalnya, !/bin/bash <your_program>.sh exit 0 Jangan lupa save file rc.local. Ganti nama <your_program>.sh dengan nama yang anda suka. Contoh isi …

    awal bukuBaca teks (EPUB)

  16. Set Start Kiwix setiap Boot

    Onno Widodo Purbo

    … chmod 777 /root/kiwix-jalan.sh sudo chmod +x /root/kiwix-jalan.sh Edit /etc/rc.local sudo nano /etc/rc.local Isi dengan !/bin/bash /root/kiwix-jalan.sh exit 0 Save file rc.local dan beri ijin supaya dapat di execute, sudo chmod +x /etc/rc.local Edit /etc …

    awal bukuBaca teks (EPUB)

  17. Perbaiki GRUB Yang Rusak di Ubuntu 9.10

    Onno Widodo Purbo

    Mount juga folder “dev” sudo mount -o bind /dev/ /mnt/dev/ lalu ketik perintah sudo chroot /mnt /bin/bash Semua dah selesai di mount, lalu kita tinggal menginstall kembali grubnya dengan perintah : grub-install /dev/sda5 Jika tidak ada error setelah anda …

    sekitar 50% dari bukuBaca teks (EPUB)

  18. Intel MPI Benchmark

    Onno Widodo Purbo

    … mkdir output_files Start the Interactive session: $ qsub -I -lnodes=n:ppn=p $ mpiexec /share/apps/benchmarks/IMB/IMB-MPI1-gnu Using a PBS Script: !/bin/bash PBS -N IMB PBS -e IMB.err PBS -o IMB.out PBS -m aeb PBS -M user PBS -l nodes=n:ppn=p PBS -l …

    sekitar 50% dari bukuBaca teks (EPUB)

  19. Dig

    Onno Widodo Purbo

    … dig -x 204.152.184.167 +short mx-1.isc.org. In a loop, this is a slick way to map the names in a given subnet: #!/bin/bash NET=18.7.22 for n in $(seq 1 254); do ADDR=${NET}.${n} echo -e "${ADDR}\t$(dig -x ${ADDR} +short)" done Query a different nameserver …

    sekitar 50% dari bukuBaca teks (EPUB)

  20. Openldap: Instalasi

    Onno Widodo Purbo

    … : John Doe displayName: John Doe uidNumber: 1000 gidNumber: 10000 userPassword: password gecos: John Doe loginShell: /bin/bash homeDirectory: /home/john shadowExpire: -1 shadowFlag: 0 shadowWarning: 7 shadowMin: 8 shadowMax: 999999 shadowLastChange: 10877 …

    sekitar 50% dari bukuBaca teks (EPUB)