Tampilkan postingan dengan label VPS. Tampilkan semua postingan
Tampilkan postingan dengan label VPS. Tampilkan semua postingan

Jumat, 11 April 2014

Mengatasi Starting Apache Fails (could not bind to address 0.0.0.0:80) pada VPS

Posted by Erza Jullian 15.40, under , | No comments

Oke , sekalian aja jadiin arsip pribadi ane gan :D . Kemaren lagi nyoba ngeload bot entah kenapa VPS ane kelabakan :v . Gak mau jalan . Pas ane restart service tetep error / failed. Untung kemaren tanya temen dan alhamdullilah cara nya work :D

Disini ane pake CentOS dengan webserver Apache.

Ketika ane coba restart nemu error begini :

Starting httpd: (98)Address already in use: make_sock: could not bind to address            0.0.0.0:80

no listening sockets available, shutting down

Unable to open logs

                                                           [FAILED]





Nah, suram banget dah :3




Coba masukkan command



[root@server ~]#  fuser -k -n tcp 80






Lalu restart httpd.


[root@server ~]#  service httpd restart





Pasti bisa lagi :D


Sekian post kali ini semoga bermanfaat.

Tutorial Install Apache , MySQL dan PhpMyAdmin on CentOS 6

Posted by Erza Jullian 01.52, under ,, | No comments

Oke, kali ini ane mau berbagi sedikit tutorial install webserver apache, mysql, dan phpmyadmin di CentOS 6. Ane masih tahap belajar juga sih . Ada VPS baru kemaren yaudah buat belajar dikit dikit . heheh :D

Oke langsung saja ke langkah langkah nya :

Setelah login root di server , masukkan command

[root@localhost ~]# yum update



lalu

Mulai Installasi Apache

[root@localhost ~]# yum install httpd

Setelah penginstalan, buka file /etc/httpd/conf/httpd.conf dan cari #ServerName www.example.com:80 .

ganti www.example.com dengan ip server vps kalian :D



Langkah selanjutnya restart apache

[root@localhost ~]# service httpd start



Nah , server kalian sudah siap digunakan :D

public html nya ada di /var/www/html/



Selanjutnya

MySQL Installation

[root@localhost ~]# yum install mysql-server

tunggu proses installasi

start mysql service

[root@localhost ~]# service mysqld start



lanjut, command dibawah ini supaya apache otomatis berjalan saat booting

[root@localhost ~]# chkconfig --levels 235 mysqld on



Selanjutnya, membuat root password untuk mysql.

[root@localhost ~]# mysqladmin -u root password 'passwordkalian'



Test dengan login mysql

[root@localhost ~]# mysql -u root -p ( tekan enter)

Enter password:(masukkan password root yang telah kalian buat)



kalau sukses kalian akan mendapat tampilan seperti ini

[root@localhost ~]# mysql -u root -p

Enter password:

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 3

Server version: 5.1.61 Source distribution

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>



Installasi PHP

[root@localhost ~]# yum install php php-mysql

Setelah itu restart apache

[root@localhost ~]# service httpd restart



Sebenarnya sampai sini server sudah siap digunakan :D

tapi kadang ada yang gak mau ribet jadi nginstall phpMyAdmin juga . Oke dah dibawah ini tutorialnya :

Installasi phpMyAdmin



[root@localhost ~]# rpm -ivh http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/6/i386/epel-release-6-8.noarch.rpm



Update repositories

[root@localhost ~]# yum check-update



Setelah diupdate, sekarang install phpmyadminnya

[root@localhost ~]# yum install phpMyAdmin



restart httpd

[root@localhost ~]# service httpd restart



Sekarang phpmyadmin siapdigunakan.

cek di

http://ipserver/phpmyadmin/

contoh

http://48.48.48/phpmyadmin/



Troubleshooting

#2002 � Can�t connect to local MySQL server through socket �/var/lib/mysql/mysql.sock� (2)



( kemungkinan mysql tidak berjalan , coba jalankan dengan command "service mysql start')



phpmyadmin saat dibuka menampilkan halaman 403 alias forbidden.

coba kalian edit file /etc/httpd/conf.d/phpMyAdmin.conf  , hapus semua "deny from all" , ganti "allow from none" dengan "allow from all"



Setelah itu restart apache.



Sekian tutorial kali ini , semoga bermanfaat. :D

Rabu, 05 Maret 2014

Cara Install Remote Desktop ( RDP ) CentOS VPS

Posted by Erza Jullian 07.24, under | No comments

Assalamuallaikum Wr, Wb.
Kali ini saya mau bahas mengenai VPS, yaitu cara Install Remote Desktop CentOS VPS, nah fungsinya apa sih?

Ini berguna bagi para netter yang suka surffing tapi kecepatan internet tidak memadai, bisa simpulinkan salah satu fungsi RDP ? hehe :D oke langsung saja simak dah ulasan berikut ini.

" Sebelum menginstall RDP di Windows ini, kalian harus membeli VPS terserah mau beli yang mana tetapi sekarang mau bahas yang CentOS dulu ye :D"

1. Setelah membeli VPS lalu mengikuti prosedur instalasinya, sekarang download putty lalu login ke VPS dengan SSH di putty.


2. Setelah login ikuti perintah dibawah ini :

Step 1 : Install genome desktop enviroment
# yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts"
Step 2 : Update CentOS
# yum -y update
Step 3 : Install NX/FreeNX server
# yum -y install nx freenx
Step 4 : Restart VPS
# shutdown -r now
3. Download dan Install Remote Desktop Clientnya | Download


4. Klik Configure... lalu setting seperti dibawah ini


5. Kembali lagi ke Putty, lalu ambil private key VPS kalian, dengan command :

cat /var/lib/nxserver/home/.ssh/client.id_dsa.key

6. Copy Private Key yang muncul tadi ke NX Cilent -> Configure -> Key..



7. Klik Save -> OK lalu klik login lalu tunggu aja sampe prosesnya selesai, jika terjadi eror silahkan tanyakan ke grup kami.


Jika sudah selesai maka akan tampil seperti ini, nah sekarang tinggal install aja apa yang diperlukan seperti browser atau semacamnya :D Good Luck !


Sekian tutorial Cara Install Remote Desktop CentOS VPS, Greetz to OnixAqua :*

Author : Bimo Septiawan

Blog Archive

Blog Archive