Saturday, January 3, 2015

Install Nginx Gui (Mirip XAMPP) di Linux

Install Nginx Gui (Mirip XAMPP) di Linux
 Testing On Kali Linux 1.09

Download Programnya disini

Bitnami Nginx Stack


Download bitnami-nginxstack-1.6.2-1-linux-installer.run

Langkah Installasi via terminal

# chmod 755 bitnami-nginxstack-1.6.2-1-linux-installer.run

# ./bitnami-nginxstack-1.6.2-1-linux-installer.run

Next, Next aja sampai Finish

Aktifkan Semua Servicenya




test Dari browser
http://localhost:8080/

secara default file .php tidak di load secara otomatis
misal anda mau buka webserver wordpress harus disi dengan alamat lengkap
contoh
http://localhost:8080/wordpress/index.php


untuk meload secara otomatis ikuti konfigurasi sebagai berikut :
1. stop semua service
2. edit konfigurasi bitnami (jangan lupa buat backup)

# vi /opt/nginxstack-1.6.2-1/nginx/conf/bitnami/bitnami.conf

tambah kan index.php di baris server dan https
---------------------------------------------------------------------------------------------------------------------------------

    # HTTP server

    server {
        listen       8080;
        server_name  localhost;

        location / {
            root   html;
            index index.php index.html index.htm;
        }
---------------------------------------------------------------------------------------------------------------------------
    ssl_ciphers  HIGH:!aNULL:!MD5;
       ssl_prefer_server_ciphers  on;

       location / {
           root   html;
           index index.php index.html index.htm;
       }
--------------------------------------------------------------------------------------------------------------------------------
3. jalan kembali semua service bitnami nginx stack
# cd /opt/nginxstack-1.6.2-1
# ./manager-linux.run







Friday, January 2, 2015

Install LEMP di Centos 6.5

Install LEMP on centos 6.5
(Linux, EngineX (Nginx), Mysql, PHP)
sumber :
http://www.krizna.com/centos/install-lemp-on-centos-6/

==========>>>>> Install Nginx <<<<<==========
1. Download Nginx, dari sini or mirror google
# rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm

2. Buat Reposity Nginx
# vi /etc/yum.repos.d/nginx.repo
isi filenya sbb :
-------------------------------------------------------------
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/
gpgcheck=0
enabled=1
--------------------------------------------------------------

3. Update dan install Nginx
# yum check-update
# yum install nginx

4. Jalankan Service Nginx
# /etc/init.d/nginx start

5. Setting Setiap boot selalu on
# chkconfig nginx on

6. Test dari Browser
http://localhost or http://127.0.0.1

-----------------------------------------------------------------
File Konfigurasi standar nginx semuany ada disini
Default document root directory: /usr/share/nginx/html
Default configuration file: /etc/nginx/nginx.conf
Default Virtual host config directory: /etc/nginx/conf.d/
Default Virtual host config file: /etc/nginx/conf.d/default.conf
-----------------------------------------------------------------

=======>>>>> Installasi MYSQL <<<<<=========

1. Install Mysql
# yum install mysql mysql-server

2. Jalankan Service MYSQL
# /etc/init.d/mysqld start

3. Setting Setiap boot selalu on
# chkconfig mysqld on

4. Setting MYSQL dan Password
# /usr/bin/mysql_secure_installation
password root kosong, kemudian isi passwordnya 2 kali
selanjutnya enter, enter aja

5. Tes Mysql menggunakan password yang tadi
# mysql -u root -p
untuk keluar dari mysql>quit; atau mysql>\q

==========>>>>> Installasi PHP <<<<<==========
1. Installasi PHP-FPM
# yum install php-fpm php-mysql

2. Jalankan Service php-fpm
# /etc/init.d/php-fpm start

3. Setting Setiap boot selalu on
# chkconfig php-fpm on

4. Setting File .php biar bisa running di browser
buat file runphp.conf di folder /etc/nginx/conf.d/
# vi /etc/nginx/conf.d/runphp.conf
isi filenya sbb:
------------------------------------------------------------------server {
 # Port nya dibedain biar ga bentrok sama apache
    listen       8080;                        
# Nama Servernya localhost bisa diganti domain anda
    server_name  localhost;                    
    location / {
# folder defaultnya bisa dirubah sesuai keinginan anda
        root   /usr/share/nginx/html;          
        index index.php  index.html index.htm;
    }
    location ~ \.php$ {
        root           /usr/share/nginx/html;  
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }
}

--------------------------------------------------------------------
5. Restart Service nginx
# /etc/init.d/nginx restart

6. test file .php di browser
Buat File test.php di /usr/share/nginx/html
# vi /usr/shar/nginx/html/test.php
isi filenya
---------------------------------------------------
echo "Bismillah, Alhmadulillah PHPnya bisa running";
?>
----------------------------------------------------

7.jalankan dari browser
http://localhost:8080/test.php
atau
http://127.0.0.1:8080/test.php

Wednesday, November 26, 2014

Tutorial Singkat Domain Windows Server 2008 & Exchange 2010

Domain Controller
WIn+R
- dcpromo
- Use Advanced
- Create New Domain
- FQDN = isi namaserver.local
- Domain NetBIOS=namanya
- Set Forest Function Level=Windows Server 2008 R2
- Lanjut aja ampe Finish

Reset trial 10hari max 5xreset
Win+R
 slmgr.vbs –rearm,


Install Exchange 2010 local

- Server Manager
- Configure IE ESC, off
- Install MS Office 2010 Filter Pack
- Buka PowerShell
-------------------------------------------------------------- 
Import-Module ServerManager
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,Web-Asp-Net,Web-Client-Auth,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Logging,Web-Http-Redirect,Web-Http-Tracing,Web-ISAPI-Filter,Web-Request-Monitor,Web-Static-Content,Web-WMI,RPC-Over-HTTP-Proxy -Restart
--------------------------------------------------------------

- Service Manager
- Configuration
- Services
- Net. Tcp Port Sharing Servoce Properties (EX1) --> Automatic
- Install Exchange 2010
- (bypas update)

Konfigurasi Exchange
- Exchange Management Console
- Mexc on-Premises
- Organization Configuration
- Hub Transport
- Accepted Domains
- New Accepted Domain (Buat Nama & Set Default)
- Send Connectors
--------------------------------------------------------------
- New Send Connector
Nama,
(custom )Use Internet
Add
SMTP
Address = *
Checklist Include All
Network Setting=Route
Add
Fully = smtp.namanyaapa.com
Configure Smart Host = None

--------------------------------------------------------------

Server Configuration
- hub Transport
- Default Server=properties
- Permission Group
Checklist = Anonymous users



Start, Administrative tools, pilih
- Active Directory Users and Computers
- di nama PC pilih user
- Buat User baru = Password Never Expires


Konfigurasi User
- Exchange Management Console
- Recipient Config
- Mailbox
- New Mailbox
- User Mailbox
- Existing User, klik add
- Alias=nama user yang dibuat tadi


- Organization Config
- Hub Transport
- Email Address Policies
- New Policy
- isi nama, browse pilih user
- Add, SMTP Email Addres=Select Acepted pilih nama yang dibuat


Tes Email
buka IE
https://localhost/owa

Ebooknya sedang disusun

installasi Ubuntu Server 14.04

A. Persiapn Istalsi .................... 3

B. Langkah Instalsi ................... 4

C. Instalsi Websrve (LAMP) ................ 20

Seting Ubunt Serv ................... 20

Instalsi Lynx (Text Browser For Linux) .............. 2

Instalsi Apache .................... 2

Instalsi Mysql ..................... 25

Instalsi PH ..................... 27

Instalsi CMS Wordpes ................... 31

D. Instalsi Fle Srve ................... 35

Instalsi Samba .................... 35

Instalsi FTP Serv ................... 38

E. Instalsi Remote ................... 41

Instalsi Telnt ..................... 41

Instalsi SH ..................... 42

F. Intalsi IP, DNS dan DHCP .................
Seting IP .....................
 Seting Virtualisi IP ...................
Instalasi DNServer ...................
Instalasi DHCP Serv ...................
Instalasi Vrtual Domain


ebooknya disini, tapi belum selesai

https://drive.google.com/file/d/0B9pwkgGLPbOPeTNMMzNzODBzb00/view?usp=sharing

Monday, November 10, 2014

Cara Manual Install Wordpress di Ubuntu 12.04 & Ubuntu 14.04

Cara Manual Install Wordpress
di Ubuntu 12.04 & Ubuntu 14.04 baikdesktop maupun server
(Syarat sudah terinstal php5 dan mysql)

Buka Terminal
1. Download Filenya
wget http://wordpress.org/latest.tar.gz

2. extract Filenya
tar zxvf latest.tar.gz

3. Buat Folder wordpress
a. untuk Ubuntu 12.04
sudo mkdir /var/www/wordpress

b. untuk Ubuntu 14.04
sudo mkdir /var/www/html/wordpress

4. copy semua file hasil extract sesuai versi ubuntunya
a. untuk Ubuntu 12.04
sudo cp -a wordpress/. /var/www/wordpress

a. untuk Ubuntu 14.04
sudo cp -a wordpress/. /var/www/html/wordpress

5. Buat Data di mysql
mysql -u root -p
create database wpdata;
create user wpuser;
set password for wpuser = password("pas123");
GRANT ALL PRIVILEGES ON wpdata.* TO wpuser@localhost IDENTIFIED BY ‘pas123’;
FLUSH PRIVILEGES;
\q

6. Setting config wordpress
a. untuk Ubuntu 12.04
cd /var/www/wordpress
sudo cp wp-config-sample.php wp-config.ph
sudo nano wp-config.php

b. untuk Ubuntu 14.04
cd /var/www/html/wordpress
sudo cp wp-config-sample.php wp-config.ph
sudo nano wp-config.php

7. edit file wp-config.php sbb:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wpdata');

/** MySQL database username */
define('DB_USER', 'wpuser');

/** MySQL database password */
define('DB_PASSWORD', 'pas123');

8. lakukan restar ubuntu
sudo reboot

9. tes dari client
http://localhost/wordpress

(c) 2014 by makam204.blogspot.com

Friday, November 7, 2014

Cara Manual USB Safely Remove di linux

Cara Manual USB Safely Remove di linux menggunakan udisks

Fungsi Ini lebih aman karena mematikan power led dari HDD Exsternal atau
Flashdisk anda


- pertama install dulu aplikasinya
sudo apt-get install udisks

- cek device flashhdisk yang aktif (Contoh terbaca di sdb1)
sudo fdisk -l


- Unmout Disk
sudo udisks --unmount /dev/sdb1
 
- Eject Disk
sudo udisks --detach /dev/sdb
 
cek lampu HDD Exsternal / Flashdisk anda sudah mati
  

Wednesday, November 5, 2014

Cara Cek IP & DNS Modem 3G

Buka Terminal
ketik

nm-tool