Cara install Lamp ( Linux , Apache , MySQL , php ) di Server CentOS

Cara install Lamp ( Linux , Apache , MySQL , php ) di Server CentOS - Hallo sahabat TIPS BELAJAR BISNIS ONLINE DAN INTERNET MARKETING, Pada Artikel yang anda baca kali ini dengan judul Cara install Lamp ( Linux , Apache , MySQL , php ) di Server CentOS, kami telah mempersiapkan artikel ini dengan baik untuk anda baca dan ambil informasi didalamnya. mudah-mudahan isi postingan Artikel #CentOS 6 32 bit, Artikel CentOS, Artikel Cloud server, Artikel Tutorial VPS, Artikel Tutorial WordPress, yang kami tulis ini dapat anda pahami. baiklah, selamat membaca.

Judul : Cara install Lamp ( Linux , Apache , MySQL , php ) di Server CentOS
link : Cara install Lamp ( Linux , Apache , MySQL , php ) di Server CentOS

Baca juga


    Cara install Lamp ( Linux , Apache , MySQL , php ) di Server CentOS

    Tentang Lamp - Lamp yaitu singkatan kata dari Linux , Apache , MySQL , php . sekelompok perangkat lunak berbasis open source yang digunakan untuk membangun/membuat web server.

    Pada Topic ini saya akan membahas cara install Lamp pada Server CentOS.

    Tutorial ini support untuk operating system :

    ~ CentOS 6 ( 32 bit / 64 bit )          &          ~ CentOS 7 ( 32 bit / 64 bit )

     

    Untuk install paket Lamp pada server CentOS silahkan ikuti step by step berikut ini :


    Catatan :

    ~ Pada tutorial ini saya menggunakan Contoh ipv4 : 198.12.81.64

    Step 1 - Install Apache2


    Apache merupakan perangkat lunak open source yang gratis untuk di install dan telah banyak di gunakan oleh para developers web. lebih dari 50% developer web di dunia ini telah menggunakan Apache sebagai web server.

    ~ Untuk install Apache di server CentOS silahkan ketik command :
    yum -y install httpd

    chkconfig --levels 235 httpd on

    service httpd start

    Silahkan buka di web browser favorit mu dan masukan ipv4 server mu, kemudian tekan Enter.

    Step 2 - Install MySQL


    MySQL adalah sistem manajemen database yang kuat dan dapat digunakan untuk mengatur dan mengambil data pada virtual server.





    ~ Untuk install MySQL pada server centos silahkan ketik command :
    yum -y install mysql mysql-server

    chkconfig --levels 235 mysqld on

    service mysql-server start

    ~ Setting password root MySQL
    mysql_secure_installation

    Selanjutnya akan ada pertanyaan - pertanyaan berikut ini . jawab y & Enter.
    By default, a MySQL installation has an anonymous user, allowing anyone
    to log into MySQL without having to have a user account created for
    them. This is intended only for testing, and to make the installation
    go a bit smoother. You should remove them before moving into a
    production environment.

    Remove anonymous users? [Y/n] y
    ... Success!

    Normally, root should only be allowed to connect from 'localhost'. This
    ensures that someone cannot guess at the root password from the network.

    Disallow root login remotely? [Y/n] y
    ... Success!

    By default, MySQL comes with a database named 'test' that anyone can
    access. This is also intended only for testing, and should be removed
    before moving into a production environment.

    Remove test database and access to it? [Y/n] y
    - Dropping test database...
    ... Success!
    - Removing privileges on test database...
    ... Success!

    Reloading the privilege tables will ensure that all changes made so far
    will take effect immediately.

    Reload privilege tables now? [Y/n] y
    ... Success!

    Cleaning up...



    All done! If you've completed all of the above steps, your MySQL
    installation should now be secure.

    Thanks for using MySQL!

     

    Step 3 - install PHP5


    ~ Untuk install php cukup dengan command
    yum -y install php php-mysql

    ~ Untuk chek Php silahkan ketik command
    yum search php-

     

    ~ Membuat halaman info php di web browser
    vi /var/www/info.php

    ~ Tekan i ( untuk insert ) Lalu masukan script berikut ini
    <?php
    phpinfo();
    ?>

    Tekan "Esc : wq " untuk keluar dan simpan .
    Untuk melihat info php silahkan buka web browser masuka ipv4/info.php
    Contoh : http://45.32.190.153/info.php

    Hasilnya



     

    Selesai.


    Baca juga : Cara install WordPress di server CentOS | Apache

    Selain dengan menggunakan ipv4/info.php kamu juga bisa menggunakan domain.
    Contoh : www.sites.com/info.php

     


    Demikianlah Artikel Cara install Lamp ( Linux , Apache , MySQL , php ) di Server CentOS

    Sekianlah artikel Cara install Lamp ( Linux , Apache , MySQL , php ) di Server CentOS kali ini, mudah-mudahan bisa memberi manfaat untuk anda semua. baiklah, sampai jumpa di postingan artikel lainnya.

    Anda sekarang membaca artikel Cara install Lamp ( Linux , Apache , MySQL , php ) di Server CentOS dengan alamat link https://tipstopmarketing.blogspot.com/2016/05/cara-install-lamp-linux-apache-mysql.html

    0 Response to "Cara install Lamp ( Linux , Apache , MySQL , php ) di Server CentOS"

    Post a Comment

    Jika Ingin Membaca artikel ini klik Pada Image Di artikel