Tuesday, November 11, 2014

Enable [hostname]/~user

Newly installed ubuntu server 14.04

By default /var/www/html/ is where you put your main website.
The apache2 allows to have multiple per user website which is not activated by default.

The below is from [2]

Use command a2enmod to enable Apache2 userdir module. these command will be create symlink /etc/apache2/mods-available/userdir.load and /etc/apache2/mods-available/userdir.conf in to directory /etc/apache2/mods-enable/
sudo a2enmod userdir
Restart apache2 daemon with following command
sudo service apache2 restart
Ceate folder “public_html” in the home directory, then set permission public_html folder to 0755
mkdir ~/public_html && chmod 0755 ~/public_html

[1] About per-user web directory
http://httpd.apache.org/docs/2.2/howto/public_html.html

[2] Three step enable
http://ubuntuserverguide.com/2012/10/how-to-enable-and-configure-apache2-userdir-module-in-ubuntu-server-12-04.html

Saturday, November 8, 2014

Ubuntu 14.04 + windows 7 dual booting on VAIO

My VAIO starts to cause issues in windows, so I decided to make a clean install
I've been using 12.04 LTS with win 7. It has 128 SSD with dual booting

* VAIO VPCZ2290X
* 128GB SSD (raid)

1. Clean install of Windows by using rescue image CDs. Recovery actually does not work due to the grub. Trying recovery from hard drive partition results in grub rescue screen.

2. For some reason I could not install 14.04 LTS. I believe this is because of the raid.
After factory recovery the partition already has thee primary ones.
- recovery
- boot
- windows

Boot with 11.10 installation disk, run gparted and do the followng
- resize the windows partition
- make extended area
- make ext4 logical partition
- make linux swap partition

3. Reboot and check it boots up to the windows. You'll be asked to run the disk check from windows.

4. Reboot to install ubuntu 11.10
In the hard drive format section, specify ext4 as root, point the grub installation to /dev/mapper ... 0

5. Install. and upgrade to 14.04

Wednesday, September 10, 2014

Bus (Daejeon to ICN airport)

042-862-1114 (도룡 터미널) 전화예약가능 터미널에서 당일 결재.

출처: http://blog.naver.com/naleekj?Redirect=Log&logNo=220096779129

Tuesday, February 18, 2014

GIT

Git 이라...

http://www.slideshare.net/einsub/svn-git-17386752

Tuesday, February 4, 2014

optimizing pdf in a command line ubuntu

ps2pdf -dEmbedAllFonts=true -dUseFlateCompression=true -sPAPERSIZE=letter paper.pdf

from: http://wiki.scribus.net/canvas/Web_optimised_PDF

Wednesday, September 18, 2013

Closing accounts when heading back to S. Korea

Some facts:

UMCU
1. Interest checking requires min $1,500 but it can be always changed to checking without any requirements.
2. After 6 month of no activity, account goes to dormant and $5/month applies. You can avoid the fee by tossing a dollar between saving checking.
3. To close an account, you need to write a letter with your signature. Scan it and email or fax it.
4. When writing this email, you can specify either a person to retrieve the money or an address. The a check will be sent to the address or a person.

Chase
1. Checking requires min $1,500. To have both saving and checking, you need to keep $5,000 balance in total.
2. After 6 month, dormant fee applies.
3. To close the account, you need to call to the number behind your debit card.
4. When a credit card expires, the new one will be delivered to the address you have in your account. This can be a foreign address.
5. Wire transfer to korea is possible via web in chase. You need to activate this before you leave (when you have phone number to get the sms code).
6. Activation code is required when executing wire transfer. But if you go to chase branch they will teach you how to do this when you do not have a US cell phone.

Thursday, August 16, 2012

Installing 12.04 on Sony VAIO Z

Due to the grub issue, it is not straightforward to install 12.04 as it was in 11.10. I end up with installing a clean 11.10 and let it install properly for raid set up. Then, from 11.10, I upgraded to 12.04 to avoid grub and booting problem. That was a easy solution.

* No miss typing issue in ibus using korean. In 11.10, we had wrong white spacing issue with ibus.
* trackpad works better than before. I could not drag with left-click, but now it works.