Category Archives: Work

Preparing ubuntu usb install for nettop installation

Due to budget limitation and energy saving campaign in my office we try to explore more machine for our sms gateway. The criteria for this low traffic machine is clear :

Lowest energy with high storage facility and price within the range $100 – $250

Hardware

Search in the net give me a few result around mini pc aka netttop
like :

  1. Asus EeeBox EBXB202-BLK-X0081
  2. Acer AspireRevo AR1600-U910H
  3. QutePC-1000

Operating System

I have experience with ubuntu as operating system and more than one device for gammu.

Little problem came when I realize that install method available for this nettop stuff is via usb.

Searching with google for ubuntu usb install, live usb linux, bootable usb, bootable usb linux and install linux from usb give me hint for visit Lili USB Creator. Fortunately this tool run in Windows :-)

Continue reading

Step by step Install Pure-FTP inside pfSense

pfSense is great stuff when you’re looking for Firewall but I need more :-)

Case :

A user want to store his file in the form of FTP but pfSense is the only server that available in the office. New HDD ready to support this method.

Solution : Add new HDD and install FTP server inside pfSense.

Steps : ( I use vmware for reproduction the steps)

Install pfSense version 1.2.3

1. Install pfSense

I install version 1.2.3 as I need to produce it with latest pfSense version.

install ftp server on pfsense : create virtual machine

I use 2 HDD ( system located in 8G HDD and second HDD for FTP data)

Ethernet 1 set for LAN ( ip address 192.168.12.110) and ethernet 2 work as WAN ( I set to DHCP)

Enable sshd for remote configuration via ssh client like putty, securecrt  etc.

Restart system after successfully install to HDD.

Continue reading

Howto reset mysql password on ubuntu server 9.10

New IBM server has arrived, its IBM X3100-42X.

Standard install required; DNS, LAMP and OpenSSH server on  Ubuntu Server 9.10.

Problem came when I forgot password for MySQL. I think the solution isn’t far from what I done in FreeBSD.

First attempt login to MySQL server :

# mysql -uroot -p

Enter password:
ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)

Look MySQL process :

Continue reading

Create tar.gz in OpenSolaris

I need to make backup for our public_html directory

using tar command I used to use :

tar cvzf  filename.tar.gz directory_name

It work in linux or bsd but I have different situation with OpenSolaris :

# uname -a

SunOS TGLxxxxxxx 5.11 snv_86 i86pc i386 i86xpv

# tar cvzf public_html.tar.gz public_html

tar: z: unknown function modifier
Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@/[0-7]][bfk][X…] [blocksize] [tarfile] [size] [exclude-file…] {file | -I include-file | -C directory file}…
#

Combine it with gzip using pipe will give tar.gz file :

tar cvf -  public_html | gzip > public_html.tar.gz

Yes, it works!

scp time.

P.S :

In case you want to extract .tar.gz file in OpenSolaris use this command :

gzip -dc filename.tar.gz | tar xvf –