Pages

Wednesday, February 27, 2013

Enable openSSH di openSUSE 12.2

Sekedar catetan..
Buka file sshd_config di directory /etc/ssh/
# vim /etc/ssh/sshd_config
Cari baris berikut :

#Port 22
#AddressFamily any
ListenAddress 127.0.0.1
#ListenAddress ::
kemudian beri tanda # untuk baris ListenAddress 127.0.0.1 menjadi :
#Port 22
#AddressFamily any
#ListenAddress 127.0.0.1
#ListenAddress ::
Untuk merubah port, hapus tanda # untuk baris #Port 22 dan ganti angka 22
Untuk membuat openSSH berjalan di IP tertentu, ubah baris #ListenAddress :: menjadi ListenAddress * IPnya *
 
Untuk membuat openSSH mengijinkan hak akses root, cari baris berikut :
#PermitRootLogin yes
Hilangkan tanda #
Setelah selesai restart sshd
# service sshd restart

Sunday, February 24, 2013

Gadis Cantik Ini Lebih Jenius dari Bill Gates

Bill Gates yang mendirikan Microsoft dan berstatus sebagai salah satu orang terkaya di dunia, memang orang jenius. Namun gadis cantik yang baru berusia 16 tahun ini diyakini lebih jenius dari Gates.


Lauren Marbe, adalah seorang remaja Inggris yang tinggal di Essex. Dalam sebuah tes IQ resmi, dia mencapai angka 161 yang termasuk tertinggi di dunia. Diperkirakan hanya 1% orang di dunia punya IQ setinggi itu.

Dilihat dari penampilannya, Marbe tampak seperti remaja kebanyakan yang suka berdandan. Sehingga mungkin banyak yang tidak mengira bahwa gadis berambut blonde atau pirang ini sangatlah jenius.

Bright spark: Lauren Marbe, 16, has an IQ of 161 which is smarter than Albert Einstein, Bill Gates, and Stephen Hawking - but still loves trash TV like TOWIE

"Aku blonde, senang memakai make up dan suka bermain-main keluar," kata Marbe yang dikutipdetikINET dari Telegraph, Senin (18/3/2013).

Marbe dinilai lebih pintar dari nama-nama tenar seperti Bill Gates, Stephen Hawking bahkan Albert Einstein. Meski ketiganya belum pernah melakukan tes IQ, namun diperkirakan ketiganya memiliki IQ 160.

Marbe mendapat nilai A atau A+ dalam ujian di sekolah menengah Roding Valley High School. Marbe bercita-cita masuk ke universitas Cambridge yang sangat bergengsi di jurusan arsitektur. 

Namun, anak seorang pengemudi taksi ini juga punya impian yang lain. Yaitu menjadi seorang pemain teater terkenal di masa depan. Mantap yach gan udah cantik, pinter lagi. :D 



Passion: The 16-year-old hopes that she can use her brain to build a successful future but admits she was pleasantly surprised to have such a high IQ

sumber:http://iniunic.blogspot.com/2013/02/gadis-cantik-ini-lebih-jenius-dari-bill.html

Ubuntu Linux The Apache Configuration

How do I configure the Apache 2 web server securely under Ubuntu Linux operating systems?
The Apache configuration file is /etc/apache2/apache2.conf. Apply the recommendations in the remainder of this section to this file. Open this file using a text editor such as vi, enter :
sudo vi /etc/apache2/apache2.conf

The mount of time the server will wait for certain events before failing a request is set to 300 seconds, which is pretty high. Set it to 60 or 100 seconds :
Timeout 60Number of seconds to wait for the next request from the same client on the same connection is set to 15 seconds. It is a good value, but can be reduced to 10:
KeepAliveTimeout 10Save and close the file.
Restrict Information Leakage
The ServerTokens and ServerSignature directives determine how much information the web server discloses about the configuration of the system. ServerTokens Prod restricts information in page headers, returning only the word "Apache." ServerSignature Off keeps Apache from displaying the server version on error pages. Make sure tracking is disabled on production website. It is a good security practice to limit the information provided to clients. Edit /etc/apache2/conf.d/security file, enter:
sudo vi /etc/apache2/conf.d/security
Add or correct the following directives
ServerTokens Prod
ServerSignature Off
TraceEnable Off
Save and close the file.

Configure Ports and Default IP Address

Edit /etc/apache2/ports.conf, enter:
sudo vi /etc/apache2/ports.conf
If your IPv4 address is 74.86.48.99 update it as follows to listen on port 80:
 
NameVirtualHost 74.86.48.99:80
Listen 74.86.48.99:80
<IfModule mod_ssl.c>
    # SSL name based virtual hosts are not yet supported, therefore no
    # NameVirtualHost statement here
    Listen 443
</IfModule>
 
Save and close the file. Finally, restart Apache2 :
sudo /etc/init.d/apache2 restart
Verify ports 80 and 443 are open, enter:
sudo netstat -tulpn | grep :80
Fire a web browser and type the your domain name or server IP such as:
http://www.cyberciti.com/OR
http://74.86.48.99

Cara Start / Restart / Stop Apache Web Server di Ubuntu

Bagaimana cara menjalankan perintah start, restart atau stop web server apache2 di ubuntu ?
Untuk memulainya anda harus login sebagai root atau menggunakan perintah sudo.

Start Apache 2 Server

# /etc/init.d/apache2 startatau

$ sudo /etc/init.d/apache2 startRestart Apache 2 Server

# /etc/init.d/apache2 restartatau

$ sudo /etc/init.d/apache2 restart
Stop Apache 2 Server

# /etc/init.d/apache2 stopatau
$ sudo /etc/init.d/apache2 stopTerima Kasih. Semoga Membantu.

Cara Merubah Hostname Ubuntu Server

Pada kesempatan kali ini saya akan mencoba membahas bagaimana Cara Merubah Hostname Ubuntu Server. Cara ini juga bisa digunakan di Ubuntu Desktop tetapi menggunakan terminal.  Langsung aja yuk begini caranya :
  1. Buka terminal anda dengan cara ctrl + alt + t dan masuk sebagai root dengan perintah :
    sudo su
  2. Setelah itu edit hostname ganti hostname yang lama dengan yang baru dengan cara :
    vi /etc/hostname
  3. Setelah itu kita edit hostnya samakan host sesuai hostname dengan cara :
    vi /etc/hosts.conf
  4. Setelah itu reboot komputer atau ubuntunya maka hostname ubuntu anda akan berubah. Semoga Bermanfaat. Terima Kasih.

Thursday, February 21, 2013

Membuat Web Server Dengan Ubuntu Server

Nah sekarang saya akan membagi pengalaman saya mengenai web server. Kali ini saya akan menulis cara membuat web server pada sistem operasi linux lebih tepatnya saya akan memberi judul artikel ini yaitu Membuat Web Server Dengan Linux Ubuntu Server. Disini saya akan menggunakan Ubuntu Server 11.4 sebagai sistem operasinya. Berbeda dengan windows, dilinux kita banyak bermain dengan command-command yang sedikit menjenuhkan, tapi disitu serunya dan tantangannya linux. Hahaha, Langsung aje nyok kaga pake lama :).
  1. Pertama login sebagai root dan install dulu web server apache, ketikkan perintah dibawah ini  :

    # sudo apt-get install apache2
  2. kedua install database server :

    # sudo apt-get install mysql-server
  3. kemudian install php untuk apache  :

    # sudo apt-get install php5

  4. selanjutnya install mysql untuk apache  :

    # apt-get install libapache-mod-acct-mysql
  5. selanjutnya install php modulnya  :

    # apt-get install php5-mysql
Nah selanjutnya coba cek apakah web server yg sudah tersintall sudah berjalan atau tidak. Buka browser anda, dan ketikkan ip web server tersebut. Bila berhasil terdapat tulisan sebagai berikut it's work.

Lalu selanjutnya untuk mempermudah mengolah database mysqlnya, kita akan menginstall
phpMyAdmin dengan cara ketik perintah  :


# sudo apt-get install phpmyadmin


Setelah di install coba akses http://ip_server/phpmyadmin.
Untuk menaruh data web kita secara defaul letakkan di /var/www/.
Untuk data databasenya secara default terletak di /var/lib/mysql/. 
Selesai deh, mudah-mudahan sangat membantu yah buat yang ingin membuat web server di linux. :)

Cara Install Ubuntu Server 12.04

Berikut proses instalasi Ubuntu Server 12.04 :

  1. Masukan CD Instalasi dan lakukan booting menggunakan CD tersebut.
  2. Pilih Bahasa "English".
  3. Pilih "Install Ubuntu Server".
  4. Pilih Bahasa Instalasi dan System "English".
  5. Pilih lokasi "Other - Asia - Indonesia".
  6. Local Setting "en.US-UTF-8".
  7. Deteksi Keyboard Otomatis "Yes - Continue".
  8. Network DHCP "Cancel (Manual konfigurasi)".
  9. Hostname "Nama Komputer/Mesin".
  10. Buat User "Seterah : Full name, username (user login) dan password".
  11. Encrypt your home directory? "No".
  12. Is this time zone correct? "Jakarta - Yes".
  13. Partition Disk "Pilih Manual, sesuai kebutuhanContoh Buat Server Belajar swap = 2048MB / = 5GB".
  14. Write the changes to disk? "Yes".
  15. HTTP Proxy information? "Kosongkan - Continue".
  16. Upgardes on this system? "No otomatic updates".
  17. Chose software to install? "Tergantung Kebutuhan, Server untuk apa".
  18. GRUB to MBR? "Yes".
  19. Installation Complete.
Selesai deh Cara Install Ubuntu Server 12.04, biasanya kalau Ubuntu Server itu digunakan untuk membuat web server, email server, proxy dan lain-lain.
Blog-nya Anak Warkir. All rights reserved. © Maira Gall.