Subscribe For Free Updates!

We'll not spam mate! We promise.

BACKUP & RESTORE DEBIAN / UBUNTU SERVER

BACKUP & RESTORE DEBIAN / UBUNTU SERVER

    Berhubung sudah malam kita langsung saja ke intinya Cara BACKUP & RESTORE DEBIAN / UBUNTU SERVER.

   Pertama Jika Debian Server atau Ubuntu Server Sudah Terinstall Dengan Baik Langsung Saja Ke Langkah berikutnya .

   1. Buka Putty Login Sebagai Root 
Lalu Ketik:
# cd /
# mkdir backup
# cd backup
# nano fullserver.sh

   Lalu Masukan Scrift Di Bawah Ini
 
 tar -cvpf /backup/fullbackup.tar --directory=/ --exclude=proc --exclude=sys --exclude=dev/pts --exclude=backup .

 Jika Sudah Tekan ctrl+x Lalu Pilih Y Untuk Menyimpannya.

   Selanjutnya Ketik  :
# chmod 750 /backup/fullserver.sh
# cd backup
# fullserver.sh


   Akhirnya Selesai Juga Cara Backup Debian / Ubuntu Server , Dan Untuk Mengembalikannya / Merestorenya Silakan Simak Selanjutnya .....

Untuk Merestore nya Cukup Ketikan :
# cd /backup
# tar -xvpf /fullbackup.tar 

   Tunggu Sampai Selesai Dan Selamat Debian / Ubuntu Anda Berhasil Di Restore .

Cek Spesifikasi Komputer Di Ubuntu Server

Cek Spesifikasi Komputer Di Ubuntu Server

Untuk Mengetahui Spesifikasi Komputer Kita di Linux khususnya di Ubuntu kita bisa melihatnya :

1. Melalui Terminal Seperti Putty

 ketik : sudo lshw

 Setelah itu kita akan mengetaui Spesifikasi PC kita di Terminal tesebut 
Kita bisa menampilkan spesifikasi komputer kita dalam bentuk HTML dan bisa dilihat langsung lewat browser dengan cara mengetik perintah berikut :

ketik : lshw -html > infohardware.html

 Setelah itu file infohardware.html tersimpan di Home Folder, Buka dengan Web Browser untuk melihat spek PC kita.

SETTING MIKROTIK UNTUK GAME ONLINE DAN BROWSING

SETTING MIKROTIK UNTUK GAME ONLINE DAN BROWSING

Note:
  • Script di bawah hanya berjalan pada mikrotik versi 3.30 ke atas.
  • Bandwidth yang diimplementasikan 1Mbps/256Kbps (SPEEDY)

Langsung ke TKP..!!!

Code:

/interface
set 0 name=speedy ----------->(public)
set 1 name=lan ----------------> (local)


/ip address
add address=192.168.0.200/24 interface=speedy
add address=192.168.1.1/24 interface=lan


/ip route
add gateway=192.168.0.1 -------->(alamat modem ADSL)


/ip dns
set primary-dns=222.124.204.34
set secondary-dns=202.134.0.155
set allow-remote-requests=yes


/ip fi nat
add chain=srcnat action=masquerade out-interface=speedy


INI ROUTING UNTUK GAME ONLINE:
/ip firewall mangle \
add action=mark-connection chain=prerouting \
comment="GAME ONLINE" dst-port=\
"1818,2001,3010,4300,5105,5121,5126,5171,5340-5352,6000-6001,6000-6152,7777" \
new-connection-mark="zar-goc" passthrough=yes protocol=tcp

/ip firewall mangle \
add action=mark-connection chain=prerouting \
disabled=no dst-port="7341-7350,7451,8085,9600,9601-9602,9300,9400,9700,93\
76-9377,10001-10011,40000" \
new-connection-mark="zar-goc" passthrough=yes protocol=tcp

/ip firewall mangle \
add action=mark-connection chain=prerouting \
dst-port="10009,13008,16666,28012,11011-11041,10402,11031,12011,12110,13413,15000-15002,15001,15002" \
new-connection-mark="zar-goc" \
passthrough=yes protocol=tcp

/ip firewall mangle \
add action=mark-connection chain=prerouting \
disabled=no dst-port="16402-16502,18901-18909,19000,19101,22100,27780,29000,29200,39100,39110,39220,39190,49100" \
new-connection-mark="zar-goc" passthrough=yes protocol=tcp

/ip firewall mangle \
add action=mark-connection chain=prerouting \
dst-port=14009-14010 new-connection-mark="zar-goc" \
passthrough=yes protocol=tcp

/ip firewall mangle \
add action=mark-connection chain=prerouting \
dst-port="1293,1479,6100-6152,7777-7977,9401,9600-9602,12020-12080,30000,40000-40010" \
new-connection-mark="zar-goc" passthrough=yes protocol=udp

/ip firewall mangle \
add action=mark-connection chain=prerouting \
dst-port=42051-42052,11100-11125,11440-11460 \
new-connection-mark="zar-goc" passthrough=yes protocol=udp

/ip firewall mangle \
add action=mark-connection chain=prerouting \
dst-port=14009-14010 new-connection-mark="zar-goc" \
passthrough=yes protocol=udp

GAME DIBUAT PREROUTING AGAR TIDAK BERLIKU DI TUBUH ROUTER
/ip firewall mangle \
add action=mark-packet chain=prerouting \
connection-mark="zar-goc"  \
new-packet-mark="zar-gopd" passthrough=no

INI ROUTING UNTUK GAME FACEBOOK
/ip firewall mangle \
add action=mark-connection chain=prerouting \
comment="GAME FACEBOOK" dst-port=843,9339 \
new-connection-mark="zar-gfc" passthrough=yes \
protocol=tcp

/ip firewall mangle \
add action=mark-packet chain=forward \
connection-mark="zar-gfc" disabled=no \
dst-address=192.168.1.0/24 new-packet-mark="zar-gfpd" \
passthrough=no

/ip firewall mangle \
add action=mark-packet chain=forward \
connection-mark="zar-gfc" new-packet-mark="zar-gfpu"\
passthrough=no src-address=192.168.1.0/24


INI PCQ UNTUK SPEED BAGI RATA
/queue type \
add kind=pcq name=DOWN \
pcq-classifier=dst-address,dst-port

/queue type \
add kind=pcq name=UP \
pcq-classifier=src-address,src-port


INI QUEUE UNTUK GAME ONLINE
/queue tree \
add name="2.GAME DOWN" \
parent=global-out priority=2


/queue tree \
add name="3.GAME UPLOAD" \
parent=speedy priority=2


/queue tree \
add name="1.GAME ONLINE DOWN" \
packet-mark="zar-gopd" \
parent="2.GAME DOWN" priority=2 queue=DOWN


/queue tree \
add max-limit=256000 \
name="2.GAME FACEBOOK DOWN" \
packet-mark="zar-gfpd" \
parent="2.GAME DOWN" priority=3 queue=DOWN


/queue tree \
add name="1.GAME ONLINE UPLOAD" \
packet-mark="zar-gopd" \
parent="3.GAME UPLOAD" priority=2 queue=UP


/queue tree \
add limit-at=0 max-limit=128000 \
name="2.GAME FACEBOOK UPLOAD" \
packet-mark="zar-gfpu" \
parent="3.GAME UPLOAD" priority=3 queue=UP


INI UNTUK LIMIT FILE EXTENSI, SEPERTI .EXE .RAR .YOUTUBE, DLL

/ip firewall layer7-protocol
add name="YOUTUBE DOWNLOAD" \
regexp="http/(0\\.9|1\\.0|1\\.1) \
[\\x09-\\x0d ][1-5][0-9][0-9] \
[\\x09-\\x0d -~]*(content-type: video)"
add name=EXE regexp="\\.(exe)"
add name=RAR regexp="\\.(rar)"
add name=ZIP regexp="\\.(zip)"
add name=7z regexp="\\.(7z)"
add name=WMV regexp="\\.(wmv)"
add name=MPG regexp="\\.(mpg)"
add name=MPEG regexp="\\.(mpeg)"
add name=AVI regexp="\\.(avi)"
add name=FLV regexp="\\.(flv)"
add name=WAV regexp="\\.(wav)"
add name=MP3 regexp="\\.(mp3)"
add name=MP4 regexp="\\.(mp4)"
add name=ISO regexp="\\.(iso)"
add name=3GP regexp="\\.(3gp)"
add name=MOV regexp="\\.(mov)"
add name=MKV regexp="\\.(mkv)"
add name="YOUTUBE STREAMING" regexp=youtube
add name=PORN regexp=porn
add name=TUBE regexp=tube
add name=VIDEO regexp=video
add name=MOVIE regexp=movie
INI ROUTING UNTUK EXTENSI

/ip firewall mangle
add action=mark-packet chain=forward \
comment="LIMIT EXTENTION" disabled=no \
layer7-protocol="YOUTUBE DOWNLOAD" \
new-packet-mark="YOUTUBE DOWNLOAD" \
passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol="YOUTUBE STREAMING" \
new-packet-mark="YOUTUBE STREAMING" \
passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=TUBE \
new-packet-mark=PORN1 passthrough=no
add action=mark-packet chain=forward disabled=no \
layer7-protocol=PORN \
new-packet-mark=PORN2 passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=VIDEO \
new-packet-mark=PORN3 passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=MOVIE \
new-packet-mark=PORN4 passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=MKV \
new-packet-mark=MKV passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=MP3 \
new-packet-mark=MP3 passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=MP4 \
new-packet-mark=MP4 passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=ZIP \
new-packet-mark=ZIP passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=EXE \
new-packet-mark=EXE passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=FLV \
new-packet-mark=FLV passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=ISO \
new-packet-mark=ISO passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=MOV \
new-packet-mark=MOV passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=MPEG \
new-packet-mark=MPEG passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=MPG \
new-packet-mark=MPG passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=RAR \
new-packet-mark=RAR passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=WAV \
new-packet-mark=WAV passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=WMV \
new-packet-mark=WMV passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=ISO \
new-packet-mark=3GP passthrough=no
add action=mark-packet chain=forward \
disabled=no layer7-protocol=7z \
new-packet-mark=7z passthrough=no
INI ROUTING UNTUK BROWSING (DOWNLOAD/UPLOAD)

/ip firewall mangle \
add action=mark-connection chain=prerouting \
comment=HTTP  dst-port=21,80 \
new-connection-mark="browsing-con" passthrough=yes protocol=tcp
/ip firewall mangle \
add action=mark-packet chain=forward \
connection-mark="browsing-con" disabled=no \
dst-address=192.168.1.0/24 \
new-packet-mark="download" passthrough=no
/ip firewall mangle \
add action=mark-packet chain=forward \
connection-mark="browsing-con" disabled=no \
new-packet-mark="upload" \
passthrough=no src-address=192.168.1.0/24
INI QUEUE UNTUK KEGIATAN  BROWSING-DOWNLOAD-UPLOAD

/queue tree \
add max-limit=128000 \
name="UPLOAD-BROWSING" \
packet-mark="upload" parent=speedy \
priority=4 queue=UP
/queue tree \
add max-limit=750000 \
name="1.2 HTTP-DOWN" \
parent=global-out priority=2
/queue tree \
add max-limit=750000 \
name="1.3 BROWSING DOWN" \
packet-mark="download" \
parent="1.2 HTTP-DOWN" \
priority=4 queue=DOWN
/queue tree \
add max-limit=512000 \
name="1.4 LIMIT EXTENTION" \
parent="1.2 HTTP-DOWN" priority=5
/queue tree
add name=YOUTUBE \
parent="1.4 LIMIT EXTENTION" priority=5
add name="YOUTUBE STREAMING" \
packet-mark="YOUTUBE STREAMING" \
parent=YOUTUBE priority=5 queue=DOWN
add name=MKV packet-mark=MKV \
parent="1.4 LIMIT EXTENTION" \
priority=5 queue=DOWN
add name=MP3 packet-mark=MP3 \
parent="1.4 LIMIT EXTENTION" \
priority=5 queue=DOWN
add name=MP4 packet-mark=MP4 \
parent="1.4 LIMIT EXTENTION" \
priority=5 queue=DOWN
add name=ZIP packet-mark=ZIP \
parent="1.4 LIMIT EXTENTION" \
priority=5 queue=DOWN
add name=EXE packet-mark=EXE \
parent="1.4 LIMIT EXTENTION" \
priority=5 queue=DOWN
add name=ISO packet-mark=ISO \
parent="1.4 LIMIT EXTENTION" \
priority=5 queue=DOWN
add name=AVI packet-mark=AVI \
parent="1.4 LIMIT EXTENTION" \
priority=5 queue=DOWN
add name=MOV packet-mark=MOV \
parent="1.4 LIMIT EXTENTION" \
priority=5 queue=DOWN
add name=MPEG packet-mark=MPEG \
parent="1.4 LIMIT EXTENTION" \
priority=5 queue=DOWN
add name=MPG packet-mark=MPG \
parent="1.4 LIMIT EXTENTION" \
priority=5 queue=DOWN
add name=RAR packet-mark=RAR \
parent="1.4 LIMIT EXTENTION" \
priority=5 queue=DOWN
add name=WAV packet-mark=WAV \
parent="1.4 LIMIT EXTENTION" \
priority=5 queue=DOWN
add name=WMV packet-mark=WMV \
parent="1.4 LIMIT EXTENTION" \
priority=5 queue=DOWN
add name=3GP packet-mark=3GP \
parent="1.4 LIMIT EXTENTION" \
priority=5 queue=DOWN
add name=7z packet-mark=7z \
parent="1.4 LIMIT EXTENTION" priority=5 \
queue=DOWN
add name="YOUTUBE DOWNLOAD" \
packet-mark="YOUTUBE DOWNLOAD" \
parent=YOUTUBE priority=5 queue=DOWN
add name=PORN \
parent="1.4 LIMIT EXTENTION" priority=5
add name=PORN1 \
packet-mark=PORN1 parent=PORN \
priority=5 queue=DOWN
add name=PORN2 packet-mark=PORN2 \
parent=PORN priority=5 queue=DOWN
add name=PORN3 packet-mark=PORN3 \
parent=PORN priority=5 queue=DOWN
add name="MIVO TV" \
packet-mark="MIVO TV" parent=\
"1.4 LIMIT EXTENTION" \
priority=5 queue=DOWN
add name=PORN4 packet-mark=PORN4 \
parent=PORN priority=5 queue=DOWN
Kesimpulan:
1. Game online dirouting langsung ke alamat port game online dan menggunakan bandwith maksimal (unlimited) karena tidak terlalu memakan bandwith sekalipun game PB hanya butuh koneksi dengan trafic yang mulus.
2. Browsing dirouting pada port 80 dan 21 dan diberikan bandwith maksimal 750Kbps untuk download dan   128Kbps untuk upload dan tidak boleh melebihi dari itu atau game online akan nge-lag.
3. Limit Extensi dirouting berdasarkan layer 7 protocol dan diberikan maksimal bandwidth 512Kbps dan tidak boleh lebih dari itu atau browsing dan game online akan terganggu.

Sumber : Bandung Jarkom

APPS ANDROID

APPS ANDROID


RAM MANAGER PRO

RAM MANAGER PRO

PicsArt Photo Studio

RAM MANAGER PRO


WINBOX ANDROID

RAM MANAGER PRO  

Children Tracker Ver 2.9  

Apps Penyadap For Android















RAM MANAGER PRO 

MX Player Pro V1.7
RAM MANAGER PRO

CARA BLOCK SITUS PORNO DENGAN PAGE HTML BERGAMBAR

Ringkasan ini tidak tersedia. Harap klik di sini untuk melihat postingan.

Install EasyHotspot Di ClearOS

Install EasyHotspot Di ClearOS

Hardware Requirements:
1. PC with at least 2 NICs ( I used 3 NICs on mine)
    i. eth0: Internet
    ii. eth1: Hotspot LAN
    iii. eth2: Admin (optional)
2. Access Point

DOWNLOAD Software Requirements:
1. ClearOS
2. Free Radius 5.2
3. Coova-Chilli 1.2.5
4. Easyhotspot web only 0.2

1. Install ClearOS
- Install ClearOS as a Gateway i.e. choose Gateway mode on system mode
- Select software modules
- Graphical Console
- DHCP and Local DNS Servers
- Mail Server
- Web Server
- Database Server / MySQL
- Optional modules (Web Proxy, Antimalware, Antispam, Bandwidth Manager, Intrusion Protection, Protocol filter)
 - Follow on-screen instructions to complete installation and reboot the system. The system reboots into a GUI screen. Login using root and password you set during installation and Complete Installation wizard tasks

Firewall Settings
Go to Firewall by clicking the Firewall link at the end of the installation wizard. Add firewall rules to allow SSH and HTTP

IP Settings
Go to Network>IP Settings and make sure eth0 is configured for Internet Access and eth1 is set on something line Hot LAN or LAN and on DHCP. If you are using 3 NICs like I did, set eth2 with static/dhcp LAN IP address. Ensure the links are up.
Check Internet connectivity by open a second terminal (CTRL+F2). Login and trying pinging a web address. This verifies that Internet and DNS are working well. If successful, proceed to install FreeRadius2 otherwise check your connections.

2. Install/Setup FreeRadius5
(( KLIK ME ))
For ClearOS 5.2, run your updates. For older versions, you must upgrade to 5.2 before you can use this module.
# yum update

Install the FreeRadius service by running the following from command line:
# yum --enablerepo=base-plus install app-freeradius

# service syswatch restart

 In Webconfig, click on the RADIUS server link under Network » Settings » RADIUS Server
To start the service, click Start. To make the service start automatically on each reboot, click To Auto
You may assign a group to authenticate through your RADIUS server. Select a group and click Update.

To allow a remote device to use the RADIUS server, give the client remote device(s) a nickname without spaces. Insert an IP address or CIDR. Select a password to be used by these client devices (e.g. testing123 from HS_RADSECRET=testing123) and click Add.

 NOTE: You can follow the complete HOWTO (www.clearfoundation.com/docs/howtos/sett...eradius2_to_use_ldap) if you want to use LDAP authentication.

 Configure FreeRadius2 to use SQL

Install freeRadius5-mysql
# yum install freeradius5-mysql

Edit radius.conf file
To do this, edit /etc/raddb/radiusd.conf and pretty much ignore everything except around about line 640 in the modules section uncomment or make sure that you have,

$INCLUDE sql.conf

and then further down make sure you have,

$INCLUDE sql/mysql/counter.conf

Then further around line 710 in the instantiate section make sure you have,

chillispot_max_bytes
noresetcounter


which are our counters which we define in the next section. Then in /etc/raddb/sites-enabled/default, in the authorise section after it has the "Look in an SQL database..." it has an "sql" entry that may be commented out so uncomment it and add the new counters so that it is now,


sql
chillispot_max_bytes
noresetcounter

and then later in /etc/raddb/sites-enabled/default in the accounting section uncomment the sql about line 343,

sql

and then later in /etc/raddb/sites-enabled/default in the session section uncomment the sql about line 370,

sql

and then finally in /etc/raddb/sites-enabled/default in the post-auth section uncomment the sql about line 370,

sql

That should be it. Now update the counter.conf in the next section.

FreeRadius SQL counter.conf settings needed
To match the radcheck and radgroupchecks we use then you also need to add two matching counter.conf checks as follows. Edit the /etc/radddb/sql/mysql/counter.conf file (unless the counter is already defined in that), add the following at the end,

sqlcounter noresetcounter {
counter-name = Session-Timeout
check-name = Session-Timeout
reply-name = Session-Timeout
sqlmod-inst = sql
key = User-Name
reset = never
query = "SELECT SUM(Acctsessiontime) FROM radacct WHERE serName='%{%k}'"
}

sqlcounter chillispot_max_bytes {
counter-name = ChilliSpot-Max-Total-Octets
check-name = ChilliSpot-Max-Total-Octets
reply-name = ChilliSpot-Max-Total-Octets
sqlmod-inst = sql
key = User-Name
reset = never
query = "SELECT SUM(AcctInputOctets) + SUM(AcctOutputOctets) FROM radacct WHERE UserName='%{%k}'"
}

IMPORTANT: Make sure you comment out all occurrences ldap and files in /etc/raddb/sites-enabled/default


Setup easyhotspot database to be used by FreeRadius

Go to Webconfig>Server>MySQL and set MySQL to Auto start On Boot and start the Service. You will be required to supply a password for MySQL (if you have not set one already)

On the terminal:

#mysql –u root –p

mysql> create database easyhotspot_opensource;
mysql>CREATE USER 'easyhotspot'@'localhost';
mysql>SET PASSWORD FOR 'easyhotspot'@'localhost' = PASSWORD('easyhotspot');
mysql>GRANT ALL ON easyhotspot_opensource.* to 'easyhotspot'@'localhost';
mysql> quit

Easyhotspot Database Setup
Download easyhotspot from here 2 sourceforge.net/projects/easyhotspot/
Recommended: Download the modified and ‘tested as working’ easyhotspot herewikieducator.org/File:Easyhotspot_opensource_2011-08-22.odt

NOTED: rename the file and change file extension from odt to sql

# mysql –u root –p easyhotspot_opensource < easyhotspot_opensource_2011-08-22.sql

Setup Easyhotspot

Preparation
#yum install php php-mysql php-gd php-pear php-db

# wget pear.php.net/go-pear.phar
# php go-pear.phar
# pear install DB

Restart Apache1
#Service httpd restart

Copy the easyhotspot folder to /opt
Create a soft link in /var/www/html for easyhotspot/htdocs
# cd /var/www/html/
# ln –s /opt/easyhotspot/htdocs easyhotspot

Setup Raddb To Use Easyhotspot_Opensource Database
Edit /etc/raddb/sql.conf and set the following:-
# vi /etc/raddb/sql.conf


# Connection info:
server = "localhost"
#port = 3306
login = " easyhotspot "
password = " easyhotspot "

# Database table configuration for everything except Oracle
radius_db = " easyhotspot _opensource"

Install/Setup Captive Portal

(www.clearfoundation.com/docs/howtos/captive_portal)

Preparation
You will need the working RADIUS server to get this going. Be sure to do the 'Additional setup' items at the bottom so that PAP is working.

You will need to set up localhost as an authorized client of the RADIUS server.
Create a user called coovachilli with mail only and make a group called chilli.


Get the code.
wget www.clearcenter.com/media/dev/coova-chilli-1.2.5-1.i386.rpm
wget www.clearcenter.com/media/dev/haserl
cp haserl /usr/sbin/
chmod +x /usr/sbin/haserl

Install the code

rpm -Uvh coova-chilli-1.2.5-1.i386.rpm

Configure Coovachilli

/etc/chilli/defaults

Set the following values: HS_LANIF, change this value if it is wrong (ie. HS_LANIF=eth2).

HS_NETWORK, set this to the values of your network (ie. HS_NETWORK=192.168.1.0).
HS_NETMASK, change this value if it is wrong (ie. HS_NETMASK=255.255.255.128).
HS_UAMLISTEN, set this to the IP of your server (ie. HS_UAMLISTEN=192.168.1.1).

HS_DNS1 and HS_DNS1, set these to the IP address of your local DNS server, in this case your server (ie. HS_DNS1=192.168.1.1 and HS_DNS2=192.168.1.1).

HS_RADSECRET, set this to the secret password that you placed in the RADIUS configuration for the localhost entry in Webconfig (ie. HS_RADSECRET=mysecretpassword).

HS_RAD_PROTO=mschapv2, set this so the program knows to use the NT-Password infrastructure of LDAP described in the PAP section of the FreeRADIUS 2 Howto. This value does NOT exist and you must define it (set this to HS_RAD_PROTO=mschapv2).

HS_UAMDOMAINS, set all the domains that you want for your 'walled garden. These sites will work even if users don't authenticate via your captive portal:

HS_UAMDOMAINS=".clearcenter.com,.clearfoundation.com"

Start Coova Chilli
#service chilli start

Testing
Connect a client to network (or Wireless Network). This is where eth1 on your clearOS server is connected.
-The client should receive an IP address of say 10.1.0.x

If so, open a web browser on the client. You should get a redirection to the coova login page.

Upgrade Versi Baru dari Ubuntu

Upgrade Versi Baru dari Ubuntu

Back up data penting pada server Ubuntu


Membuat cadangan - tidak dapat ditekankan cukup betapa pentingnya untuk membuat backup sistem Anda sebelum Anda melakukan hal ini. Sebagian besar tindakan yang tercantum dalam posting ini ditulis dengan asumsi bahwa mereka akan dieksekusi oleh root menjalankan bash atau shell modern lainnya. Ketik perintah berikut untuk melihat versi:$ uname -mrs$ lsb_release -aoutput Contoh:

Linux x86_64 3.2.0-51-generic
Tidak ada LSB modul yang tersedia.
Distributor ID: Ubuntu
Keterangan: Ubuntu 12.04.4 LTS
Rilis: 12.04
Codename: tepat

Bagaimana cara meng-upgrade ke versi yang lebih baru dari Ubuntu, seperti v14.04, dari v13.10 yang lebih tua pada sistem server?

Ketik perintah berikut untuk memperbarui daftar paket dan instalasi paket update-manager-core jika belum diinstal:$ sudo apt-get update$ sudo apt-get install update-manager-coreSelanjutnya, ketik perintah berikut untuk meng-upgrade Ubuntu server dengan rilis terbaru seperti LTS 14,04 dari baris perintah. Ini adalah perintah direkomendasikan sebagai server tidak memiliki lingkungan grafis atau jika server untuk ditingkatkan melalui sambungan jarak jauh menggunakan klien ssh:$ sudo do-release-UpgradeThe do-release-upgrade akan meluncurkan alat upgrade. Anda harus mengikuti petunjuk pada layar.



Memperbaiki dan memaksa Upgrade

Anda mungkin akhirnya mendapatkan pesan berikut pada layar ketika Anda menjalankan sudo do-release-upgrade yang
Memeriksa untuk rilis Ubuntu baru
Tidak ada rilis baru ditemukan
Peringatan : Metode berikut akan memeriksa apakah upgrade ke devel terbaru (juga dikenal sebagai stabil) rilis mungkin melalui -d pilihan.
Untuk memaksa Upgrade lulus -d pilihan untuk sudo do-release-upgrade yang perintah:
 
sudo do rilis-meng-upgrade -d
 

Catatan tentang upgrade dari Ubuntu 13.10 pada sistem desktop

Pertama, Anda harus menghapus semua driver pihak ke-3 biner seperti NVIDIA atau AMD driver kartu grafis. Setelah dihapus dan reboot desktop, tekan Alt + F2 dan ketik update-manager ke dalam kotak perintah:
update-manager
Update Manager akan terbuka dan memberitahu Anda: distribusi baru rilis '14 .04 LTS 'tersedia. Cukup klik upgrade dan ikuti petunjuk di layar untuk meng-upgrade sistem desktop Anda.
Harap dicatat bahwa semua pengguna desktop LTS perlu menunggu sampai rilis pertama disebut Ubuntu LTS v14.04.1 akan dirilis oleh Canonical LTD. Jika Anda tidak ingin menunggu sampai LTS v14.04.1, memberikan opsi -d dengan perintah update-manager sebagai berikut untuk meng-upgrade Ubuntu 12.04 LTS ke Ubuntu 14.04 LTS:
 
sudo update-manager -d
 

Reboot server / Desktop

Akhirnya, reboot sistem:$ sudo restartVerifikasi, pengaturan baru Anda:$ lsb_release -a$ uname -mrs$ tail -f / var / log / app / log / berkasAkhirnya, instal ulang driver pihak ke-3 biner.



Media Browser Server for Linux

 Media Browser Server for Linux

 

 
Trusty, Utopic, Vivid:


- sudo add-apt-repository ppa:apps-z/mediabrowser
- sudo apt-get update
- sudo apt-get install mediabrowser
- service mediabrowser start
- visit http://localhost:8096/mediabrowser 


Other:

- download package
- add to your sources list: deb http://badgerports.org precise main 
- apt-get install libmono-system-data4.0-cil
- dpkg -i *.deb
- apt-get -f install
- service mediabrowser start
- visit http://localhost:8096/mediabrowser

Daftar Repositori Lokal Ubuntu 12.04

Daftar Repositori Lokal Ubuntu 12.04.

 

Ubuntu Repository 12.04 LTS di KLJ
deb http://repo.linuxjambi.org/ precise main restricted universe multiverse
Ubuntu Repository 12.04 LTS di Kambing
deb http://kambing.ui.ac.id/ubuntu/ precise-proposed main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise-security main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise-updates main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise main restricted universe multiverse
Ubuntu Repository 12.04 LTS di UKDW
deb http://repo.ukdw.ac.id/ubuntu precise main restricted universe multiverse
deb http://repo.ukdw.ac.id/ubuntu precise-updates main restricted universe multiverse
deb http://repo.ukdw.ac.id/ubuntu precise-security main restricted universe multiverse
deb http://repo.ukdw.ac.id/ubuntu precise-backports main restricted universe multiverse
deb http://repo.ukdw.ac.id/ubuntu precise-proposed main restricted universe multiverse
Ubuntu Repository 12.04 LTS di Komo
deb http://komo.padinet.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://komo.padinet.com/ubuntu/ precise-security main restricted universe multiverse
deb http://komo.padinet.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://komo.padinet.com/ubuntu/ precise main restricted universe multiverse
Ubuntu Repository 12.04 LTS di ITB
deb ftp://ftp.itb.ac.id/pub/ubuntu/ precise-proposed main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu/ precise-security main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu/ precise-updates main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu/ precise main restricted universe multiverse

INSTALL APACHE2, PHP5, MySQL DI Ubuntu

INSTALL APACHE2, PHP5, MySQL DI Ubuntu

 LANGSUNG SAJA KE INTINYA 

1.Installing MySQL 

 
# apt-get install mysql-server mysql-client  -y

New password for the MySQL "root" user: <-- yourrootsqlpassword
Repeat password for the MySQL "root" user: <-- yourrootsqlpassword

2.Installing Apache2 

 
# apt-get install apache2

 NAH SEKARANG COAB SOBAT BUKA DI BROWSER 

http://ip-server

 

 

3.Installing PHP5

#  apt-get install php5 libapache2-mod-php5

# /etc/init.d/apache2 restart

4.Testing PHP5

#  vi /var/www/info.php

<?php
phpinfo();
?>
 
Lalu tekan di keyboard ctrl + x 
pilih save Y

NAH SEKARANG COAB SOBAT BUKA LAGI DI BROWSER 

http://ip-server

Tampilannya seperti ini 
 
 

SELESAI

INSTALL WEBMIN DI CLEAROS / CENTOS

INSTALL WEBMIN DI CLEAROS / CENTOS

BUKA PUTTY 
LOGIN SEBAGAI ROOT
KETIK :

# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.730-1.noarch.rpm

# rpm -U webmin-1.730-1.noarch.rpm


Webmin YUM repository

 

 [Webmin]
name=Webmin Distribution Neutral
# baseurl=http://download.webmin.com/download/yum
# mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1

# wget http://www.webmin.com/jcameron-key.asc
#
rpm --import jcameron-key.asc

# yum install webmin

INSTALL WEBMIN DI DEBIAN

INSTALL WEBMIN DI DEBIAN

BUKA PUTTY 
LOGIN SEBAGAI ROOT
KETIK :
# wget http://prdownloads.sourceforge.net/webadmin/webmin_1.730_all.deb

# apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python

# dpkg --install webmin_1.730_all.deb

# apt-get -f install -y


Lalu buka di browser :
https://ip-server-anda:10000/

SELESAI 

SETTING TPROXY MODE BRIDGE

SETTING TPROXY MODE BRIDGE

TOPOLOGI

 

- OS proxy ubuntu server
- 2 lan card
- Asumsi squid3.x sudah terinstall dan berjalan dengan baik

Ether mikrotik 192.168.20.1/24 
br0 192.168.20.2 
client 192.168.20.3-192.168.20.254

1. Install Paket pendukung

apt-get install ebtables

apt-get install bridge-utils

2. Set file /etc/network/interfaces, hapus isinya dan hanya bagian ini yang jangan
================================ 

etc/network/interfaces 
auto lo
iface lo inet loopback

3. Set file /etc/rc.local

ifconfig eth0 0.0.0.0 promisc up 
ifconfig eth1 0.0.0.0 promisc up 

brctl addbr br0 
brctl addif br0 eth0 
brctl addif br0 eth1 

ifconfig br0 192.168.20.2 netmask 255.255.255.0 up 
route add default gw 192.168.20.1 dev br0 

modprobe xt_TPROXY 
modprobe xt_socket 
modprobe nf_tproxy_core 
modprobe xt_mark 
modprobe nf_nat
modprobe nf_conntrack_ipv4 
modprobe nf_conntrack
modprobe nf_defrag_ipv4 
modprobe ipt_REDIRECT 
modprobe iptable_nat 

iptables -F 
iptables -t nat -F 
iptables -t mangle -F 
iptables -X 
iptables -t nat -X 

ip rule add fwmark 1 lookup 100
ip route add local 0.0.0.0/0 dev lo table 100 
echo 0 >/proc/sys/net/ipv4/conf/lo/rp_filter 
echo 1 >/proc/sys/net/ipv4/ip_forward 

iptables -t mangle -N DIVERT 
iptables -t mangle -A DIVERT -j MARK --set-mark 1 
iptables -t mangle -A DIVERT -j ACCEPT 
iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT 
iptables -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY --tproxy-mark 0x1/0x1 --on-port 3129 
iptables -t mangle -A PREROUTING -p tcp --dport 443 -j TPROXY --tproxy-mark 0x1/0x1 --on-port 3127 
ebtables -F
ebtables -t broute -A BROUTING -p ipv4 --ip-proto tcp --ip-dport 80 -j redirect --redirect target ACCEPT
ebtables -t broute -A BROUTING -p ipv4 --ip-proto tcp --ip-sport 80 -j redirect --redirect-target ACCEPT

#================================================================= 

exit 0

4. Reboot pc proxy..beres