tag:blogger.com,1999:blog-118489922024-03-14T03:34:15.681+07:00DoIT - Denny on ITDenny views on Information Technologydennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.comBlogger129125tag:blogger.com,1999:blog-11848992.post-51424668700440447512012-06-07T15:36:00.001+07:002012-06-07T15:36:26.911+07:00cygwin/x to x-win32there're some <a href="http://www.starnet.com/products/xwin32/">x-win32</a> <a href="http://www.wrq.com/products/reflection/">apps</a> <a href="http://www.hummingbird.com/products/nc/exceed/index.html">out</a> <a href="http://www.netsarang.com/products/enterprise.html">there</a>...<br />
some are <a href="http://mobaxterm.mobatek.net/">freeware</a> and some <a href="http://www.straightrunning.com/XmingNotes/">donationware</a><br />
<br />
introducing...<br />
the free and opensource cygwin/x stripped down to under 20meg.<br />
no install. just unzip and run.<br />
<br />
get it here, while still hot...<br />
<a href="http://wiki.dennyhalim.com/xwin">http://wiki.dennyhalim.com/xwin</a>
<br />
<br />
<br />
--
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a>
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a>
<a href="http://dennyhalim.com/">documenting the brain</a>limdnyhttp://www.blogger.com/profile/06718407589206477286noreply@blogger.com1tag:blogger.com,1999:blog-11848992.post-2980186444933282442012-06-07T12:43:00.000+07:002012-06-07T12:43:02.346+07:00Samba Full Audit with Super Fast Loggingusually, if/when you enable <a href="http://www.samba.org/samba/docs/man/manpages-3/vfs_full_audit.8.html">samba audit module</a>, you will feel significant drop in performance, especially when your share folder simultaneously accessed by many users.<br />
<br />
to have full audit logging <u>without</u> performance degradation, you will need a very fast write to log folder/partition. and what is faster than RAM?<br />
<br />
so, we mount RAM to be used as our samba logging, put this line into /etc/fstab<br />
<pre>tmpfs /sambalog tmpfs defaults,noexec,nosuid,nodev 1 0
</pre>
<br />
now, we tell samba and syslog to write their log to /sambalog:<br />
<pre># this line into /etc/syslog.conf
user.*;user.!warn /sambalog/fullaudit.log
#and this line into /etc/samba/smb.conf
log file = /sambalog/smbd.log
</pre>
<br />
then, restart samba & syslog:<br />
<pre>service smb restart
service syslog restart
</pre>
<br />
now, watch /sambalog grows and feel the performance boost.<br />
<br />
wait...<br />
what the heck we do logging for if everything's gone on next boot!<br />
<br />
ok, let's get back those logs from RAM:<br />
<pre># cat /etc/cron.d/logbak
*/5 * * * * root zip -ru "/var/log/bak-$(date +%d).zip" /sambalog
</pre>
<br />
all logs will be zipped back to hdd for safe keep.<br />
<br />
<br />
--
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a>
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a>
<a href="http://dennyhalim.com/">documenting the brain</a>limdnyhttp://www.blogger.com/profile/06718407589206477286noreply@blogger.com1tag:blogger.com,1999:blog-11848992.post-35179730202738987072012-06-07T08:45:00.000+07:002012-06-07T08:47:39.791+07:00Sharing Scanner over Network from Centosfirst, install xsane and all dependencies to use scanner<br />
<pre>yum install xsane
</pre>
<br />
check to see if your scanner detected<br />
<pre>scanimage -L
</pre>
<br />
<br />
for epson, you might need to install latest driver from here:<br />
<a href="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX">http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX</a>
<br />
<br />
<br />
test scan<br />
<pre>scanimage --format tiff > gambar.tiff
</pre>
<br />
if everything works, install xinetd and set it to start saned<br />
<pre># yum install xinetd
# cat /etc/xinetd.d/saned
service sane-port
{
port = 6566
socket_type = stream
server = /usr/sbin/saned
user = root
group = root
wait = no
}
# cat /etc/sane.d/saned.conf
localhost
192.168.0.0/24</pre>
<div>
<br /></div>
change saned.conf to match you network subnet.<br />
for security, you might want to change which user and group saned run as.<br />
<br />
start it up:<br />
<pre>chkconfig xinetd on
service xinetd restart
</pre>
<br />
scan from windows, over network:<br />
first download: <a href="http://sanetwain.ozuzo.net/#download">http://sanetwain.ozuzo.net/#download</a><br />
extract to new folder and run ScanImage.exe<br />
enter you linux ip address into the hostname and click OK.<br />
<br />
now you can use your scanner over network.<br />
<br />
--
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a>
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a>
<a href="http://dennyhalim.com/">documenting the brain</a>limdnyhttp://www.blogger.com/profile/06718407589206477286noreply@blogger.com0tag:blogger.com,1999:blog-11848992.post-61719942460629676962010-09-15T13:19:00.001+07:002010-09-15T13:23:28.654+07:00Super Easy Accepting Liberty Reserve Payment Liberty Reserve have made few <a href="http://blog.libertyreserve.com/2007/09/sci-form-generator.html">tools</a> and API so that merchants can sell their product or accept payments easily.<br />
<br />
i take one of those tools and make it even easier!<br />
<br />
with my <a href="http://wiki.dennyhalim.com/mywidget">Liberty Reserve Merchant widget</a>, you can start selling or accepting payments in few seconds.<br />
<br />
<script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script type="text/javascript">if (WIDGETBOX) WIDGETBOX.renderWidget('a6c74337-8309-48de-bdc3-5f9861e0293f');</script><br />
<br />
you can add the widgets to any website/blog that allow javascript or widgetbox widgets. including blogger/blogspot, <a href="http://it.dennyhalim.com/2010/01/install-my-widgets-on-yola-synthasite.html">yola / synthasite</a>, spruz, jimdo, webstarts, etc.<br />
<br />
-- <a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a> <a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a> <a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com5tag:blogger.com,1999:blog-11848992.post-68345935581516354582010-03-19T21:09:00.000+07:002010-03-19T21:09:46.133+07:00wicd + dnsmasq + opendns - opendns (ads) guides = faster browsingthere are many many ways to speed up your browsing experiences.<br />
<br />
<br />
one of many ways is optimizing your DNS server list.<br />
each and every file on the internet is located on a certain (sub)domain.<br />
so, each and every request of any file from your browser will need to query DNS servers first, before it can be fetch to your browser.<br />
<br />
as you can see, DNS play significan roles in your browsing experience. if you're using firefox and see a lot of 'looking up someslowdomainname.com' then your DNS is slow.<br />
<br />
here's how i speed up <a href="http://wiki.dennyhalim.com/filtered-dns">DNS</a> lookup a little bit. first, install <a href="http://www.thekelleys.org.uk/dnsmasq/docs/setup.html">dnsmasq</a> to do dns queries and cache all the results. thus repetitive lookup will perform much faster because the result is already in cache.<br />
<br />
then, tell dnsmasq to do the queries to <a href="http://www.opendns.com/">opendns</a> to let it filtered out phising and malware sites. but, opt-out the <a href="http://www.opendns.com/support/article/14">opendns guides</a> and block my local ISP ads.<br />
edit /etc/dnsmasq.conf and add this lines:<br />
<pre>#http://winware.org/bogus-domains.txt
bogus-nxdomain=92.242.132.11 #telkom speedy indonesia ads
bogus-nxdomain=67.215.65.132 #opendns guides
#bogus-nxdomain=208.67.219.135 #opendns blocked pages
#bogus-nxdomain=64.94.110.11 #verisign
</pre><br />
<br />
last, must not pass this one, tell the clients (i use <a href="http://wicd.sourceforge.net/">wicd</a> to manage my linux networks), including browsers, messengers, etc.. to query local dnsmasq instead of the far away opendns servers.<br />
edit /etc/resolv.conf.head and add these lines:<br />
<pre>nameserver 127.0.0.1 #query local dnsmasq
#dnsmasq will query these. also, in case dnsmasq fail, all apps will query these too:
nameserver 208.67.222.222
nameserver 208.67.220.220
</pre><br />
if you need more redundancy, in case all your dns fail, add this to /etc/resolv.conf.tail<br />
<pre>#google's
nameserver 8.8.8.8
nameserver 8.8.4.4
</pre><br />
wicd will automatically merge dns from your router/isp between resolv.conf.head and resolv.conf.tail<br />
<br />
<br />
now... our dns is much faster... what else can we do to speed up browsing? what do you do?<br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com2tag:blogger.com,1999:blog-11848992.post-45630137957994021962010-02-09T17:38:00.000+07:002010-02-09T17:38:52.438+07:00Vote Komodo for the New7Wonders of Naturevote for komodo and put this widget in your web/blogs to show your support<br />
<br />
<script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script>if (WIDGETBOX) WIDGETBOX.renderWidget('4974f7e9-cab8-4777-90e9-2173eb4498be');</script><br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com1tag:blogger.com,1999:blog-11848992.post-12554549262390524432010-02-07T00:28:00.000+07:002010-02-07T00:44:51.589+07:00Archlinux faster bootone great thing about archlinux is the <a href="http://wiki.archlinux.org/index.php/Rc.conf">rc.conf</a> which simplify services configuration a lot. <br />
<br />
instead of messing with lots lots of rc.X files, you only need to configure one single file for all bootup process.<br />
<br />
also, this way, you have full control which services should startup first and which services can start later.<br />
<br />
i move kdm service to start earlier so that i can have X starts while other services starts in background.<br />
this is how i arrange the services/daemons:<br />
<pre>DAEMONS=(syslog-ng @network hal wicd kdm netfs crond laptop-mode compcache)
</pre><br />
or, you could also put a lot of @ in front of each service so it starts in background, as more Arch user use like this:<br />
<pre>DAEMONS=(syslog-ng @network hal wicd @netfs @crond @laptop-mode @compcache kdm)
</pre><br />
how is yours arranged?<br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com0tag:blogger.com,1999:blog-11848992.post-23733425666054187312010-02-05T17:57:00.000+07:002010-02-07T00:44:51.595+07:00minimal KDE / KDEmod on Archlinuxif you follow the instruction on <a href="http://chakra-project.org/download-kdemod-step4.html">kdemod installation</a>, we're told to do 'pacman -S kdemod-minimal' to install minimal KDE.<br />
<br />
but that need to download over 400Megs packages and that does not seems minimal for me. coz the <a href="http://wiki.archlinux.org/index.php/Kde">Archlinux KDE minimal install</a>, only need much much smaller packages:<br />
<pre>pacman -S kdebase-workspace kdebase-konsole
</pre><br />
so i guess, i can do the same thing with kdemod. which i did:<br />
<pre>pacman -S kdemod-kdebase-workspace kdemod-kdebase-konsole
</pre><br />
now, that's what i called a minimal install.<br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com0tag:blogger.com,1999:blog-11848992.post-14903435581694613952010-02-04T08:08:00.000+07:002010-02-04T08:08:12.713+07:00offloading wpmu themes and plugins to cdn, fast & easy, without pluginsone of many ways to speed up your wpmu is by offloading your themes and plugins url to CDN.<br />
<br />
<br />
there are many <a href="http://wordpress.org/extend/plugins/search.php?q=cdn">plugins</a> to let you do this. you can also use htaccess to rewrite all your /wp-content url to cd.<br />
<br />
but i just found out, you can do it very easily without any plugins or htaccess rewrite. just edit your <a href="http://codex.wordpress.org/Editing_wp-config.php">wp-config.php</a> like this:<br />
<br />
<pre>define( 'WP_CONTENT_URL', 'http://your.cdn.host/wp-content');
define( 'WPMU_PLUGIN_URL', 'http://your.cdn.host/wp-content/plugins');
</pre><br />
that's all it.<br />
now all your wp-content and plugins url will be change to your.cdn.host and no cost for htaccess rewrite or plugins processing.<br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com6tag:blogger.com,1999:blog-11848992.post-47255273425896579912010-01-25T17:28:00.000+07:002010-01-25T17:28:08.761+07:00install my widgets on yola synthasite<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX0tvTmOriRSPhV8QdY9p7WVQ3xm8hxLTdj_3x5KG0gorqdStNRd6VGHo0J9YBoXmv0yL6kwDsfkoyqVXiZm_kAvB2pTFBE3fBxX9e8ZJRjYiTPadabS-bwmTiHwMUNYE2pmTN/s1600-h/yola-widgetbox.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="132" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX0tvTmOriRSPhV8QdY9p7WVQ3xm8hxLTdj_3x5KG0gorqdStNRd6VGHo0J9YBoXmv0yL6kwDsfkoyqVXiZm_kAvB2pTFBE3fBxX9e8ZJRjYiTPadabS-bwmTiHwMUNYE2pmTN/s320/yola-widgetbox.png" width="320" /></a><br />
</div>this is how you can install one of my <a href="http://wiki.dennyhalim.com/mywidget">great free widgets</a> on <a href="http://www.widgetbox.com/tag/dennyhalim">widgetbox</a> in your <a href="http://www.yola.com/">yola</a> / <a href="http://dennyhalim.synthasite.com/">synthasite</a>:<br />
<ol><li>login to your yola / synthasite </li>
<li>drag Widgetbox Gallery and drop to your page</li>
<li>search for dennyhalim to see my widgets</li>
<li>choose any widgets, customize it as you like</li>
<li>klik on 'Get Widget'</li>
<li>klik on 'Save' button</li>
<li>klik on 'Update My Site'</li>
<li>done.</li>
</ol>that's all it. now you can see my widgets on your yola / synthasite. <br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com5tag:blogger.com,1999:blog-11848992.post-71932562369426205342010-01-07T04:29:00.001+07:002010-01-25T17:43:11.304+07:00netinstall urls for virt-manager<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiahcS_g7eqxlKilrl-SDok-ibYtSkfyPskmMLQ-UXY_ugvZmRd04Q_Z0g_5H9ALeubIkuYNfYN8cb_UFFVDwNcUAAYO3rDTB0tCXtO0L6EFjwrx0P_YA9ZbpYfn8lkXEUUzUF-/s1600-h/kvm-netinstall.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="281" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiahcS_g7eqxlKilrl-SDok-ibYtSkfyPskmMLQ-UXY_ugvZmRd04Q_Z0g_5H9ALeubIkuYNfYN8cb_UFFVDwNcUAAYO3rDTB0tCXtO0L6EFjwrx0P_YA9ZbpYfn8lkXEUUzUF-/s320/kvm-netinstall.png" width="320" /></a><br />
</div>i dont know if it's documented coz i cant find this anywhere.<br />
<br />
here's a list of url i used to netinstall linux (xen/kvm) using virt-manager:<br />
<ul><li>debian: http://ftp.riken.jp/Linux/debian/debian/dists/testing/main/installer-amd64/current/</li>
<li>centos: http://ftp.riken.jp/Linux/centos/5/os/x86_64/</li>
<li>opensuse: http://ftp.riken.jp/Linux/opensuse/distribution/openSUSE-current/repo/oss/</li>
<li>mandriva: http://ftp.riken.jp/Linux/MandrivaLinux/official/current/x86_64/ <br />
</li>
<li>fedora: http://ftp.riken.jp/Linux/fedora/releases/12/Fedora/x86_64/os/</li>
</ul>adjust it with your local mirror and the version you want to install. <br />
<br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com4tag:blogger.com,1999:blog-11848992.post-10756926273891130462010-01-05T09:10:00.000+07:002010-01-25T18:28:06.293+07:00upgrade fedora kernel without compilingi hate compiling. even that gentoo, archlinux and freebsd makes it really very easy.<br />
however easy it gets, i still hate compiling...<br />
<br />
i got very recent laptop which have intermittent lan and wifi connection with default kernel.<br />
<br />
this one-line is all it takes to upgrade fedora kernel without compiling:<br />
<br />
<pre>su -c 'yum --enablerepo=rawhide update kernel*'
</pre><br />
that's all it.<br />
your kernel will be upgrade to the latest kernel from rawhide (fedora testing)<br />
<br />
that fix my intermittent network connection.<br />
<br />
--<br />
<a href="http://tips.dennyhalim.com">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com0tag:blogger.com,1999:blog-11848992.post-24942486039435257142010-01-02T08:31:00.001+07:002010-01-25T18:08:41.787+07:00light simple compiz alternative composite window managerhappy new year! wish you all blessed and peace!<br />
<br />
introducing <a href="http://wiki.archlinux.org/index.php/Xcompmgr">xcompmgr</a> - sample X compositing manager.<br />
<blockquote>xcompmgr is a sample compositing manager for X servers supporting XFIXES, DAMAGE, and COMPOSITE extensions. It enables basic eye-effects.</blockquote><br />
imho, this is very hidden 'treasure' of linux <a href="http://www.freedesktop.org/wiki/Software/xapps">freedesktop xapps</a>.<br />
<br />
it's not much know or used. but once i try it, i like it a lot!<br />
<br />
well, maybe it's not comparable to compiz (fusion). it's not that feature full. and most important (for me) it's not that heavy weight compositing champion.<br />
i can just run compiz, gnome/kde and all the glory on my Turion II laptop. but i rather let all resources goes to kvm to use/run/test other linux/win/solaris/firewall/servers/etc.<br />
so, i try to keep bare minimal fancy X stuffs on my system. i use fedora lxde spins in this lappy.<br />
<br />
i like compiz. but as i said, it's overkill for me. and i need all the resource i can get for kvm. so looks around to find the alternatives. xfce is the well known lightest desktop with compositing.<br />
<br />
not anymore...<br />
now with xcompmgr, you can use whatever your favourite lightweight window manager and still can have cool compositing desktop.<br />
tested with fluxbox, awesome2, fvm2, and openbox (with lxde). all works good. it's very light, fast and use very low ram and cpu.<br />
<br />
to test it, just install xcompmgr and run it inside X. if you like it, you can put it into autostart so that it start everytime X starts.<br />
<br />
<pre>xcompmgr -c -f -F &
man xcompmgr
</pre><br />
--<br />
<a href="http://tips.dennyhalim.com">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com1tag:blogger.com,1999:blog-11848992.post-16026908585937940462009-12-26T05:51:00.001+07:002010-03-09T20:29:45.957+07:00yum remove all dependenciesplaying with fedora these few days.<br />
<br />
yum is great with it's delta package system. which only download changed file instead of the whole package.<br />
<br />
one thing i dont like is that yum do not know what dependencies have been installed and should be removed.<br />
<br />
debian aptitude works out of the box.<br />
and we can add --auto-orphans to mandriva urpme<br />
<br />
<br />
some people suggest 'package-cleanup --leaves' to list leaf node (package that no other package depends on).<br />
<br />
i try that, and it list libvirt which is needed by virt-manager. so i cant fully trust that.<br />
<br />
more googling i found yum plugin <a href="http://www.mind-download.com/2009/07/remove-indirect-dependencies-with.html">remove with leaves</a> package.<br />
<br />
<pre>su -c 'yum install yum-plugin-remove-with-leaves'
yum remove --remove-leaves package-tobe-removed
</pre><br />
still need to test this<br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com6tag:blogger.com,1999:blog-11848992.post-52540035952957134002009-12-08T18:57:00.000+07:002009-12-08T18:57:22.151+07:00the making of opensuse lxde livecd<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIgJ-4gcOZy0mn5FpL3gY0JcUlpDRNSUPiexY6tiiuOMScbv9vTol6bHpI1DmsIVMEj2EtxBLlOXJRfoPIzX1GB9YeTCNAKt1J3Mc3KGDo2ZF0CG3k7cn3bYrcyw5IEApVllVB/s1600-h/dennyhalim-susestudio-lxde.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="172" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIgJ-4gcOZy0mn5FpL3gY0JcUlpDRNSUPiexY6tiiuOMScbv9vTol6bHpI1DmsIVMEj2EtxBLlOXJRfoPIzX1GB9YeTCNAKt1J3Mc3KGDo2ZF0CG3k7cn3bYrcyw5IEApVllVB/s320/dennyhalim-susestudio-lxde.png" width="320" /></a><br />
</div>by request of users and FameWolf that tiredlessly gives positive feedbacks, here i present the making of my <a href="http://wiki.dennyhalim.com/opensuse-minimal-desktop">opensuse lxde livecd</a>.<br />
<br />
well... actually i dont see much to show...<br />
anyway, here goes...<br />
<br />
<ol><li>Create new appliance...</li>
<li>Choose ´Minimal X´</li>
<li>gives it cool name.</li>
<li>add repos. the only one required is lxde repo.</li>
<li>add packages. (see screenshot)<br />
</li>
<li>tune configurations</li>
<li>paste this into scripts</li>
</ol><pre>chkconfig --add boot.compcache
chkconfig boot.compcache on
yast2 sysconfig set DEFAULT_WM="startlxde"
yast2 sysconfig set DEFAULT_GUI="GTK"
yast2 sysconfig set DISPLAYMANAGER="slim"
yast2 sysconfig set DEFAULT_WM="startlxde"
echo 'default_user polaris' >> /etc/slim.conf
#echo 'auto_login yes' >> /etc/slim.conf
echo 'sessions startlxde,icewm' >> /etc/slim.conf
echo 'exec startlxde' >> /home/polaris/.xinitrc
usermod -G audio,video,floppy,cdrom,disk,dialout,modem,games,lp,pmount polaris
echo 'text/x-suse-ymu;/sbin/OneClickInstallUI' >> /etc/mailcap
echo 'text/x-suse-ymp;/sbin/OneClickInstallUI' >> /etc/mailcap
</pre><br />
the scripts used to works on ´Run script at the end of the build´ section. now it wont works. so i duplicate it to first boot section.<br />
<br />
that´s all it!<br />
<br />
you can make your own distro or just download the ready to boot <a href="http://wiki.dennyhalim.com/opensuse-minimal-desktop">opensuse lxde livecd</a>.<br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com0tag:blogger.com,1999:blog-11848992.post-44513038951899573212009-11-22T04:00:00.001+07:002010-03-09T20:29:05.054+07:00park and monetize idle domainsso you just registered a great domain name and have not (yet) any plan what to do with it.<br />
what you do?<br />
<br />
most people just do nothing and let their registrar make money by showing ads on their unused properties.<br />
<br />
now you can take control of your own idle domain names. setup your own parked pages or redirect to parking services that can make yourself few buck even it's unused. you can even set it up for sales if you like...<br />
<br />
i'll recommend one parking service if you have not got one yet: <a href="http://snurl.com/parkweb">park or sell your domain names</a><br />
yes that have my affiliate code.<br />
<br />
well, if you only have a dozen domain or less, that's not too hard to maintain. just add your domain to your parking service and it's done.<br />
but if you have more... it will takes a lot of time to add each and every domain you have to the parking service.<br />
<br />
<br />
now, this is how i make it easy to add hundreds or even thousands of your domain name into parking service without you have to manually input them...<br />
<br />
first, register to <a href="http://snurl.com/parkweb">park or sell your domain names</a> because they have great api that we need.<br />
<br />
second, setup nsd name servers on your vps. why nsd? it slimmer, lighter, faster than bind and wont slow down your vps. here's i set it on debian:<br />
<pre>aptitude install nsd3</pre><br />
third, configure nsd and setup php redirect script<br />
<script src="http://gist.github.com/239180.js?file=namedrive-superurl.php">
</script><br />
replace the 'lid=' with your own code.<br />
<br />
fourth, setup all your idle domains to use your new dns server. or, you can just point it to your php script.<br />
<br />
that's it. now all your idle domains will be redirected to the parking service which will give you (not your registrar) few buck per month per domain without you need to set it up manually.<br />
<br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com1tag:blogger.com,1999:blog-11848992.post-81502231130239264612009-10-29T17:17:00.000+07:002010-01-25T18:30:07.153+07:00gigya toolbar, a wibiya toolbar alternativejust add this into your web/blog html, optionally get your own partner id and you got yourself a gigya toolbar:<br />
<br />
<script src="http://embed.snipt.org/okz">
</script><br />
<br />
or if you're using blogspot, just click on 'Add to blogger' icon:<br />
<script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script>if (WIDGETBOX) WIDGETBOX.renderWidget('5e3ac0bb-e824-4ab5-8898-6bf2ed52d40f');</script><br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com3tag:blogger.com,1999:blog-11848992.post-5687626344481822872009-10-10T09:58:00.005+07:002009-10-12T09:53:09.378+07:00the perfect mysql backupthis is the perfect mysql backup tool for me.<br />
<br />
<br />
how to use it:<br />
<ul><li>create LocalUserWithMinimalReadOnlyRight on mysql with your favourite tool. i only give it SELECT, RELOAD, LOCK TABLES privileges.</li>
<li><a href="http://gist.github.com/205944">download</a> backup-mysql.logrotate, edit the file, change the username and password</li>
<li>put the files in /etc/logrotate.d/</li>
<li>run this for the very first time: </li>
</ul><pre>for i in `mysql --batch -e 'show databases' | tail -n +2`; do
if [ ! -e /bak/mysql/$i ]; then mkdir -m 700 /bak/mysql/$i; fi
mysqldump --opt -u LocalUserWithMinimalReadOnlyRight $i | gzip -c > /bak/mysql/$i/$i.sql.gz
done
</pre><br />
that's it. i will creates 5 daily backup, 4 weekly backup and 3 monthly backup.<br />
for best result, make sure you put your backup on separate drive or even on a separate network/country/planet...<br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com0tag:blogger.com,1999:blog-11848992.post-77035563744420332882009-10-09T04:13:00.001+07:002009-10-09T04:25:19.878+07:00Google Chrome native builds for mac and linuxso you've been <a href="http://it.dennyhalim.com/2009/09/srware-iron-for-linux-is-here.html">trying</a> <a href="http://it.dennyhalim.com/2009/07/chromium-on-linux-mac-and-xp.html">all</a> <a href="http://it.dennyhalim.com/2008/09/google-chrome-on-ubuntu-hardy.html">possible</a> <a href="http://gist.github.com/156959">ways</a> to get google chrome installed in your mac and linux?<br />
<br />
now you can get the native builds from google <a href="http://dev.chromium.org/getting-involved/dev-channel#TOC-Subscribing-to-a-channel">early access release</a>. it's unreleased, beta and developer channel.<br />
<br />
<ul><li>google chrome for <a href="http://dev.chromium.org/getting-involved/dev-channel#TOC-Mac">mac</a></li>
<li>debian package for <a href="http://dev.chromium.org/getting-involved/dev-channel#TOC-Linux">linux</a></li>
</ul><div>and if you install the debian package on debian/ubuntu, it will also install google chrome repo to make sure you always get updated version of google chrome.<br />
</div><br />
<br />
and if you want better privacy and using ubuntu, you can use <a href="https://launchpad.net/~chromium-daily/+archive/ppa">chromium daily builds</a>.<br />
add this to your /etc/apt/source.list<br />
<pre>deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main
# replace hardy with jaunty or whatever your ubuntu version is
</pre><br />
<br />
personally, i hate 'daily' stuffs that i feel the need to update everyday...<br />
<br />
<br />
after you get google chrome installed, check out some cool and hot <a href="https://tools.google.com/chrome/intl/en/themes/index.html">themes</a> to dress-up your browser.<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com0tag:blogger.com,1999:blog-11848992.post-7609857226741712432009-09-23T05:08:00.001+07:002010-01-25T17:56:09.471+07:00srware iron for linux is here<a href="http://www.srware.net/en/software_srware_iron_chrome_vs_iron.php">srware iron</a> is a browser built from <a href="http://it.dennyhalim.com/2009/07/chromium-on-linux-mac-and-xp.html">chromium</a> source. <a href="http://www.favbrowser.com/google-chrome-spyware-confirmed/">some</a> <a href="http://harshad.wordpress.com/2008/09/03/google-unveils-chrome-the-browser-spyware-we-were-waiting-for/">people</a> <a href="http://news.metaparadigma.de/?p=1183">might</a> <a href="http://fantomaster.com/fantomNews/archives/2008/09/05/googles-chrome-browser-calling-home-blatant-spyware-the-proof/">consider</a> <a href="http://it.dennyhalim.com/2008/09/google-chrome-on-ubuntu-hardy.html">google chrome</a> <a href="http://forums.whirlpool.net.au/forum-replies-archive.cfm/1046983.html">as</a> <a href="http://blog.nektra.com/main/2008/10/15/the-truth-about-google-chrome-using-spy-studio/">spyware</a>. so if you want a clean browser with chrome power, then use chromium or iron.<br />
<br />
<a href="http://www.srware.net/en/software_srware_iron_download.php">download</a> for linux is <a href="http://www.srware.net/forum/viewtopic.php?f=18&t=561">here</a>. and for mac is <a href="http://www.srware.net/forum/viewtopic.php?f=18&t=419">here</a>.<br />
--<br />
<a href="http://tips.dennyhalim.com">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com0tag:blogger.com,1999:blog-11848992.post-3213145598204187402009-09-01T19:47:00.002+07:002010-01-25T17:30:14.958+07:00Embed Addictives Flash Games on Your Web / Blogs, easily.how would you like your visitors stays on your web/blogs for hours and keep coming back...<br />
<a href="http://www.gameklik.info/">free addictive online games</a> is a great way to attract more traffic to your website and make your visitors stays for hours and hours playing their favorite games on your web/blogs.<br />
<br />
this is one of my <a href="http://wiki.dennyhalim.com/mywidget">free widgets</a> to do just that. just click on the 'get widget' button and with few clicks it would be on your web/blogs.<br />
<br />
<script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script>if (WIDGETBOX) WIDGETBOX.renderWidget('9b9b3436-2d6f-4ff4-9d59-a2f639234a34');</script><br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com3tag:blogger.com,1999:blog-11848992.post-49044520474953924422009-07-30T16:02:00.001+07:002009-07-30T16:09:43.288+07:00search any words. in any languages. introducing the ultimate word search!Search dozens of dictionaries, thesaurus, idioms, encyclopedia and more! Search any words in any languages with ease!<br />
<a href="http://bit.ly/R6Svu">Add the Ultimate Word Search Engine to your web/blog!</a><br />
<br />
<div id="wordsearchcse" style="width: 100%;">Loading</div><script src="http://www.google.com/jsapi?key=ABQIAAAARePfnylp5mV3zYn9AsvfQBQPFHIfvX5QVqmkoUtS_iNyQEwfLRSTerWfprbmz0CgafCfxg0qhd--Kw" type="text/javascript"></script><script type="text/javascript"> google.load('search', '1'); google.setOnLoadCallback(function(){ new google.search.CustomSearchControl('003127643427034444210:4rtzg2gih6q').draw('wordsearchcse'); }, true);</script><br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com0tag:blogger.com,1999:blog-11848992.post-42172391660886126432009-07-30T14:34:00.000+07:002009-07-30T14:34:03.255+07:00ubuntu restricted shell with lshell<a href="http://lshell.ghantoos.org/">lshell</a> is a restricted shell, similar to <a href="http://dragontoe.org/rssh/">rssh</a> or <a href="http://ibsh.sourceforge.net/">ironbars</a>, which you can use to restrict users shell. but rssh only allow scp/sftp and does not allow login to shell. lshell allow login, but restrict user to only few commands.<br />
i tested this with my <a href="http://wiki.dennyhalim.com/the-perfect-webserver">ubuntu perfect webserver</a> setup. but i believe it's same steps to install on any linux. <br />
<pre>wget http://downloads.sourceforge.net/project/lshell/lshell/0.9.5/lshell-0.9.5.tar.gz
tar xvfz lshell-0.9.5.tar.gz
sudo python setup.py install
chsh -s /usr/bin/lshell RESTRICTEDUSERNAME
</pre><br />
o, btw. it python script. so make sure python is installed.<br />
that's it.<br />
simple, fast, easy.<br />
<br />
after that, edit /etc/lshell.conf to <a href="http://lshell.ghantoos.org/Configuration">configure</a> lshell to suite your need. <br />
the most important (for me) is the allowed and forbidden list of commands.<br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com1tag:blogger.com,1999:blog-11848992.post-89839214293642220962009-07-23T09:25:00.001+07:002009-07-24T17:44:52.831+07:00openSuse + Koffice2 + OOo3 + Kontact PIM = Office Konnect Linuxlooking for the perfect linux desktop for office use?<br />
so did i.<br />
<br />
lucky me, i have access to susestudio. that allow me easily customize openSuse as i like it.<br />
<br />
so far, i built <a href="http://wiki.dennyhalim.com/opensuse-minimal-desktop">openSuse lxde livecd</a>, which is the <a href="http://wiki.dennyhalim.com/linux-minimal-desktop">linux minimal desktop</a> that only have lxde and firefox. this one i use for most every computer i can put it on. then, add up apps that i need.<br />
then from this, i made up <a href="http://wiki.dennyhalim.com/kidsuse">kidSuse</a>. the linux for kids. this is the one my kids (from 2yrs to 6yrs) are playing and learning with, everyday.<br />
<br />
but i still missing something...<br />
for office use, i can start with minimal desktop. but there's too much to add and when the internet slowing down, it could takes hours downloading all the packages...<br />
<br />
so here's the Office Konnect distro for my own use. or if it suite you, it's free to take.<br />
<br />
<ul><li><a href="http://bit.ly/tIpuc">Download Office Konnect Linux 0.1.2</a></li>
<li><a href="http://bit.ly/Radai">Download Office Konnect Linux 0.1.3</a> </li>
</ul>what's inside? the <b>latest</b> (preferred, stable) version of these apps:<br />
<ul><li>OpenOffice.org</li>
<li>Koffice<br />
</li>
<li>Kontact (KDE PIM) and all its <a href="http://kontact.kde.org/components.php">components</a></li>
<li>konqueror, kopete, okular, k3b, kde-utils, etc</li>
<li>wine<br />
</li>
</ul>well, because there're so many kde apps, i just use the kde desktop instead of other lightweight options.<br />
<br />
that's all i can think of for my office use.<br />
anything missing? critics, comments, suggestions are all welcome.<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com0tag:blogger.com,1999:blog-11848992.post-47889905241234355132009-07-12T18:34:00.000+07:002009-07-12T18:34:04.660+07:00chromium on linux, mac and xpthis might be a late news.<br />
but because people still gets here for this <a href="http://it.dennyhalim.com/2008/09/google-chrome-on-ubuntu-hardy.html">install google chrome on linux guide</a>, so this short note only to tell you that you can now have chromium (which is the base for google chrome builds) on linux, mac and xp:<br />
<ul><li><a href="http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/">chromium for linux</a></li>
<li><a href="http://build.chromium.org/buildbot/snapshots/chromium-rel-mac/">chromium for mac</a></li>
<li><a href="http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/">chromium for windows xp</a><br />
</li>
</ul>just download the latest snapshot, unzip and run.<br />
simple as that.<br />
<br />
--<br />
<a href="http://tips.dennyhalim.com/">tips & tricks on computers and gadgets</a><br />
<a href="http://it.dennyhalim.com/">denny on IT ; let's doIT</a><br />
<a href="http://dennyhalim.com/">documenting the brain</a>dennyhalim.comhttp://www.blogger.com/profile/07355995427601006898noreply@blogger.com0