> sudo fsck /dev/sda1

fsck from util-linux 2.20.1

e2fsck 1.42.9 (4-Feb-2014)

/dev/sda1 is mounted.

e2fsck: Cannot continue, aborting.


I could run fsck with this options.


fsck -nf /dev/sda1


'Linux' 카테고리의 다른 글

Install apache webserver on ubuntu 16.4  (0) 2017.02.26
How to capture screen on Ubuntu  (0) 2017.02.02
exports  (0) 2014.06.24
mount shared forlder  (0) 2012.02.03
gvim probleam  (1) 2012.02.03

Reference

https://help.ubuntu.com/lts/serverguide/httpd.html



  • sudo apt-get update
  • sudo apt-get install apache2


'Linux' 카테고리의 다른 글

Check HDD with fsck  (0) 2017.03.02
How to capture screen on Ubuntu  (0) 2017.02.02
exports  (0) 2014.06.24
mount shared forlder  (0) 2012.02.03
gvim probleam  (1) 2012.02.03

Capture whole screen


You should use PrtSc key.

When you press the PrtSc key, you can see this dialog to save it.




Capture specific region


You can use Alt+PrtSc key combination to capture activated window.

When you press the keys you can see this screen to save the picture.





If you want to capture specific region, you should install capture application, "Shutter" to save and edit the screen.


Install Shutter on Ubuntu software center



Run shutter application



Select "Selection ion" to start capture


Drag specific region to start and press Enter to end

Save the image or copy it






'Linux' 카테고리의 다른 글

Check HDD with fsck  (0) 2017.03.02
Install apache webserver on ubuntu 16.4  (0) 2017.02.26
exports  (0) 2014.06.24
mount shared forlder  (0) 2012.02.03
gvim probleam  (1) 2012.02.03

NFS directory setting


/var/www 192.168.77.0/255.255.255.0(rw,sync,no_subtree_check)


/nfsroot/tci100/rootfs *(rw,sync,no_subtree_check)          



'Linux' 카테고리의 다른 글

Install apache webserver on ubuntu 16.4  (0) 2017.02.26
How to capture screen on Ubuntu  (0) 2017.02.02
mount shared forlder  (0) 2012.02.03
gvim probleam  (1) 2012.02.03
Setup synergy on ubuntu  (1) 2012.01.26

mount windows shared folder
mount –t cifs –o username=geek,password=thepass //geekmini/root /media/Video


mount smb folder


mount -t smbfs //user@server/sharename share 

'Linux' 카테고리의 다른 글

How to capture screen on Ubuntu  (0) 2017.02.02
exports  (0) 2014.06.24
gvim probleam  (1) 2012.02.03
Setup synergy on ubuntu  (1) 2012.01.26
set font on gvim  (2) 2012.01.18

'Linux' 카테고리의 다른 글

exports  (0) 2014.06.24
mount shared forlder  (0) 2012.02.03
Setup synergy on ubuntu  (1) 2012.01.26
set font on gvim  (2) 2012.01.18
target board information  (1) 2012.01.17

Refer this page:
http://www.mattcutts.com/blog/how-to-configure-synergy-in-six-steps/

Synergy Server is working on Ubuntu and Synergy Client is working on Windows

My configuration
/etc/synergy.conf
 section: screens
jcjung-desktop:
ALTI-NB-10-048:
end

section: links
jcjung-desktop:
left = ALTI-NB-10-048 
ALTI-NB-10-048:
right = jcjung-desktop 
end

section: aliases
ALTI-NB-10-048:
10.8.0.103
end

Start synergy server 
synergys -f --config /etc/synergy.conf 

'Linux' 카테고리의 다른 글

mount shared forlder  (0) 2012.02.03
gvim probleam  (1) 2012.02.03
set font on gvim  (2) 2012.01.18
target board information  (1) 2012.01.17
target board setting  (0) 2012.01.17

add this to .gvimrc

 set gfn=Courier

.vimrc 수행후에 .gvimrc가 수행되는 구나. 
 

'Linux' 카테고리의 다른 글

gvim probleam  (1) 2012.02.03
Setup synergy on ubuntu  (1) 2012.01.26
target board information  (1) 2012.01.17
target board setting  (0) 2012.01.17
tftp setting and test  (1) 2012.01.17

LIT35X-CTU

http://linuxit.co.kr/main/product_LIT35XCTU

Specifications
Hardware
  • TI OMAP3530 Application Processor
    • Up to 600Mhz ARM CortexTM-A8 Core
    • NEONTM SIMD Coprocessor
    • Up to 430MHz TMS320C64x+TM DSP Core
    • POWERVR SGXTM Graphics Accelerator
  • Memory Support
    • Mobile DDR 256MB 166MHz
    • Nand Flash 256MB
    • Two SD Memory Socket
  • Display Support
    • 7" WVGA(800x480) LCD Display with Touch Screen interface
      (Landscape and Portrait mode supported)
    • HDMI Display
  • RTC (Real time clock)
Other Interfaces
  • Standard RJ45 10/100Mbps Ethernet
  • Stereo audio - Line OUT
  • Mono Microphone
  • JTAG Interface
  • Three UART ports
  • High-Speed USB2.0 (480Mbps)
    • USB2.0 Host based on USB33xx Transceiver
    • USB2.0 OTG based on TPS659xx
  • 4-bit SDIO WiFi interface
  • Expansion Port
    • One I2C Interface
    • One McBSP Interface
    • ADC (AC/DC Convertor) from the TPS659xx (Two Channels)
    • GPIO (Global Purpose Input Output) Interfacev

Software Package

  • Linux Software Package (LSP) from TI
    • Pre-built linux kernel image
    • Pre-built Linux Kernel image (uImage)
    • Pre-built RAM disk image containing root file system (ramdisk.gz)
  • Linux Kernel source ( Android )
    • kernel 2.6.29
    • kernel 2.6.32.9
  • Device Drivers for
    • Audio
    • NAND device
    • USB (both slave mode, host mode)
    • Display Driver
    • Keypad
    • Ethernet
    • SD
    • Touch Screen
  • Android Platform
    • 2.1 (Eclair)
    • 2.2 (Froyo)
  • DVSDK package from TI
    • Codec Engine provides framework for creating and interacting with multimedia codecs
    • Codecs for decoding AAC, MP3, MPEG4, etc.
  • DSP/BIOS Link - Foundation software for the inter-processor communication across the GPP-DSP boundary
    • Framework components - collection of framework-independent utility libraries which other software frameworks can build upon
    • Kernel Binaries - Platform/LSP specific prebuilt .ko files
  • System Binaries
    • Bootloader
    • OEM Abstraction Layer (OAL)
    • SD Boot
    • Power Management Framework
    • Ethernet
    • DVI Support (for entire UI)
    • S-Video Support (for video only)
    • Peripheral Drivers
    • WLAN drivers (shipped as object)
    • USB 2.0 Host with OTG
  • Multimedia Binaries
    • DirectShow Filters
    • Codec Engine Inter-processor Communication support
    • DSPLink Integration
    • Accelerated Imaging Codec (includes encode/decode support for JPEG)
    • Accelerated Audio Codec (MP3)
    • Accelerated Video Codec (includes encode/decode support for MPEG4, H.264 at D1 30 FPS)

'Linux' 카테고리의 다른 글

Setup synergy on ubuntu  (1) 2012.01.26
set font on gvim  (2) 2012.01.18
target board setting  (0) 2012.01.17
tftp setting and test  (1) 2012.01.17
install package for minicom  (0) 2012.01.17

Set Network address for Target board
printenv
set ipaddr 192.168.10.100      : target board
set serverip 192.168.10.10     : host
save env
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x260000 -- 100% complete.
Writing to Nand... done

download file from tftp server
OMAP3 LIT35X-CTU # tftpboot 80300000 hello.txt                                 
dm9000 i/o: 0x2c000000, id: 0x90000a46                                         
DM9000: running in 16 bit mode                                                 
MAC: 02:3a:0b:00:b0:07                                                         
operating at 100M full duplex mode                                             
Using dm9000 device                                                            
TFTP from server 192.168.10.10; our IP address is 192.168.10.100               
Filename 'hello.txt'.                                                          
Load address: 0x80300000                                                       
Loading: #                                                                     
done                                                                           
Bytes transferred = 13 (d hex)


OMAP3 LIT35X-CTU # printenv
bootcmd=run autoboot
baudrate=115200
loadaddr=0x82000000
console=ttyS2,115200n8
vram=12M
dvimode=1024x768MR-16@60
lcdmode=lcd
defaultdisplay=lcd
nfsopts=hard,tcp,rsize=65536,wsize=65536
kernelopts=ro
commonargs=setenv bootargs console=${console} vram=${vram} omapfb.mode=lcdomapd}
mmcargs=run commonargs; setenv bootargs ${bootargs} root=/dev/mmcblk0p2 ${kerne}
netargs=run commonargs; setenv bootargs ${bootargs} root=/dev/nfs nfsroot=${ser}
loadbootscript=fatload mmc 0 ${loadaddr} boot.scr
bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
loaduimage=fatload mmc 0 ${loadaddr} uImage
eraseenv=nand unlock 0x260000 0x20000; nand erase 0x260000 0x20000
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 280000}
netboot=echo Booting from network ...; dhcp ${loadaddr}; run netargs; bootm ${l}
autoboot=if mmc init; then if run loadbootscript; then run bootscript; else if i
ethaddr=02:3a:0b:00:b0:07
dieid#=06200004000000000403993a0b00b007
ethact=dm9000
bootdelay=1       
nandargs=setenv bootargs console=ttyS2,115200n8 androidboot.console=ttyS2 noini2
stdin=serial
stdout=serial
stderr=serial
filesize=D
fileaddr=80300000
gatewayip=192.168.0.1
ipaddr=192.168.10.100
serverip=192.168.10.10

Environment size: 1830/131068 bytes

bootdelay=1       
-- waiting time for user input
nandargs=setenv bootargs console=ttyS2,115200n8 androidboot.console=ttyS2 noini2
-- transfer this to kernel on running time.

stdin=serial
stdout=serial
stderr=serial
-- output device



boot or reset
-- booting with stored booting arguments.

bash-3.2# /sbin/busybox uname -r
2.6.32
bash-3.2# /sbin/busybox uname -a
Linux localhost 2.6.32 #171 Tue Jul 26 09:19:21 KST 2011 armv7l unknown
bash-3.2#


















'Linux' 카테고리의 다른 글

set font on gvim  (2) 2012.01.18
target board information  (1) 2012.01.17
tftp setting and test  (1) 2012.01.17
install package for minicom  (0) 2012.01.17
Module-related shell commands  (0) 2012.01.17