Virtual Private Server untuk AndroidVirtual Private Server for Android


Untuk mendukung layanan yang diberikan oleh aplikasi Android buatan saya, dibutuhkan server yang terkoneksi melalui Internet. Aplikasi saya yang sangat membutuhkan keberadaan server adalah aplikasi Ceramah Islam untuk Android. Karena membutuhkan penyediaan hard disk yang besar untuk file rekaman Ceramah Islam.

Pada mulanya saya hanya mengandalkan dropbox untuk menyimpan file-file tersebut. Akan tetapi ternyata atensi masyarakan Indonesia terhadap Ceramah Islam begitu besarnya. Ini tentunya cukup menggembirakan. Semoga saya dapat bagian dan dianggap turut serta menyebarkan Agama Islam :). Tidak lupa para ustadz, media tv /radio/lainnya dan juga orang-orang yang menyediakan file Ceramah Islam untuk bisa di download melalui internet turut mendapatkan pahala yang berlipat dari Allah swt. Aamiin.

To support the services provided by My Android app, I need a server which connected via the Internet. The application is Islamic Lectures for Android. Because it requires a large supply of hard disk for file footage of Islamic Lectures.

At first I just rely on dropbox to store those files. However, attention turns to the Community Sector Indonesia Islamic Lectures so much. It must be quite encouraging. Hopefully I can be part of and participate in spreading Islam :). Do not forget the preachers, media tv / radio / other, and also those who provide Islamic Lectures file can be downloaded via the internet helped get multiple rewards from Allah swt. Aamiin.

Kebutuhan download file rekaman Ceramah Islam yang besar, membutuhkan beberapa account dropbox agar beban download dapat terbagi tidak hanya terkonsentrasi di salah satu account saja.. Pernah suatu ketika salah satu account dropbox saya di suspend akibat melebihi kuota download yang dipersyaratkan. Akibatnya pada saat itu pengguna aplikasi Android Ceramah Islam tidak bisa mendownload file rekaman Ceramah Islam yang mereka inginkan. Oleh karena itu saya akhirnya memutuskan menyewa Virtual Private Server baru untuk mendukung layanan aplikasi Ceramah Islam khususnya dan juga aplikasi saya lainnya depannya. Semoga apa yang saya lakukan ini mendapatkan ridho Allah swt dan juga dapat terus berkembang. Aamiin.

Apa itu Virtual Private Server ? Nah, untuk hal ini lebih baik baca selengkapnya di wikipedia. Intinya, dengan menyewa Virtual Private Server, maka kita sebagai penyewa memiliki akses penuh terhadap server tersebut, yaitu memiliki akses root. Seolah-olah memiliki server sendiri, dengan CPU, HARD DISK, MEMMORY dan juga network beserta ip public dan koneksi internet sendiri. Puas bukan ? hehehehe. Kita pun bisa menginstall dan menjalankan service apa pun di VPS. Tentu saja selama kapasitas hard disk, cpu, memory yang kita sewa sesuai dengan requirement / kebutuhan dari aplikasi/service yang kita jalankan.

Setelah account Virtual Private Server diaktifkan oleh penyedia jasa maka kemudian Anda akan diberikan user root, password dan juga ip public. Untuk mengaksesnya menggunakan protokol SSH dan diperlukan aplikasi yang mendukung SSH seperti putty. Selain aplikasi putty, ada baiknya juga Anda memiliki aplikasi SFTP untuk melakukan transfer file. Untuk kebutuhan SFTP saya menggunakan aplikasi Filezilla.

Selanjutnya, Anda tinggal mensetup server tersebut tergantung kebutuhan. Berhubung yang saya butuhkan adalah untuk mendukung aplikasi Android yang saya buat, maka saya menginstall Apache, MySql dan juga PHP. Biasanya orang menyingkat dengan LAPM (Linux, Apache, PHP, and mySql). Berikut saya berikan langkah untuk setup LAPM di Virtual Private Server yang menjalankan CentOs (langkah di bawah saya sadur dari https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-6):
1. Install apache & jalankan service Apache
sudo yum install httpd
sudo service httpd start

2.Install mySql & jalankan service MySql
sudo yum install mysql-serve
sudo service mysqld start

3. setting root password MySql
sudo /usr/bin/mysql_secure_installation

4. Install PHP
sudo yum install php php-mysql

5. Set agar Apache dan MySql lansung On saat server restart:
sudo chkconfig httpd on
sudo chkconfig mysqld on

Download the file footage needs a large Islamic Lectures, requiring multiple dropbox accounts in order to load the download can be divided not only concentrated in one account only .. Once upon a time one of my dropbox account suspended due to download the required quota. As a result, at the time of Islamic Lectures Android app users can not download the file footage of Islamic Lectures they desire. Therefore I finally decided to hire a new Virtual Private Server to support application services in particular Islamic Lectures and my other future applications. Hopefully what I did was obtain the blessing of Allah Almighty and can also continue to grow. Aamiin.

What is a Virtual Private Server? Well, it’s better to read more at wikipedia . In essence, by hiring a Virtual Private Server, then we as tenants have full access to the server, which has root access. As if having your own server, with the CPU, HARD DISK, memmory and also network with public ip and internet connection itself. Not satisfied? hehehehe. We can install and run any service on the VPS. Of course, as long as the capacity of the hard disk, cpu, memory that we lease in accordance with the requirements / needs of the application / service that we run.

Once your account is activated by a Virtual Private Server provider then you will be given the root user, passwords and also the public ip. To access using the SSH protocol and required an application that supports SSH like putty. In addition to putty application, it’s good you have an application SFTP to transfer files. For the needs of the application I use Filezilla SFTP.

Furthermore, you simply set up a server depending on needs. Because what I need is to support Android apps that I made, then I install Apache, MySQL and PHP. Usually people abbreviate with LAPM (Linux, Apache, PHP, and MySQL). Here I give you the steps to setup LAPM in Virtual Private Server running CentOS (I summarize from https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-6)
1. Install apache and run the Apache service
sudo yum install httpd
sudo service httpd start

2.Install MySQL and run the service MySql
sudo yum install mysql-serve
sudo service mysqld start

3. setting MySQL root password
sudo / usr / bin / mysql_secure_installation

4. Install PHP
sudo yum install php php-mysql

5. Set so that Apache and MySql directly On time server restarts:
sudo chkconfig httpd on
sudo chkconfig mysqld on


One response to “Virtual Private Server untuk AndroidVirtual Private Server for Android

Leave a Reply to Kelebihan dan Kekurangan VPS | Android Jakarta Cancel reply

Your email address will not be published. Required fields are marked *