minidlna 설치 및 시작프로그램등록




sudo apt-get install minidlna

sudo gedit /etc/minidlna.conf


# port for HTTP (descriptions, SOAP, media transfer) traffic
# network interface to bind to (this is the only interface that will
#serve files)
# set this to the directory you want scanned. * if have multiple
# directories, you can have multiple media_dir= lines * if you want to
# restrict a media_dir to a specific content type, you
# can prepend the type, followed by a comma, to the directory: + “A”
# for audio (eg. media_dir=A,/home/jmaggard/Music) + “V” for video
# (eg. media_dir=V,/home/jmaggard/Videos) + “P” for images (eg.
# media_dir=P,/home/jmaggard/Pictures)



# set this if you want to customize the name that shows up on your
# clients
friendly_name=MiniDLNA Server
# set this if you would like to specify the directory where you want
# MiniDLNA to store its database and album art cache
# set this if you would like to specify the directory where you want
#MiniDLNA to store its log file log_dir=/var/log
# this should be a list of file names to check for when searching for
# album art note: names should be delimited with a forward slash (“/”)
# set this to no to disable inotify monitoring to automatically discover
# new files note: the default is yes
# set this to yes to enable support for streaming .jpg and .mp3 files to
# a TiVo supporting HMO
# set this to strictly adhere to DLNA standards. * This will allow
# server-side downscaling of very large JPEG images,
# which may hurt JPEG serving performance on (at least) Sony DLNA
# products.
# default presentation url is http address on port 80
# notify interval in seconds. default is 895 seconds.
# serial and model number the daemon will report to clients in its XML
# description




sudo update-rc.d -f minidlna remove





리눅스에서 USB에 Grub2를 설치하여 멀티부팅하기


리눅스에서 USB에 Grub2를 설치하여 멀티부팅하기… 2012년
2012/07/24 11:15

윈도우즈상에서 Grub4Dos로 USB 멀티부팅작업을 하였으나 프로그램 버그인지 자주 문제점이 발생하여기기
리눅스상에서 Grub2를 설치하여 보았습니다.

1. Gparted를 실행하여 USB장치를 ntfs로 만든다.

2. 터미널을 열고 USB장치가 마운트되어 있으면 umount시킨다.
예: sudo umount /dev/sdc1

3. 마운트시킬 디렉토리 생성
예: sudo mkdir /media/USB

4. USB장치를 마운트시킨다
예: sudo mount /dev/sdc1 /media/USB

5. Grub2를 설치한다
예: sudo grub-install –force –no-floppy –root-directory=/media/USB /dev/sdc1

6. 아래의 grub.cfg 내용을 참조하여 /media/USB/boot/grub 에 있는 grub.cfg파일을 수정한다.

7. memdisk를 USB장치로 복사한다.
예: sudo cp /usr/lib/syslinux/memdisk /media/USB/boot/grub

8. 재부팅하여 확인.

menuentry “Xubuntu 12.04 Desktop i386” {
set isofile=/xubuntu-12.04-desktop-i386.iso
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noeject noprompt splash —
initrd (loop)/casper/initrd.lz

menuentry “Windows XP Live CD January 2010 Final” –class windows –class os {
insmod part_msdos
insmod ntfs
set root_label=USB
search –label –no-floppy –set=root $root_label

set iso_file_name=”/Windows.XP.LiveCD.January.2010.Final.iso”
search –file –set=isopart $iso_file_name
set isofile=”($isopart)${iso_file_name}”
set memdisk_file=”(${root})/boot/grub/memdisk”
linux16 $memdisk_file iso raw
initrd16 $isofile

menuentry “Windows 7 User-PE (20120718)” –class windows –class os {
insmod part_msdos
insmod ntfs
set root_label=USB
search –label –no-floppy –set=root $root_label

set iso_file_name=”/WIN7PE.iso”
search –file –set=isopart $iso_file_name
set isofile=”($isopart)${iso_file_name}”
set memdisk_file=”(${root})/boot/grub/memdisk”
linux16 $memdisk_file iso raw
initrd16 $isofile
[출처] 리눅스에서 USB에 Grub2를 설치하여 멀티부팅하기…|작성자 any9122

grub으로 iso 시스템 돌리는 법 법


grub으로 iso 시스템 돌리는 법 법

Install Unetbootin and set everything up for booting an ISO using Grub2


Warning: remember, when messing with Grub (or any application that modifies it), there are things that might go wrong so use this at your own risk and if you know how to fix it in case things go wrong.
1. Install Unetbootin:
In Ubuntu, simply run the following command to install it:
sudo apt-get install unetbootin


If you’re not using Ubuntu and Unetbootin is not in your distro official repositories, download it from HERE.

Important: like Scirocco points out in a comment, there are issues with some Unetbootin versions which not only fail to work when trying to boot an ISO from the hard disk, but will also fail when you try to create a bootable USB. I’ve used Unetbootin 494 from GetDeb and everything worked fine so I suggest you use the same version. So if you’re getting an error like this: “disk image not found. need to load kernel first”, it’s because of the Unetbootin version you’re using.

2. Using Unetbootin to create a new Grub2 entry to boot the ISO:

In Unetbootin, select the “Diskimage” option, then browse for an ISO and under “Type” select “Hard Disk” and leave “/” for the “Drive”, then click OK:
Unetbootin boot Grub2 ISO


Once Unetbootin finishes, restart your computer and select “Unetbootin” in the GRUB2 menu. If the Grub2 menu doesn’t show up, press and hold the SHIFT key.
Because Unetbootin extracts the ISO, you’ll have to run it again when you want to boot a new ISO, even if it has the same name and is placed in the same location as the old one.

Removing the ISO from GRUB2 menu


Unetbootin remove ISO grub2


The next time you’ll launch Unetbootin, it will ask you the following: “Unetbootin is currently installed. Remove the existing version?” – this isn’t about removing Unetbootin but about removing the Grub2 menu entry for Unetbootin (and the ISO). Select “OK” and the ISO will be removed from the menu.

* 수동으로 설정하는 방법법
Copy, for example the ISOs in /home, find the partition where is /home which is expressed as (hd”number_of_drive”,”number_of_partition”) and after do a:

sudo gedit /etc/grub.d/40_custom

and add for every iso this piece of code:

menuentry “Boot Ubuntu 10.10 Live ISO” {
loopback loop (hd0,1)/home/ubuntu-10.10-desktop-i386.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/home/ubuntu-10.10-desktop-i386.iso file=(loop)/preseed/ubuntu.seed quiet splash —
initrd (loop)/casper/initrd.lz

and rebuild grub2 sector with

sudo update-grub2

최고의 백업 및 디스크 복사 툴 Clonezilla 서버 우분투에 설치


, , ,

CloneZilla Server Installation

여러대의 컴에 설치 ,uuid 통째 복사 가 가능한 최고의 복데 툴- 쉬우니 번역은 안하겠습니다.

Prepare Ubuntu

Clonezilla SE works by providing a boo-table environment for clients though the network.  For this purpose a DHCP server will have to be installed. You will have to make sure that none of the computers in your organization are set to boot from network as first boot device, otherwise they might boot to Clonezilla instead of their own operating system. There is a way around this:  A file can be created with all MAC addresses of the computers to be cloned. This will prevent the server from booting unwanted machines. However, from experience I have found that it is easier to just boot the desired machines from network manually and once booted into Clonezilla the cloning process can be started from the server with the click of a button.

1) Enable “Universe” and “Multiverse” repositories under:  System -> Administration -> Software Sources.

2) Open your sources list file to add the Clonezilla repository issuing the following command at your shell prompt:

sudo gedit /etc/apt/sources.list

3) Add the following line at the bottom of the file and save it.

deb drbl stable

4) Download the GPG Key for the new clonezilla source repository by issuing the following command at your shell prompt:


5) Add the key with the following command:

sudo apt-key add GPG-KEY-DRBL

6) Make sure operating system is fully updated by issuing the following command at your shell prompt:

sudo apt-get update

Setup Ubuntu’s Network Configuration

1) Uninstall Network Manager by issuing the following command at the shell prompt (This is optional, it is done because network manager sometimes does not like the virtual interface created for Clonezilla. I had no problems with network manager in Ubuntu 10.04)

sudo apt-get remove network-manager

2) Type the following command at a terminal screen to open your network interfaces configuration file:

sudo gedit /etc/network/interfaces

Edit the file to look as the one displayed below; you can copy – paste this information to your interfaces file. As you can see on the configuration below we have two interfaces, eth0 and eth0:0. Eth0 is your main network card’s IP configuration; we are going to use this to connect to the web, etc.  eth0:0 is a “virtual” interface which we will use for Clonezilla. Just remember  to match eth0′s IP configuration with that of your local network and to make eth0:0 IP a totally different subnet from that of eth0, look at the example down below. etho is and eth0:0 is is eth0:0, so they don’t conflict.  Also, Clonezilla’s virtual interface, eth0:0 must use a “class C” IP address (e.g. 192.168.x.x) otherwise muticasting effectiveness will be greatly reduced.

auto lo
iface lo inet loopback

#Network Interface, this should match your network
auto eth0
iface eth0 inet static

#Virtual Interface for Conezilla, make sure you use a "class C" IP (192.168.x.x)
auto eth0:0
iface eth0:0 inet static

Restart network

sudo /etc/init.d/networking restart

Install DRBL

1) To install DRBL (which comes with Clonezilla in one package) issue the following command:

sudo apt-get install drbl

This is all you have to do. You do not need to install any dependencies, since it all comes in one package.

Setup DRBL

To start the DRBL setup, issue the following command:

sudo /opt/drbl/sbin/drblsrv -i

Clonezilla (DRBL) setup will begin. Answer everything as you see it below. Do not worry if you make a mistake, you can always start the set-up again issuing the same previous command.

The first question basically asks you if you want to install other Linux images, answer “N

Do you want to install the network installation boot images so that you can let the client computer install some GNU/Linux distributions (Debian, Ubuntu, RedHat Linux, Fedora Core, Mandriva, CentOS and OpenSuSE…) via a network connection?  !!NOTE!! This will download a lot of files (Typically > 100 MB) so it might take a few minutes. If the client computer has a hard drive that you may install GNU/Linux onto, put a Y here. If you answer “no” here, you can run “drbl-netinstall” to install them later.
[y/N] N

Next question asks if you would like to use a serial console instead of a GUI, so choose “N

Do you want to use the serial console output on the client computer(s)?
If you do NOT know what to pick, say “N” here, otherwise the client computer(s) may show NOTHING on the screen!
[y/N] N

Next question asks about the type architecture used in your CPU.  Since practically all of today’s PCs are i586, choose  ”1“.

Which CPU architecture kernel do you want to assign for the DRBL client computer(s)?
0 -> i386 CPU architecture
1 -> i586 CPU architecture
2 -> Use the same architecture as this DRBL server
Note! Note Note! Note! Note! Note! Note!
NOTE!!! If the client computer(s) is not the same architecture as this server, please pick “0″ or “1″, otherwise your client computer(s) will NOT be able to boot.
If you use wrong architecture type kernel, the glibc and openssl package might use i686 or i386 while the kernel might use i686, i586, or i386, which might be not suitable for all your computer(s).
[2] 1

Select “N” in the next question. You do not want DRBL to upgrade your operating system. Next, DRBL will begin downloading and installing all its dependencies.

Do you want to upgrade the operating system?
[y/N] N

After DRBL finishes downloading and installing all its dependencies, we are done installing DRBL. Next we will be configuring Clonezilla.

Configure Clonezilla

Enter the following command at your shell prompt to start configuring Clonezilla:

sudo /opt/drbl/sbin/drblpush -i

Again, do not worry about making a mistake you can always issue the same command to start over.

At the first question just press “enter” to leave the default name.

Please enter DNS domain (such as

At the second question again just press “enter” to leave the default nis/yp domain name.

Please enter NIS/YP domain name:

At the third question again just press “enter” to leave the default server name.

Please enter the client hostname prefix:
This prefix is used to automatically create hostname for clients. If you want to overwrite some or all automatically created hostnames, press Ctrl-C to quit this program now, edit /opt/drbl/conf/client-ip-hostname, then run this program again.

The fourth question asks to choose which card to use to go to the internet, previously we chose eth0 as our connection to the web and eth0:0 as our virtual interface for Clonezilla, so enter “eth0

eth0: IP address, netmask
eth0:0: IP address, netmask
Configured ethernet card(s) found in your system: eth0 eth0:0
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
The public IP address of this server is NOT found.
Which ethernet port in this server is for public Internet accsess, not for DRBL connection?
Available ethernet ports in this server:
eth0 (, eth0:0 (,
[eth0] eth0

If you get a message telling you that your Clonezilla IP (eth0:0) is on a class A or B network, make sure you change it to a “Class C” (e.g. 192.168.x.x) and start Clonezilla’s configuration over, otherwise multicasting’s effectiveness will be greatly reduced.

Next question asks if you want to collect MAC addresses of computers to be cloned; this is done so that only computers that are going to be cloned get assigned an IP from DRBL.  I find this time consuming and unnecessary, since it is easier to turn DRBL off once you are done cloning so that it does not conflict with your network’s DHCP server. DRBL is very easy to turn on and off with a simple short-cut on your server’s desktop. So we are going to choose “N“.

(…summary…) Now we can collect the MAC address of clients!
Do you want to collect them?
[y/N] N

Since we chose not to collect mac addresses we will choose “N” in the next question.

Do you want to let the DHCP service in DRBL server offer same IP address to the client every time when client boots (If you want this function, you have to collect the MAC addresses of clients, and save them in file(s) (as in the previous procedure)). This is for the clients connected to DRBL server’s ethernet network interface eth0:0 ?
[y/N] N

Next question asks what will be the starting IP number assigned to client computers; you can leave it at “1” since no other computers should be using the Clonezilla subnet.

What is the initial number do you want to use in the last set of digits in the IP (i.e. the initial value of d in the IP address a.b.c.d) for DRBL clients connected to this ethernet port eth0:0.
[1] 1

Next question asks how many computers do you want to clone at a time; you can set this to whatever you want as long as it is not ridiculously high, for this example we are going to leave it at “12” computers.

How many DRBL clients (PC for students) connected to DRBL server’s ethernet network interface eth0:0 ?
Please enter the number:
[12] 12

Do you accept what we did in the previous question? Select “Y” (self explanatory).

The final number in the last set of digits in the client’s IP address is “12″. We will set the IP address for the clients connected to DRBL server’s ethernet network interface eth0:0 as: – Accept ?
[Y/n] Y

Next, Clonezilla will show you how your network configuration will look like; this is just information so press “enter“.

The Layout for your DRBL environment:
NIC      NIC IP             Clients
|        DRBL SERVER        |
|                           |
| +– [eth0]     +- to WAN
|                           |
| +– [eth0:0] +-  to clients group 0:0 [12 clients,   IPs – 12]
|                           |
Total clients: 12
Press Enter to continue…

Clonezilla will then ask you if you want to have the option of booting computer to Linux using the network, we are just setting the server for cloning so choose option “2“.

In the system, there are 3 modes for diskless linux services:
[0] Full DRBL mode, every client has its own NFS based /etc and /var.
[1] DRBL SSI (Single system image) mode, every client uses tmpfs based /etc and /var. In this mode, the loading and necessary disk space of server will be lighter. NOTE! (a) The client machine memory is recommended at least 256 MB. (b) The setting and config files of client will not be saved to the DRBL server! They are just used once and will vanish after the machine shutdowns! Besides, if you modify any file in the template client (located in /tftpboot/nodes), you have to run /opt/drbl/sbin/drbl-gen-ssi-files to create the template tarball in /tftpboot/node_root/drbl_ssi/. (c) If you want to provide some file to overwrite the setting in the template tarball when client boots, check /tftpboot/node_root/drbl_ssi/clients/00_README for more details.
[2] I do NOT want to provide diskless Linux service to client.
Which mode do you prefer?
[0] 2

Choose Clonezilla box mode, option “1“. This way the whole cloning operation will be lighter on the server.

In the system, there are 4 modes available for clonezilla:
[0] Full Clonezilla mode, every client has its own NFS based /etc and /var.
[1] Clonezilla box mode, every client uses tmpfs based /etc and /var. In this mode, the loading and necessary disk space of server will be lighter than that in Full Clonezilla mode. Note! In Clonezilla box mode, the setting and config files of client will not be saved to the DRBL server! They just use once and will vanish after the machine shutdowns!
[2] I do NOT want clonezilla.
[3] Use Clonezilla live as the OS (Operating System) of clients (Testing).
Which mode do you prefer?
[0] 1

Next question asks what will be the default directory where you want to store your images. To me the default “/home/partimag” is not intuitive, so I change it to “/clonezilla” so it can be easily accessible in the file-system. But this is up to you; just remember that if you decide to change it make sure you create the new folder manually, since the setup will not do it for you.

The CPU arch for clients when running Clonezilla job: i486
When using clonezilla, which directory in this server you want to store the saved image (Please use absolute path, and do NOT assign it under /mnt/, /media/ or /tmp/)?
[/home/partimag] /clonezilla

Unless you want to be annoyed with a password prompt every time you want to clone a computer or you are a security freak, choose “N” in the next question.

Do you want to set the pxelinux password for clients so that when client boots, a password must be entered to startup (For better security)
[y/N] N

Choose “N” at the next question as well, you do not need a boot prompt for clients

Do you want to set the boot prompt for clients?
[y/N] N

I recommend you choose “Y” in the next question; graphic backgrounds look friendlier.

Do you want to use graphic background for PXE menu when client boots?
Note! If you use graphical PXELinux menu, however client fails to boot, you can switch to text mode by running “/opt/drbl/sbin/switch-pxe-bg-mode -m text”.
[y/N] Y

Choose “N” in the next question (self explanatory).

Do you want to use DRBL server as a NAT server? If not, your DRBL client will not be able the internet.
[y/N] Y

Choose “Y” of course to finish.

We are now ready to deploy the files to the system!
Warning! If you go on your firewall rules will be overwritten during setup…
[Y/n] Y

Start Clonezilla Server

Now that we have finished configuring Clonezilla we need to start our server to get it ready for cloning. Type the following at the command prompt:

sudo /opt/drbl/sbin/dcs

At the first screen Choose “Select all the clients“.


At the second Screen Choose “clonezilla-start“.


At the third screen I recommend using “Beginner mode” for now. However, if the cloning process gets stuck when trying to clone your clients, you will have to restart the server later on and choose “Expert Mode”, since it gives you more options you can tweak to make it work.


In the fourth screen choose “select-in-client“. This gives you to option to choose whether to restore or save the image during Clonezilla’s booting process in the client itself.


Leave the two last options as they are and click “ok” and we are done!

Create desktop shortcuts to start and stop Clonezilla (Optional)


I highly recommend you create shortcuts on your server’s desktop to “start”, “start using multicasting” and “stop” clonezilla server. This will make it a lot easier, since, sometimes you might want to clone a group of computers at the same time using multicasting. This way you can do it by the click of a button instead of having to reconfigure the server.  Also, multicasting is picky and it does not always work on all computers. In case multicasting does not work for you, you can always go back to regular Clonezilla operating  mode just by clicking on a shortcut, etc. Stopping the Clonezilla is also convenient when you need to restart, or to disable the DRBL so it does not interfere with other DHCP servers on the network.

“Start Clonezilla” Shortcut

Right click on your desktop and select “Create Document” -> “Empty File”. Paste the following information inside the file and save it with the name “”.

#!/bin/bashecho "Clonezilla Starting"
'/etc/init.d/dhcp3-server' start
/opt/drbl/sbin/drbl-ocs -b -l en_US -y1 -p choose select_in_client

Right-click on your newly created shortcut; select “Properties” and click on the “Permissions” tab and check “Enable executing file as a program“.

“Start Clonezilla Using Multicasting” Shortcut

Right click on you desktop and select “Create Document” -> “Empty File”. Paste the following information inside the file and save it with the name “”.

#!/bin/bashecho "Clonezilla Starting"'/etc/init.d/dhcp3-server' start
/opt/drbl/sbin/drbl-ocs -b -g auto -e1 auto -e2 -x -j2 -p reboot --clients-to-wait 8
--max-time-to-wait 250 -l en_US.UTF-8 startdisk multicast_restore CLIENT-NAME sda

Substitute “CLIENT NAME” with the name of the image you wish to use for cloning your clients. Right-click on your newly created shortcut, select “Properties” and click on the “Permissions” tab and check “Enable executing file as a program“.

“Stop Clonezilla” Shortcut

Right click on your desktop and select “Create Document” -> “Empty File”. Paste the following information inside the file and save it with the name “”.

#!/bin/bash echo "Clonezilla Stopping"
'/etc/init.d/dhcp3-server' stop
/opt/drbl/sbin/drbl-ocs stop

Right-click on your newly created shortcut, select “Properties” and click on the “Permissions” tab and check “Enable executing file as a program“.


최고의 60가지 우분투 앱


최고의 60가지 우분투 Applications For Year 2011 [Editor’s Pick]

At the beginning of each year, we at AddictiveTips compile a list of the best applications from numerous platforms, to deliver a summary of the most useful applications (of the previous year) for our readers. We have already brought you a compilation of the best Windows applicationsMac OS X applications,Windows Phone 7 applicationsAndroid and iOS apps of 2011. Additionally, we also brought you a list of the best Cydia tweaks, as well as the best browser extensions and web apps of 2011. Last, but not least, it is now time to take a look back at the best Linux applications of last year. While there has been extensive development at the end of the aforementioned platforms, Linux has not lacked behind either. There have been numerous OS version coming out for numerous Linux flavors, and Ubuntu itself saw Ubuntu 11.04 Natty Narwhal and Ubuntu 11.10 Oneiric Ocelot in the same year. With the release of these new operating systems, came new applications and updates for old ones. Let’s take a look at some of the very best Linux applications that we covered in 2011.

1.  Desktop Flickr Organizer (Manage Flickr albums offline)


2.  PDF Mod (Modify PDF documents)


3. eSpeak Speech Synthesizer (Multi-lingual text to speech synthesizer)


4. Arista Transcoder (Transcode files between various media formats)


5. AcetoneISO (Mount, rip, extract, convert, burn, encrypt and decrypt DVD and CD images)


6. Firestarter (Firewall for securing Linux computers)


7. News-RSS Ticker (Feed ticker that brings the latest news to your Linux desktop)


8. Ubuntu One (Dropbox like cloud storage service for Linux and other platforms)


9. Giver (Transfer files easily on a Linux network)


10. KTorrent (Lightweight Torrent client with advanced configuration options)


11. Nanny Parental Control (Parental Control application, with restrictions to limit internet usage time for children)


12. Deja Dup Backup (Backup and restore data)


13. Steadyflow (Minimalist download manager)


14. Comix (Comic book reader that supports CBZ, ZIP, RAR, TAR, JPG, PNG, GIF, TIF, BMP, ICO, XBM and other formats)


15. Liferea (Desktop RSS feed reader)


16. Gnome Activity Journal (Keeps a log of all activities, opened files and folders)


17. Blogilo (Blogging client for Linux)


18. HomeBank (Finance management application)


19. Starry Hope Uploader (Upload photos to Facebook)


20. gPoddy (Subscribe and download podcasts)


21. MyPaint (Application for making digital paintings)


22. Parcellite (Lightweight clipboard manager)


23. KTimer (Automate Commands in Linux)


24. Hardware Lister (List hardware configurations)


25. LibreCAD (Create computer aided designs)


26. Cairo Dock (Mac style dock for Linux operating systems)


27. Tea Time (Receive important reminders)


28. Eve Installer (install multiple applications in batch)


29. YeoWorks Ubuntu Solutions (Resolves commonly faced Ubuntu problems)


30. Psensor (Monitor temperature of system components)


31. Super Boot Manager (Boot manager for Plymouth, Burg and Grub)


32. Sunflower (Dual pane file explorer)


33. Boot Repair (Fix Ubuntu boot problems)


34. Lookit (Screenshot taking application, with the option to upload it to FTP server, SSH, Imgur, Omploader and CloudApp).


35. Slingshot (Mac OS X Launchpad style application launcher for Ubuntu)


36. Cryptkeeper (Encrypt folders)


37. Bleeding Edge (install software unavailable in Ubuntu repository)


38. Y PPA Manager (Easily delete and purge Private Package Repositories)


39. Synapse (Quickly Find applications, documents, videos, images, etc)


40. DesktopNova (Wallpaper Rotator for Ubuntu)


41. Hamster Indicator (Time Tracking Applet)


42. gm-notify (Gmail email notifier)


43. eMount (Create and mount encrypted disk images)


44. Gnome Subtitles (Edit, split and marge subtitles)


45. Scribes (Text editor with support for 70+ Programming Languages)


46. PlexyDesk (Widget based desktop transformation application)


47. Activity Log Manager Zeitgeist (Control Zeitgeist logging)


48. Touchpad-indicator (Automatically disable touchpad when mouse is connected)


49. LightDM Manager (Ubuntu Logon Screen Changer)


50. Gnome-Pie (Hotkey based application launcher)


51. Gnome Tweak Tool (Tweak Gnome settings)


52. Remmina (GTK+ based Remote Desktop application)


53. QMediaInfo (Get attribute information for media files)


54. MyUnity (Comprehensive tweak for Ubuntu Unity)


55. LiveUSBInstall (create live Linux USB, CD/DVD and download ISO images)


56. Natural Scrolling (Get Mac OS X style natural scrolling in Ubuntu)


57. Radio Tray (Minimalist internet radio player for Ubuntu)


58. X Neural Switcher (Automatically switch keyboard layout & fix typos)


59. Furius ISO Mount (Mount SO, IMG, BIN, MDF and NRG Images)


60. Kazam Screencaster (Record screencasts and upload to YouTube)


With the introduction of Precise Pangolin aka Ubuntu 12.04, and other Linux operating system versions in 2012, we are likely to see a rise in application development and update. Please note that these applications are not the ones released in 2011, but the ones reviewed by us. Also, this list is not exhaustive in any manner, and if you think you have a good application that we did not cover, leave us a tip in comments below.

mysql 백업 및 복원 방법


, ,

 mysql 백업 및 복원 방법

phpmyadmin 접속..

웹상에서 MYSQL을 접속하고 관리할 수 있는 프로그램입니다

브라우저에서 접속주소 -> 고객도메인/mysql

을 입력하시고 들어가면…..아래 로긴창에서 신청시 부여받은 디비계정(접속계정과 동일)과 패스워드로 로그인 합니다

 phpmyadmin 을 이용한 백업
# 웹에서 phpmyadmin 접속

– 왼쪽에 자신의 디비네임을 클릭을 하고.. – 상단 내보내기를 클릭

– 구조와 테이블 체크 (모두선택 클릭) – 파일로 저장 선택 -> 실행


 phpmyadmin 을 이용한 복원

# phpmyadmin이용 복원시에는 에러가 자주 발생 합니다

– sql 선택 – 찾아보기 (백업 파일을 지정) 선택후 아래 실행 클릭

phpmyadmin DB삭제(전체) 
# mysql복원시 동일이름의 테이블이 존재하면 에러 발생 하므로…복원시에는 기존 테이블을 삭제후 작업을 해야 합니다.

– 모두 체크 선택후 드롭다은 리스트 메뉴중 삭제 선택…

– 삭제여부 확인 메시지……아래 “예”클릭..


우분투(리눅스) 프린터 서버 설정하기



서버의 OS는 우분투

그 외 여러 작업을 해서 프린트 명령을 할 클라이언트는 윈도우
설정 과정은 다음과 같다.
1. 프린터를 서버에 연결한다.
(왠만한것들은 자동으로 잡아줄 것이다.)
2. 프린터 공유를 위해 약간의 설정을 변경한다.
( 시스템  >>  관리  >>  인쇄 로 이동.     >> server  >> setting  >>  “publish shared …”  체크
>>  “인터넷에서 인쇄 허용” 체크  >>  확인 )
3. 웹서비스를 위해 LAMP 를 설치
( 터미널에 다음을 복사해서 입력
sudo apt-get install phpmyadmin phpsysinfo php5-gd apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0 mysql-server mysql-server-5.0 php5-common php5-mysql
이 모든 패키지가 다 필요하지는 않으니 알아서 선택.)
4. 마지막으로 다음을 설치해 준다.
( sudo apt-get install cupsys openssh-server cupsys-driver-gutenprint )

5. 서버 설정을 마쳤으므로 클라이언트에서 서버를 추가한다.
( 클라이언트가 될 PC에서 웹브라우저 주소에 다음을 입력한다.
서버 설정이 올바르게 됬다면 초록색통의 웹페이지가 보이게 될 것이며 메뉴에 printer 항목이 모일것이다.
그것을 클릭하면 서버에 설치된 프린터 목록이 보이게된다. 프린터 항목을 클릭하면 주소 창에 다음과 같이 나올것이다.
주소를 모두 복사한 후 프린터 위치에 집어넣어야 한다. 프린터 위치는  제어판 >> 프린터 >> 프린터 추가 >> 네트워크 …
>> 인터넷이나 홈…  >>  이곳에 입력.

모든것이 올바르게 되었다면 프린터를 정상적으로 탐색할 것이다.

펌 : Posted by 술취한 곰탱이 술취한곰탱이

HOWTO video stream from webcam through internet with ffmpeg(우분투 웹캠서버 만들기)



1)First we have to install ffmpeg ( 설치)

sudo apt-get install ffmpeg

2)Back up ffserver config file.(안전을 위해 백업)

sudo mv /etc/ffserver.conf /etc/ffserver.conf_backup

3)Begin new ffserver config file. (this config was taken from and edited by me)(설정파일만들기)

sudo gedit /etc/ffserver.conf

paste into file lines below.(아래코드를 붙여 넣고)

Port 8090 
# bind to all IPs aliased or not 
# max number of simultaneous clients 
MaxClients 1000 
# max bandwidth per-client (kb/s) 
MaxBandwidth 10000 
# Suppress that if you want to launch ffserver as a daemon. 

<Feed feed1.ffm> 
File /tmp/feed1.ffm 
FileMaxSize 5M 

# FLV output - good for streaming 
<Stream test.flv> 
# the source feed 
Feed feed1.ffm 
# the output stream format - FLV = FLash Video 
Format flv 
VideoCodec flv 
# this must match the ffmpeg -r argument 
VideoFrameRate 15 
# generally leave this is a large number 
VideoBufferSize 80000 
# another quality tweak 
VideoBitRate 200 
# quality ranges - 1-31 (1 = best, 31 = worst) 
VideoQMin 1 
VideoQMax 5 
VideoSize 352x288 
# this sets how many seconds in past to start 
PreRoll 0 
# wecams don't have audio 

# ASF output - for windows media player 
<Stream test.asf> 
# the source feed 
Feed feed1.ffm 
# the output stream format - ASF 
Format asf 
VideoCodec msmpeg4 
# this must match the ffmpeg -r argument 
VideoFrameRate 15 
# generally leave this is a large number 
VideoBufferSize 80000 
# another quality tweak 
VideoBitRate 200 
# quality ranges - 1-31 (1 = best, 31 = worst) 
VideoQMin 1 
VideoQMax 5 
VideoSize 352x288 
# this sets how many seconds in past to start 
PreRoll 0 
# wecams don't have audio 

4)Start ffserver. Open terminal.


in ffserver config file you can delete line “NoDaemon” to run ffserver as daemon.

5)Start ffmpeg video stream.

ffmpeg -r 15 -s 352x288 -f video4linux -i /dev/video0 http://localhost:8090/feed1.ffm

If there is no any errors. its done )

Now you can watch the video.
Open your favorite player and open url http://localhost:8090/test.flv or http://localhost:8090/test.asf.

If you whant to watch your stream from another computer with windows media player:
type mms://<ip adress of ffserver machine>:8090/test.asf in IE

Also you can encode video to swf, mpeg and other formats . Read ffmpeg documentation.

If your internet connection is slow, you have make VideoFrameRate lower(1-5).

For streaming to flash player (swf)(플래쉬 플레이어로 보기위해)

add this lines to the end of ffserver.conf

<Stream test.swf>
Feed feed1.ffm
Format swf
VideoCodec flv
VideoFrameRate 2
VideoBufferSize 80000
VideoBitRate 100
VideoQMin 1
VideoQMax 5
VideoSize 352x288
PreRoll 0

Now you have another stream to test.sfw file then create <any name>.html file
Add this lines to it

<EMBED src="http://<ip adress of ffserver machine>:8090/test.swf" width=640 height=480 type="application/x-shockwave-flash"></EMBED>

then open it in your browser, enjoy )(즐감)

vsftpd 한글 깨지는 문제



윈도우에서 접속하면 한글이 깨져 보인다  해결하려면


– apt-get source vsftpd로 소스를 받아서… opts.c 파일을 수정한다.

#include “ftpcodes.h”
#include “ftpcmdio.h”
#include “session.h”
#include “tunables.h”

handle_opts(struct vsf_session* p_sess)
struct mystr opts = INIT_MYSTR;
struct mystr prm  = INIT_MYSTR;
str_copy(&opts, &p_sess->ftp_arg_str);
str_split_char(&opts, &prm, ‘ ‘);
if (str_equal_text(&opts, “UTF8”))
if (str_equal_text(&prm, “ON”))
vsf_cmdio_write(p_sess, FTP_OPTSOK, “UTF8 option is On.”);
if (str_equal_text(&prm, “OFF”))
vsf_cmdio_write(p_sess, FTP_OPTSOK, “UTF8 option is Off.”);
vsf_cmdio_write(p_sess, FTP_BADOPTS, “Invalid UTF8 option.”);
else */

vsf_cmdio_write(p_sess, FTP_BADOPTS, “Option not understood.”);

– 색으로 칠해진 소스를 주석 처리하면 끝..

패키징 하고



sudo  debian/rules binary

상위 폴더에 .deb 찾아 더블클릭 설치하면 완료

우분투 패키징


Linux 2008/01/16 11:45

간단하게 소스를 패키지하는 두 가지 방법 :
DebHelper 이용하는 방법, checkinstall 이용하는 방법

그리고 rpm 패키지를 deb 패키지로 변환하는 방법에 대해서 소개한다.

예전의 방법이나, Debian 패키징의 세부사항은 링크를 참조하는 것이 좋다.


(1) DebHelper 이용하기

0. 필요한 것들


1.  패키지에 의존 관계의 패키지 설치

$ sudo apt-get build-dep $(패키지 이름)

2. dh_make ( debian/rules 등을 생성)

(소스가 수정할 필요가 있을 경우에는 수정을 한후,)
./configure와 make 대신
dh_make를 실행한다.

$ dh_make

그리고, debian/rules 파일과 (configure 설정)
debian/control 파일, debian/changelog을  (이름 설정)
알맞게 설정한다.

3. deb 패키지 생성 (deb 패키지가 생성된다.)

$ sudo debian/rules binary

4. deb 패키지 설치

$ sudo dpkg -i xxxxxxx.deb

(2) checkinstall을 이용하기

1. 필요한 패키지


2. deb 패키지 생성

$ ./configure (그밖의 설정)
$ make
$ sudo checkinstall

(3) rpm 패키지를 deb 패키지로 변환하기

0. 필요한 것


1. alien을 사용하여 rpm을 deb으로 변환.

$ sudo alien -k –scripts xxxxx.rpm

2. deb  패키지 설치

$ sudo dpkg -i xxxxx.deb

(4) Example

시나리오 1) 우분투에서 vsftpd 소스를 받아서 한글 로그 처리하기

$ sudo apt-get source vsftpd
$ ls
vsftpd-2.0.4  vsftpd_2.0.4-0ubuntu4.diff.gz  vsftpd_2.0.4-0ubuntu4.dsc  vsftpd_2.0.4.orig.tar.gz

$ cd vsftpd-2.0.4
vsftpd-2.0.4 $

// 이제 소스 수정을 한다.
// 1. 로그를 한글로 보기 위해..
// logging.c 의 str_replace_unprintable(p_str, ‘?’); 부분을 주석처리.
// 2. ps 명령에서도 작업내역을  한글로 보기 위해
//postlogin.c 의 str_replace_unprintable(&proctitle_str, ‘?’); 부분을 주석..

//이미 debian/rules 등이 만들어져 있으므로…
// 패키지 생성하기만 하면 된다.

vsftpd-2.0.4 $ sudo debian/rules binary

만약 패키지에 configure이 있고, 이 configure 옵션을 바꾸려면,
./configure –help를 참조하여 debian/rules를 수정한다.