'전체 글'에 해당되는 글 240건

Backup 받은 mksysb파일을 iso파일로 변환하여 PC에서 Burning 하는 법


+. mksysb 이미지 변환

# smitty mkdvd 

  > yes > ISO9660 

  > Location of existing mksysb image : /source/mksysb/aix7nim.mksysb

    File system to store DVD file structure : /DVDs/dvd_fs

    File system to store final DVD images : /DVDs/dvd_images

    Do you want the DVD to be bootable? : yes 

    Remove final images after creating DVD? : no

    Create the DVD now? : no   







블로그 이미지

Melting

,

Zen Coding syntax

Misc 2012. 10. 31. 10:42


http://code.google.com/p/zen-coding/wiki/ZenHTMLSelectorsEn


+. Notepad ++ 에서 단축키는 <Ctrl>+<Alt>+<Enter> 

   : Zen Coding - Python > Expand abbreviation 에서 확인

   : 편집하는 파일이 html 형식으로 저장 (or) '언어' > 'H' > 'Html' 로 지정되어 있어야 계행이 됨



html:4t

---------------------------------------------------------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">

<title></title>

</head>

<body>

</body>

</html>


table#t1>tr.tbClass#tr1+td*3
---------------------------------------------------------
<table id="t1">
<tr class="tbClass" id="tr1">
<td></td>
<td></td>
<td></td>
</tr>
</table>

div#page>div.logo+ul#navigation>li*5>a
---------------------------------------------------------
<div id="page">
<div class="logo"></div>
<ul id="navigation">
<li><a href=""></a></li>
<li><a href=""></a></li>
<li><a href=""></a></li>
<li><a href=""></a></li>
<li><a href=""></a></li>
</ul>
</div>




Zen HTML Selectors

E#name

div#name

<div id="name"></div>

E.name

div.name

<div class="name"></div>

div.one.two

<div class="one two"></div>

div#name.one.two

<div id="name" class="one two"></div>

E>E

head>link

<head>
   
<link/>
</head>

table>tr>td

<table>
<tr>
   
<td></td>
</tr>
</table>

ul#name>li.item

<ul id="name">
   
<li class="item"></li>
</ul>

E+E

p+p

<p></p>
<p></p>

div#name>p.one+p.two

<div id="name">
   
<p class="one"></p>
   
<p class="two"></p>
</div>

E[attr]

Added in v0.6

p[title]

<p title=""></p>

td[colspan=2]

<td colspan="2"></td>

span[title="Hello" rel]

<span title="Hello" rel=""></span>

E|filter

Added in v0.6

p.title|e

&lt;p class="title"&gt;&lt;/p&gt;

Read Filters for more info

E*N

p*3

<p></p>
<p></p>
<p></p>

ul#name>li.item*3

<ul id="name">
   
<li class="item"></li>
   
<li class="item"></li>
   
<li class="item"></li>
</ul>

E*N$

p.name-$*3

<p class="name-1"></p>
<p class="name-2"></p>
<p class="name-3"></p>

select>option#item-$*3

<select>
   
<option id="item-1"></option>
   
<option id="item-2"></option>
   
<option id="item-3"></option>
</select>

E+

ul+

<ul>
   
<li></li>
</ul>

table+

<table>
<tr>
   
<td></td>
</tr>
</table>

dl+

<dl>
   
<dt></dt>
   
<dd></dd>
</dl>







블로그 이미지

Melting

,


+. activate root user

precise@ubuntu:~$ sudo passwd root


+. update apt repository to daum

root@ubuntu:~# cp /etc/apt/sources.list /etc/apt/sources.list.backup

root@ubuntu:~# vi /etc/apt/sources.list

   > %s/kr.archive.ubuntu.com/ftp.daum.net/g

   > wq

root@ubuntu:~# apt-get update

root@ubuntu:~# apt-get upgrade


+. basic application installation

root@ubuntu:~# apt-get install nmon

root@ubuntu:~# apt-cache search gcc | grep 4.7

root@ubuntu:~# apt-get install gcc gcc-4.7-base

root@ubuntu:~# apt-get install alien


+. telnetd/ftpd/sshd installation

root@ubuntu:~# apt-get install xinetd

root@ubuntu:~# apt-get install telnetd

root@ubuntu:~# vi /etc/xinetd.conf

service telnet

{

        disable = no

        flags = REUSE

        socket_type = stream

        wait = no

        user = root

        server = /usr/sbin/in.telnetd

        log_on_failure += USERID

}

root@ubuntu:~# /etc/init.d/xinetd restart


root@ubuntu:~# apt-get install proftpd

      > standalone mode

root@ubuntu:~# vi /etc/ftpusers

      > # root

root@ubuntu:~# vi  /etc/proftpd/proftpd.conf  

RootLogin                       on  

root@ubuntu:~# service proftpd restart

root@ubuntu:~# apt-get install ssh

root@ubuntu:~# /etc/init.d/ssh restart

 

+. samba configuration

root@ubuntu:~# mkdir -p /opt/shared ; chmod -R 755 /opt/shared

root@ubuntu:~# apt-get install samba

root@ubuntu:~# smbpasswd -a precise

root@ubuntu:~# vi /etc/samba/smb.conf

[precise]

        path=/opt/shared

        read only=no

        valid users=precise

        browseable=yes

root@ubuntu:~#  /etc/init.d/smbd restart


+. nfs configuration

root@ubuntu:~# apt-get install nfs-common nfs-kernel-server

root@ubuntu:~# /etc/init.d/nfs-kernel-server restart

root@ubuntu:~# vi /etc/exports

/nfs_home    *(rw,no_root_squash,no_all_squash)


+. vnc configuration

root@ubuntu:~/.vnc# apt-get install xinit

    apt-get install ubuntu-desktop  >>> do not need to install ubuntu-desktop

root@ubuntu:~# apt-get install tightvncserver

root@ubuntu:~# vncserver

+. oracle java/jdk install

root@ubuntu:~# add-apt-repository ppa:webupd8team/java

root@ubuntu:~# apt-get update

root@ubuntu:~# apt-get install oracle-java6-installer


+. terminal/coding font install
# mkdir -p /usr/share/fonts/Inconsolata

Inconsolata.otf

# wget http://www.levien.com/type/myfonts/Inconsolata.otf

# mv ./Inconsolata.otf /usr/share/fonts
# fc-cache -f -v

# mkdir -p /usr/share/fonts/truetype/consola
# --- place the 'consola' fonts to temp directory ---
# mv ./*.ttf /usr/share/fonts/truetype/consola/
# chmod 644 /usr/share/fonts/truetype/consola/*.ttf
# fc-cache -f -v 

+. xrdp configuration
# apt-get install xrdp
# vi /etc/xrdp/xrdp.ini
--------------------
[globals]
bitmap_cache=yes
bitmap_compression=yes
port=9389
crypt_level=low
channel_code=1
--------------------
# echo "gnome-session --session=ubuntu-2d" >> ~/.xsession



+. ubuntu-desktop (~.~)

# apt-get install ubuntu-desktop   (or)  apt-get install xubuntu-desktop

# /etc/init.d/gdm startre/

# dpkg-reconfigure xserver-xorg




 



블로그 이미지

Melting

,