bayu – mandriva – other Linux

20 November 2009

Mandriva 2009.1 : SImple Web Server

Diarsipkan di bawah: Mandriva — Tag:, — bayuart @ 3:31 pm

+
Simple Web Server menggunakan lighttpd dan php.
Langkah-langkah nya :

1. install lighttpd sebagai web server

urpmi lighttpd

2. install php dengan modul fcgi

urpmi php-fcgi

selengkapnya

12 November 2009

Mandriva : Simple Network Profile

Diarsipkan di bawah: Blitar, Linux, Mandriva — Tag:, , , , , — bayuart @ 3:39 pm

Mandriva network profile

Mandriva network profile

Mandriva network profile

Mandriva network profile

Mandriva network profile

Mandriva network profile

snapshot7

 

snapshot8

done.

 

penjelasan menyusul. wordpress kampred… susah di akses.. (doh)

5 November 2009

Mandriva Linux 2010 is out!

Diarsipkan di bawah: Berita, Mandriva — Tag: — bayuart @ 10:57 am

Mandriva is proud to introduce its brand new release: Mandriva Linux 2010, code name Adelie. Take a look on a new desktop: smart, innovative and open!

Your desktop is smart

Included in this new release, “Smart desktop” technology, coming from european research project. Your desktop is tasks oriented. Organize your personal data (mails, documents, images, videos). Notate it, add your comments and tags. Now your data are easy to find through your projects. This is an exclusivity for Mandriva.

Fast and attractive

Don’t wait to have your desktop ready to work! Boot time has been improved again.  Mandriva Linux 2010 comes also with a 3 brand new designs: choose the one you prefer. You can also choose one of the 11 extra backgrounds contributed by community members.

Choose your own environment

We believe a linux distribution should reflect open source diversity. Mandriva Linux is the only distribution including both KDE (4.3.2), GNOME (2.28.1)  all integrated. Your hardware is a bit old: use lignt environment LXDE. You are netbook user: check our integration, it’s all included in our distribution. Have a look also in Moblin, a new environment dedicated to mobile use.

Take advantage of Mandriva Control Center

Another exclusivity for Mandriva! Your system is easy to administrate. In a few clicks you can:

  • migrate your data from Windows
  • configure your network connection very easily (ethernet, wifi, 3G…) and manage your network profiles using an all redesigned tool
  • security is easy: parental control, interactive personal firewall, security policies tool
  • use guest account so that everybody can use your system in avery secure way for your data
  • … and many other functionnalities

The best of up to date open source software

  • Kernel 2.6.31
  • Xserver 1.6.5
  • KDE 4.3.2
  • GNOME 2.28.1
  • Firefox 3.5.3
  • OpenOffice.org 3.1.1
  • VirtualBox 3.0.8

Find more information here:

Mandriva Linux 2010 is available through

  • Powerpack DVDs (including additional software and support): buy it on Mandriva Linux Store
  • One CDs (live edition): choose your environment and your language – available 6 iso images for GNOME and KDE
  • Free DVDs (100% open source edition): both 32 and 64 bits architectures supported

All Mandriva iso images are hybrid isos. You can dump it on an USB key using Mandriva Seed (Linux | Windows)

Thanks again to all Mandriva Linux community efforts who made this new release possible.

Enjoy Adelie!

23 Oktober 2009

Mandriva : Install IonCube Loader

Diarsipkan di bawah: Linux, Mandriva, Tips — Tag:, , , , , , — bayuart @ 1:09 pm

ioncube-loader-helper.php

Akses ke http://www.ioncube.com/loader_download.php

Login ke root dan donwload

[root@server /]# cd /usr/local
[root@server local]#

root@server  local]# wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
–2009-10-23 07:14:26–  http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
Resolving downloads2.ioncube.com… 72.9.241.122
Connecting to downloads2.ioncube.com|72.9.241.122|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 2772977 (2.6M) [application/x-gzip]
Saving to: `ioncube_loaders_lin_x86.tar.gz’

100%[====================================================================================================>] 2,772,977   66.8K/s   in 87s

2009-10-23 07:16:00 (31.3 KB/s) – `ioncube_loaders_lin_x86.tar.gz’ saved [2772977/2772977]

Ekstrak

[root@server ~]# tar xvf ioncube_loaders_lin_x86.tar.gz

Install Modul IonCube ke PHP

[root@server local]# vim /etc/php.ini

code :

zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so

Restart Web Server

[root@server local]# vim /etc/php.ini
[root@server local]# service httpd restart
Shutting down httpd:                                            [  OK  ]
Starting httpd: httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
[  OK  ]
[root@server local]#

Done

21 Oktober 2009

Google Picasa 3

Diarsipkan di bawah: Lain², Learning, Links, Linux, Mandriva, Multimedia, Tips — Tag:, , , , — bayuart @ 1:05 pm

Download Google Picasa 3 from

http://picasa.google.com/linux/download.html#picasa30

Choose

for example. coz im using mandriva linux.

After download it, install with urpmi command

——————

[root@srempuan Download]# urpmi picasa-3.0-current.i386.rpm
To satisfy dependencies, the following packages are going to be installed:
Package                        Version      Release       Arch
(medium “main_rilis_arsip”)
cups-common                    1.3.10       2mdv2009.1    i586
glibc_lsb                      2.4.7        4mdv2009.1    i586
make                           3.81         4mdv2009.1    i586
(medium “main_backport_arsip”)
lsb                            4.0          1mdv2009.1    i586
lsb-core                       4.0          1mdv2009.1    i586
(medium “Main”)
libopenslp1                    1.2.1        8mdv2009.1    i586
pax                            3.4          5mdv2009.1    i586
perl-CGI                       3.39         2mdv2009.1    noarch
(command line)
picasa                         3.0.5744     02            i386
103MB of additional disk space will be used.
32MB of packages will be retrieved.
Proceed with the installation of the 9 packages? (Y/n)

———–

install google picasa

install google picasa

Then run.

picasa 3 for linux

picasa 3 for linux

20 Oktober 2009

20 Features in Mandriva 2010

Diarsipkan di bawah: Berita, Linux, Mandriva — Tag: — bayuart @ 1:11 pm

I love Ubuntu and I am an Ubuntu user a long time ago but the next version Ubuntu 9.10 seems to focus on wallpapers and themes !! I don’t like Ubuntu’s way of development. It is just focusing on themes and ignoring important projects like PulseAudio and X.org.
In this article I will talk a little about the new features that will be in Mandriva 2010. The final version is expected to be available on the 3rd of November.Mandriva Logo
Mandriva Linux 2010 is aimed at improving the user experience for daily tasks. let’s have a look to what’s new :

1- New design for installer

To better user experience of installation, the Mandriva developers thought that installer design is quite old now and need to be refreshed to stay ahead of competition. The next screenshot shows the new design. New wizard

2- Live upgrade

Finally, Mandriva Online will be able to notify user about the  new version of the distribution and propose the system to upgrade it without using installer.

3- Moblin desktop

Mandriva 2010 will include the Moblin 2.0 environment designed for mobile desktop platforms, making Mandriva Linux the first distribution to integrate it in a free distribution.This environment has been designed for mobile desktop platforms. Netbooks are a given target but you can also use it when you want an ergonomic and simple environment for daily tasks. Moblin 2.0
Installing it is easy: install task-moblin package in rpmdrake and choose Moblin in connection manager.

4-  Guest accounts

Guest accounts, based on the xguest package, can now be established to offer safe temporary access to the system via gdm or kdm.

Continue reading…

22 Juli 2009

DNS Server dengan BIND

Diarsipkan di bawah: Learning, Linux, Mandriva, Tips — bayuart @ 3:02 pm

Setelah tahapan instalasi dns server dengan bind di Linux Mandriva 2009.1, disini. Sekarang kita bikin skenario bahwa DNS Server ini akan di gunakan untuk beberapa domain Internet.

Misalnya IP Public DNS Server yang akan digunakan adalah 125.125.125.1 (DNS master saja/simple), dengan IP resolv adalah ns.semusim.info.
Dan IP domain semusim.info ber IP 125.125.125.2

Domain yang dipake adalah semusim.info. Masuk dulu ke Control Panel domain semusim.info dan arahkan NS server ke alamat ns.semusim.info.

Ok, persiapan selesai. Sekarang tinggal mengkonfigurasi mesin DNS server ns.semusim.info di IP 125.125.125.1.

[root@server /]# vim /etc/named.conf

Tambahkan di bagian paling bawah baris isian berikut

zone “semusim.info” IN {
type master;
file “reverse/semusim.info”;
notify no;
};

Kemudian simpan. Setelah itu bikin file semusim.info di /var/lib/named/var/named/reverse (ingat bind di mandriva udah mode chroot). Jadi tinggal bikin aja file semusim.info nya seperti ini :

[root@server /]# vim /var/lib/named/var/named/reverse/semusim.info

Isi :

; Zone file for semusim.info

@ IN SOA ns.semusim.info. root.semusim.info. {
2009071401 ; serial
8H ; refresh
3H ; retry
1W ; expire
1D ; default_ttl
}

localhost A 127.0.0.1
semusim.info A 125.125.125.2
ftp CNAME semusim.info
www CNAME semusim.info

from http://bayu.blitar.org

23 Juni 2009

Simple Captive Portal

Diarsipkan di bawah: Blitar, Learning, Links, Linux, Mandriva, Tips, iptables — bayuart @ 11:12 am

Apa itu captive portal ? cek disini :

dan pada dasarnya seperti ini :

Captive Portal merupakan suatu teknik autentikasi dan pengamanan data yang lewat dari network internal ke network eksternal. Captive Portal sebenarnya merupakan mesin router atau gateway yang memproteksi atau tidak mengizinkan adanya trafik, sampai user melakukan registrasi terlebih dahulu ke dalam sistem. Biasanya Captive Portal ini digunakan pada infrastruktur wireless seperti hotspot area, tapi tidak menutup kemungkinan diterapkan pada jaringan kabel.

Ok, langsung aja, kita akan bikin Captive Portal sederhana, dengan menggunakan :

MySQL nya ? ntar aja, kita mo bikin captive portal sesimple dulu. Lanjut …

Install Mandriva 2009.1, bisa merujuk ke http://bayu.blitar.org?l=AucYwqtw , lainnya terserah Anda :) .

Setelah instalasi Mandriva Linux, jangan lupa install webserver nya :

urpmi apache

Setelah ok semua, kita lanjut ke instalasi inti dari captive portal itu sendiri, yaitu coova-chilli dan Freeradius. Oiya, sebelome untuk melanjutkan proses ini, jangan lupa juga menyambungkan mandriva linux ke repository terdekat. Gambarannya isa diliat disini : http://bayu.blitar.org?l=AmEHtkFr.

Install Coova ChilliSpot

urpmi chillispot

atau

urpmi coova

Setelah selesai, langsung jalankan :

/etc/init.d/chilli start

atau

service chilli start

Dengan perintah diatas, disamping kita menjalankan service/layanan captive portal, kita juga menggenerate otomatis konfigurasi untuk captive portal. Dan konfigurasi standar hasil generate ini di letakkan di :

/etc/chilli/

[server@smpn1ksb ~]$ ls -l /etc/chilli
total 40
-rw-r–r– 1 root root 5776 2009-06-22 11:58 defaults
-rwxr-xr-x 1 root root 385 2008-12-17 06:33 down.sh*
-rwxr-xr-x 1 root root 8045 2008-12-17 06:33 functions*
-rw-r–r– 1 root root 0 2009-06-23 06:00 hs.conf
-rw-r–r– 1 root root 0 2009-06-23 06:00 local.conf
-rw-r–r– 1 root root 851 2009-06-23 03:42 main.conf
-rwxr-xr-x 1 root root 319 2009-06-23 05:42 route.sh*
-rwxr-xr-x 1 root root 1596 2009-06-23 05:36 up.sh*
drwxr-xr-x 2 root root 4096 2009-06-21 09:32 www/
-rwxr-xr-x 1 root root 670 2008-12-17 06:33 wwwsh*
[server@smpn1ksb ~]$

Untuk file /etc/chilli.conf jangan diutak atik, biarkan standar/default dulu. Dengan hasil konfigurasi seperti diatas. Captive Portal ini sudah bisa digunakan.

Diagram gambar Jaringan :

Internet <> Modem <> Captive Portal <> LAN

Meskipun captive portal sudah bisa digunakan, dan bisa melayani permintaan dari LAN. Ini masih ada kelemahannya. Kelemahannnya adalah :

  • Langsung tersambung ke server radius coova.org
  • Tidak bisa langsung digunakan untuk akses internet, harus daftar ke coova.org

Untuk mengatasi kelemahan tersebut, kita akan pasang Server Radius sendiri menggunakan Freeradius.

Selengkapnya

18 Juni 2009

Menggunakan DNS Awari dan OpenDNS di PC Router Linux

Ok. Langsung aja.

IP DNS :

OpenDNS :

  • 208.67.222.222
  • 208.67.220.220

AWARI :

  • 203.34.118.10 (primary)
  • 203.34.118.12 (secondary)

ISP Anda :

  • x.x.x.x
  • x.x.x.x

Disini menggunakan Linux Mandriva yang berfungsi sebagai PC Router/Gateway bagi Warung Internet/Warnet. Aplikasi DNS Server yang digunakan (tepatnya adalah DNS Cache) adalah dnsmasq.

Selengkapnya

17 Juni 2009

Install Mandriva Directory Server : base plugins (II)

Diarsipkan di bawah: Blitar, Lain², Learning, Links, Linux, Mandriva, Security, Server, Squid Proxy, Tips — Tag:, , — bayuart @ 2:04 pm

Sebelumnya di http://bayuart.wordpress.com/2009/06/17/install-mandriva-directory-server-base-plugins/
Langsung aja edit file /etc/mmc/plugins/base.ini

[root@server1 /]# vim /etc/mmc/plugins/base.ini

Isinya kurang lebih seperti ini :

[ldap]

# LDAP we are connected to

host = 127.0.0.1

# LDAP base DN

baseDN = dc=bayu, dc=com

# Users location in the LDAP

baseUsersDN = ou=People, %(basedn)s

# Groups location in the LDAP

baseGroupsDN = ou=Group, %(basedn)s

# LDAP manager

#rootName = cn=admin, %(basedn)s

rootName = uid=LDAP Admin,ou=System Accounts,dc=bayu,dc=com

password = kates #(ingat passwordnya tadi)

# If enabled, the MMC will create/move/delete the home of the users

# Else will do nothing, but only write user informations into LDAP

userHomeAction = 1

# Skeleton directory to populate a new home directory

skelDir = /etc/skel

# If set, all new users will belong to this group when created

defaultUserGroup = Domain Users

# Default home directory for users

defaultHomeDir = /home

# user uid number start

uidStart = 10000

# group gid number start

gidStart = 10000

# LDAP log file path

logfile = /var/log/ldap/ldap.log

# FDS log file path

# logfile = /opt/fedora-ds/slapd-hostname/logs/access

# you can specify here where you can authorized creation of your homedir

# default is your defaultHomeDir

# example:

# authorizedHomeDir = /home, /home2, /mnt/depot/newhome

# LDAP user password scheme to use

# Possible values are “ssha” and “crypt”

passwordscheme = ssha

[backup-tools]

# Path of the backup tools

path = /usr/lib/mmc/backup-tools

# Where are put the archives

destpath = /home/archives

——–cutted———

(lagi…)

Install Mandriva Directory Server : base plugins

Add repository dulu lah… kaya yang ini nih :

Mandriva 2009.0 http://blitar.linux.or.id/2008/12/17/mandriva-2009-add-repo/
Mandriva 2009.1 http://bayuart.wordpress.com/2009/06/04/mandriva-2009-1-update-repository/

Untuk daftar server repository Mandriva di Indonesia dengan IIX menyusul saja.

Untuk lebih jelas mengenai Mandriva Directory Server / mds, isa di cek langsung di situsnya di :

mds.mandriva.org

Langsung ke tahapan instalasi. Jangan lupa pake user “root”
Install paket mds :

[root@server1 box]# urpmi task-mds

In order to satisfy the ‘pylibacl’ dependency, one of the following packages is needed:

1- python-pylibacl-0.4.0-2mdv2009.1.i586: Posix ACL module for Python (to install)

2- pylibacl-0.4.0-1mdv2009.1.i586: Posix ACL module for Python (to install)

What is your choice? (1-2)

Langsung tekan “Enter” aja untuk instalasi default.

To satisfy dependencies, the following packages are going to be installed:

Package Version Release Arch

(medium “arsip_rilis”)

dhcp-server 4.1.0 5mdv2009.1 i586

mmc-agent 2.3.2 7mdv2009.1 i586

mmc-web-base 2.3.2 1mdv2009.1 noarch

mmc-web-mail 2.3.2 1mdv2009.1 noarch

mmc-web-network 2.3.2 1mdv2009.1 noarch

mmc-web-proxy 2.3.2 1mdv2009.1 noarch

mmc-web-samba 2.3.2 1mdv2009.1 noarch

nss_ldap 264 2mdv2009.1 i586

perl-Authen-SASL 2.12 2mdv2009.1 noarch

perl-Authen-Smb 0.91 11mdv2009.1 i586

perl-Convert-ASN1 0.22 1mdv2009.1 noarch

perl-ldap 0.39 1mdv2009.1 noarch

postfix-ldap 2.5.6 4mdv2009.1 i586

python-OpenSSL 0.8 1mdv2009.1 i586

python-ldap 2.3.5 2mdv2009.1 i586

python-mmc-base 2.3.2 7mdv2009.1 i586

python-mmc-mail 2.3.2 7mdv2009.1 i586

python-mmc-network 2.3.2 7mdv2009.1 i586

python-mmc-proxy 2.3.2 7mdv2009.1 i586

python-mmc-samba 2.3.2 7mdv2009.1 i586

python-pycrypto 2.0.1 8mdv2009.1 i586

python-pylibacl 0.4.0 2mdv2009.1 i586

python-twisted 8.2.0 1mdv2009.1 noarch

python-twisted-conch 8.2.0 1mdv2009.1 i586

python-twisted-core 8.2.0 1mdv2009.1 i586

python-twisted-lore 8.2.0 1mdv2009.1 i586

python-twisted-mail 8.2.0 1mdv2009.1 i586

python-twisted-names 8.2.0 1mdv2009.1 i586

python-twisted-news 8.2.0 1mdv2009.1 i586

python-twisted-runner 8.2.0 1mdv2009.1 i586

python-twisted-web 8.2.0 1mdv2009.1 i586

python-twisted-words 8.2.0 1mdv2009.1 i586

python-zope-interface 3.5.0 2mdv2009.1 i586

samba-server 3.3.2 3mdv2009.1 i586

squid 3.0 14mdv2009.1 i586

squidGuard 1.4 1mdv2009.1 i586

task-mds 2.3.2 1mdv2009.1 noarch

55MB of additional disk space will be used.

12MB of packages will be retrieved.

Proceed with the installation of the 37 packages? (Y/n)

Ingat, proses diatas kemungkinan tidak akan sama persis di lokasi masing-masing. Kenapa ? karena ada beberapa aplikasi yang sudah terpasang/terinstall atau belum terinstall di masing-masing komputer.

(lagi…)

16 Juni 2009

Setting DHCP Server

Lanjutan lagi dari :
http://bayuart.blogspot.com/2009/06/konfigurasi-mandriva-linux-warnet.html
http://bayuart.wordpress.com/2009/06/05/mandriva-2009-1-spring-in-action-d-part-deux/
http://bayu.blitar.org/2009/06/02/warung-internet-1/
http://bayu.blitar.org/2009/06/05/mandriva-20091-spring-in-action-d/

Setelah kita melihat file konfigurasi shorewall yang kita gunakan sebagai firewall di Mandriva Linux kita, akhirnya kita melanjutkan ke setingan default DHCP dari hasil proses Internet Connection Sharing untuk Warnet / Warung Internet.

/etc/dhcpd.conf
——————————————–
ddns-update-style none;
subnet 192.168.0.0 netmask 255.255.255.0 {
        # default gateway
        option routers 192.168.0.1;
        option subnet-mask 255.255.255.0;

        option domain-name “homeland.net”;
        option domain-name-servers 202.134.1.10;

        range dynamic-bootp 192.168.0.16 192.168.0.253;
        default-lease-time 21600;
        max-lease-time 43200;
}
——————————————–

Konfigurasi diatas sangatlah sederhana, dan langsung bisa di aplikasikan.

Tulisan yang Lebih Tua »

Blog pada WordPress.com.