BlankOnDev

 view release on metacpan or  search on metacpan

lib/BlankOnDev/Tutorial/id.pod  view on Meta::CPAN

Perintah C<B<boidev bzr2git help>> - Untuk melihat seluruh perintah C<boidev bzr2git>
Adapun perintah help untuk perintah yang diawali dengan perintah C<boidev bzr2git> yaitu :

=over

=item * perintah C<B<boidev bzr2git addpkg-group help>>

=item * perintah C<B<bzr2git addpkg help>>

=item * perintah C<B<bzr2git addpkg-file help>>

=item * perintah C<B<bzr2git list-pkg help>>

=item * perintah C<B<bzr2git rename-pkg-group help>>

=item * perintah C<B<bzr2git remove-pkg-group help>>

=item * perintah C<B<bzr2git remove-pkg help>>

=item * perintah C<B<bzr2git search-pkg help>>

=item * perintah C<B<bzr2git branch help>>

=item * perintah C<B<bzr2git bzr-cgit help>>

=item * perintah C<B<bzr2git git-push help>>

=item * perintah C<B<bzr2git git-push-new help>>

=item * perintah C<B<bzr2git git-check help>>

=item * perintah C<B<bzr2git re-branch help>>

=item * perintah C<B<bzr2git re-gitpush help>>

=back

=back

=head1 2. Persiapan dan Implementasi

=head2 2.1. Persiapan

Pada bagian ini akan dijelaskan hal-hal yang perlu dipersipakan sebelum menggunakan program B<BlankOnDev> yaitu "B<rng-tools>".

=head3 2.1.1. Install dan Konfigurasi I<rng-tools>

Untuk install B<rng-tools> dengan perintah

    sudo apt-get install rng-tools

Kemudian edit file C</etc/default/rng-tools> dengan perintah :

    sudo vim /etc/default/rng-tools

Dan tambahkan script C<HRNGDEVICE=/dev/urandom> seperti berikut :

    # Configuration for the rng-tools initscript
    # $Id: rng-tools.default,v 1.1.2.5 2008-06-10 19:51:37 hmh Exp $

    # This is a POSIX shell fragment

    # Set to the input source for random data, leave undefined
    # for the initscript to attempt auto-detection.  Set to /dev/null
    # for the viapadlock driver.
    #HRNGDEVICE=/dev/hwrng
    #HRNGDEVICE=/dev/null
    HRNGDEVICE=/dev/urandom

    # Additional options to send to rngd. See the rngd(8) manpage for
    # more information.  Do not specify -r/--rng-device here, use
    # HRNGDEVICE for that instead.
    #RNGDOPTIONS="--hrng=intelfwh --fill-watermark=90% --feed-interval=1"
    #RNGDOPTIONS="--hrng=viakernel --fill-watermark=90% --feed-interval=1"
    #RNGDOPTIONS="--hrng=viapadlock --fill-watermark=90% --feed-interval=1"

Pada file tersebut hanya menambahkan script C<HRNGDEVICE=/dev/urandom> setelah 
komentar C<\#HRNGDEVICE=/dev/null>.

Kemudian, Simpan file dan start service B<rng-tools> seperti contoh perintah berikut:

    sudo /etc/init.d/rng-tools start
    
=head3 2.1.2. Membuat I<SSH Public key authentication> for Github

Konfigurasi ini bertujuan agar pada saat push repositori ke Github tidak lagi harus memasukkan C<Username> dan C<Password> saat proses push repositori.

=head4 2.1.2.1. Membuat Public key SSH

Jalankan perintah C<B<ssh-keygen -t rsa>> seperti berikut :

    $ ssh-keygen -t rsa -b 4096 -C "linuxer08@gmail.com"
    Generating public/private rsa key pair.
    Enter file in which to save the key (/home/yusrideb/.ssh/id_rsa):
    Created directory '/home/yusrideb/.ssh'.

Langsung Saja Tekan Enter pada Kedua form ini.

    Enter passphrase (empty for no passphrase):
    Enter same passphrase again:

Kemudian proses akan dilanjukan seperti ilustrasi beriku ini :

    Your identification has been saved in /home/yusrideb/.ssh/id_rsa.
    Your public key has been saved in /home/yusrideb/.ssh/id_rsa.pub.
    The key fingerprint is:
    SHA256:KkcuVZ/vd9mbbtU0w62ThEqa/63ZrdV762h9SIfeRys linuxer08@gmail.com
    The key's randomart image is:
    +---[RSA 2048]----+
    |                 |
    |                 |
    |        .    .. .|
    |       . .... .+o|
    |      o S+o. . =+|
    |     + .o ..  * *|
    |    o +  .  .o.*B|
    |     +    .. E=BX|
    |           .*+OXB|
    +----[SHA256]-----+

=head4 2.1.2.2. Menambahkan SSH Key di Akun Github



( run in 0.975 second using v1.01-cache-2.11-cpan-364913b4093 )