SSL Owncloud 8.0 pada Debian 7

Buatkan CSR dengan openssl dari PC anda.

openssl genrsa -des3 -out owncloud_domain_com.key 2048
openssl req -new -key owncloud_domain_com.key -out owncloud_domain_com.csr

Setelah memuatnaik CSR dan dapat zip file dari COMODO, unzip, kemudian buatkan chain certificate.

cat COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt >> bundle.crt

Uji self-sign ssl terlebih dahulu.

a2enmod ssl
a2ensite default-ssl
service apache2 restart

Jika OK, teruskan:

Muatnaik bundle.crt ke /etc/apache2/ssl.crt/

Muatnaik owncloud_domain_com.key ke /etc/ssl/private/

Muatnaik owncloud_domain_com.crt ke /etc/ssl/certs/

Contoh yang diubah pada /etc/sites-enabled/default-ssl

SSLCertificateFile /etc/ssl/certs/owncloud_domain_com.crt
SSLCertificateKeyFile /etc/ssl/private/owncloud_domain_com.key
SSLCertificateChainFile /etc/apache2/ssl.crt/bundle.crt

Tambah juga tetapan berikut untuk melumpuhkan POODLE

SSLProtocol All -SSLv2 -SSLv3

Mulakan semula apache2

service apache2 restart

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Mendapatkan pemacu Radeon X300 berfungsi pada Debian

  1. Naiktaraf Wheezy ke Jessie untuk mendapatkan kernel terbaharu (3.8) berbanding 3.2 pada Wheezy
  2. Pasang pakej xserver-xorg-video-ati, libgl1-mesa-glx, dan firmware-linux-nonfree
  3. Buang pakej xserver-xorg-video-radeon
  4. Reboot

Amati output berikut

# lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux testing (jessie)
Release:	testing
Codename:	jessie

# lsmod | grep drm
drm_kms_helper         27237  1 radeon
drm                   165528  3 ttm,drm_kms_helper,radeon
i2c_core               19505  5 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,radeon

# glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.2, 128 bits)
    GL_NV_conditional_render, GL_AMD_draw_buffers_blend,
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Pasang Ruby on Rails pada Debian Wheezy

  1. Sebagai superuser, taip arahan berikut pada terminal
    apt-get install ruby1.9.3 rbenv rails
  2. Sebagai normal user, taip arahan berikut
    rbenv init
    echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
  3. *Terdapat cara lain untuk memasang RoR (rvm & gem) tetapi ini adalah cara yang disokong pada Debian.

  4. Kalau nak pasang guna rvm:

    Sebagai superuser, taip arahan berikut pada terminal
    apt-get install curl
    apt-get --no-install-recommends install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev

  5. Sebagai normal user
    curl -L https://get.rvm.io | bash -s stable
    source ~/.rvm/scripts/rvm
    rvm requirements
    rvm install 1.9.3
    gem install rails
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Debian Lenny Pada Thinkpad T43

Sebab:
Versi Debian Squeeze dan seterusnya tidak mengandungi pemacu Catalyst/fglrx yang menyokong X11 pada versi-versi tersebut

Pasang Debian Lenny pada laptop T43 tanpa sambungan internet
Setelah siap pemasangan, mulakan semula dan pilih recovery mode
Sambungkan laptop ke internet (sambungan kabel)
su -
dhclient eth0

Pastikan kandungan /etc/apt/sources.list adalah seperti berikut

deb http://archive.debian.org/debian-security lenny/updates main contrib
deb http://archive.debian.org/debian-volatile lenny/volatile main contrib
deb http://archive.debian.org/debian/ lenny main contrib non-free
deb http://archive.debian.org/debian-security lenny/updates main contrib
deb http://archive.debian.org/debian-volatile lenny/volatile main contrib

Pastikan juga kandungan /etc/resolv.conf seperti dibawah kerana DNS server streamyx/TM block domain debian.org atas sebab-sebab yang tidak diketahui

nameserver 8.8.8.8
nameserver 8.8.4.4

Kemaskini perisian
apt-get update
apt-get install debian-archive-keyring
apt-get -y upgrade

Tukar seksyen Device pada xorg.conf ke seperti berikut

Section "Device"
        Identifier      "Configured Video Device"
        Driver          "vesa"
EndSection

Jika anda mahukan pemacu/driver untuk peranti Radeon Mobility X300
aptitude -r install linux-headers-2.6-$(uname -r|sed 's,[^-]*-[^-]*-,,') fglrx-driver
aticonfig --initial

Mulakan semula laptop
reboot

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Pasang Firefox/Iceweasel terbaharu pada Debian Wheezy

Edit /etc/apt/sources.list, tambah baris berikut
deb http://mozilla.debian.net/ wheezy-backports iceweasel-release

Muaturun dan pasang pkg-mozilla-archive-keyring
wget http://mozilla.debian.net/pkg-mozilla-archive-keyring_1.1_all.deb
dpkg -i pkg-mozilla-archive-keyring_1.1_all.deb

Pasang Firefox/Iceweasel terbaharu
apt-get update
apt-get install -t wheezy-backports iceweasel

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Kemaskini Flasplayer

update-flashplugin-nonfree --install
update-flashplugin-nonfree --status

Flash Player version installed on this system : 11.2.202.251
Flash Player version available on upstream site: 11.2.202.251
flash-mozilla.so – auto mode
link currently points to /usr/lib/flashplugin-nonfree/libflashplayer.so
/usr/lib/flashplugin-nonfree/libflashplayer.so – priority 50
/usr/lib/gnash/libgnashplugin.so – priority 10
Current ‘best’ version is ‘/usr/lib/flashplugin-nonfree/libflashplayer.so’.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)