Sabtu, 29 September 2012

Install Apache, PHP, MYSQL and phpMyAdmin di Ubuntu


I will show the command and configuration to install Apache, PHP, MYSQL and phpMyAdmin in Ubuntu
1. Installing  Apache
  • Open your terminal and type the bellow command
       #sudo apt-get install apache2
install_apache
  • It will ask for your password, Type your ubuntu password and press  enter key, it will ask for confirmation
confirm_install
  • Type y and press enter key
  • When installation is done, open your browser and type   http://localhost/
  • I will print it works into the browser
2. Installing PHP
  • Open your terminal and type the bellow command
        #sudo apt-get install php5 libapache2-mod-php5
install_php
  • It will ask for your password, Type your ubuntu password and press  enter key, it will ask for confirmation
confirm_install
  • Type y and press enter key
  • After the successful installation restart Apache using the below command
        #sudo /etc/init.d/apache2 restart
  • Open your  /var/www/ directory  and create a php file  with any name like info.php file, write some php code into the file
test_php_and_apache
  • When installation is done and you have to created the php file into the /var/www/ directory, open your browser and type
  • It will   execute the file, which confirm that your apache and php installation was successful
3.  Installing MYSQL
  • Open your terminal and type the bellow command
         #sudo apt-get install mysql-server
install_mysql
  • It will ask for your password, Type your ubuntu password and press  enter key, it will ask for confirmation
confirm_install
  • Type y and press enter key
  • During the installation you will be prompted for a password. Choose a secure and type the password and press enter. It will also ask to re enter password
set_mysql_password
4. Installing phpMyAdmin
  • Open your terminal and type the bellow command
        #sudo apt-get install phpmyadmin
install_phpmyadmin
  • It will ask for your password, Type your ubuntu password and press  enter key, it will ask for confirmation
confirm_install
  • Type y and press enter key
  • During the installation you will be prompted for a web server configuration. Select Apache and press Enter
select_web_server_for_phpmyadmin
  • Now you will be prompted for phpmyadmin configuration, Select no
phpmyadmin_config_option
  • In terminal Run the bellow command
          #sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf.d
  • Restart your apache server
         #sudo /etc/init.d/apache2 restart
  • Open your browser and type
Your Apache, PHP, MYSQL and phpMyAdmin is ready in Ubuntu, start your coding…..
Senin, 10 September 2012

Membuat Posisi Halaman Chapter Yang Berbeda Di WinWord 2007


Posisi halaman pada setiap awal chapter seringkali berbeda dengan halaman berikutnya. Bagi orang yang belum mengetahui cara praktisnya biasanya menggunakan cara konvensional yaitu dengan memisahkan masing-masing halaman, demikian juga ketika mencetaknya pun dipisah pisah, sehingga akan mengakibatkan rawan kesalahan.

Perlu diketahui, posisi halaman pada dokumen di winword 2007 sangat   fleksibel, anda dapat mengatur sesuai kebutuhan anda pada satu dokumen keseluruhan winword, sehingga akan memudahkan dalam melakukan pencetakan. 

Langsung saja, misalnya anda punya halaman nomor 10 yang berjudul BAB II, nomor halaman 10 tersebut ingin diletakkan pada bagian tengah bawah dan posisi halaman nomor 11 pada lembar selanjutnya berada di kanan atas.

Ini gambar ilustrasinya

Bagaimana caranya? Caranya dengan arahkan cursor ke bagian paling bawah halaman 10, terus tambah halaman dengan menggunakan section break  yang terletak pada page layout > break > pilih section break next page. Halaman nomor 11 yang sudah ditambah akan berjudul section 2.


Kemudian apabila halaman sudah bertambah, klik pada header/footer dan hilangkan link to previous di section 2 tadi, dan ketik halaman 11 pada header section 2. Ulang langkah-langkah tadi jika posisi halaman berbeda di halaman berikutnya. Jika akan menambah halaman baiknya memakai page number daripada header dan footer.

Semoga bermanfaat B-)

Membuat Rapi Daftar Isi di Winword 2007


Bagi yang sedang ngerjain tugas akhir atau skripsi tidak akan melewatkan halaman yang berjudul daftar isi. Semua orang bisa membuat daftar isi, namun terkadang daftar isi yang dibuat terlihat kurang rapi karena tidak samanya jarak antara titik-titik yang dibuat dengan nomor halaman.

Solusinya?
Ternyata membuat daftar isi dengan rapi sangatlah mudah, khususnya pada Winword office 2007 yaitu dengan menggunakan table of content yang berada pada toolbar references, gunakan manual tabel. Dengan demikian anda akan mendapatkan chapter dengan tiga level yang dapat dimodifikasi ataupun di copy paste sebanyak anda butuhkan.

Ini dia hasil screen shot nya

Semoga bermanfaat B-)