2019年12月30日 星期一

cisco 2960 ios upgrade

https://blog.downager.com/2018/11/25/%E9%9A%A8%E7%AD%86-Cisco-2960X-IOS-%E7%89%88%E6%9C%AC%E6%8C%91%E9%81%B8-%E6%9B%B4%E6%96%B0/

c2960-lanbasek9-tar.122-55.SE12.tar

archive tar /xtract tftp://191.1.1.219/c2960-lanbasek9-tar.122-55.SE12.tar flash:


c2960-lanbasek9-mz.122-50.SE4

c2960-lanbasek9-mz.122-55.SE12/c2960-lanbasek9-mz.122-55.SE12.bin

 c2960-lanbasek9-mz.122-55.SE12/c2960-lanbasek9-mz.122-55.SE12.bin



Directory of flash:/

    2  -rwx         916   Mar 1 1993 00:03:55 +00:00  vlan.dat
    3  drwx         192   Mar 1 1993 01:00:34 +00:00  c2960-lanbasek9-mz.122-55.SE12
    4  -rwx        2229   Mar 1 1993 00:00:58 +00:00  config.text
    5  -rwx        1913   Mar 1 1993 00:00:58 +00:00  private-config.text
    6  -rwx        2072   Mar 1 1993 00:00:58 +00:00  multiple-fs
    7  drwx         192   Mar 1 1993 00:07:34 +00:00  c2960-lanbasek9-mz.122-50.SE4
 1117  -rwx         108   Mar 1 1993 01:02:05 +00:00  info

32514048 bytes total (7432704 bytes free)
Switch#
Switch#delete /f
Switch#delete /re
Switch#delete /recursive /for
Switch#delete /re
Switch#delete /recursive for
Switch#delete /recursive force
Switch#delete /recursive /force
Switch#delete /recursive /force c2960-lanbasek9-mz.122-50.SE4
Switch#dir
Directory of flash:/

    2  -rwx         916   Mar 1 1993 00:03:55 +00:00  vlan.dat
    3  drwx         192   Mar 1 1993 01:00:34 +00:00  c2960-lanbasek9-mz.122-55.SE12
    4  -rwx        2229   Mar 1 1993 00:00:58 +00:00  config.text
    5  -rwx        1913   Mar 1 1993 00:00:58 +00:00  private-config.text
    6  -rwx        2072   Mar 1 1993 00:00:58 +00:00  multiple-fs
 1117  -rwx         108   Mar 1 1993 01:02:05 +00:00  info

32514048 bytes total (18982912 bytes free)
Switch#show boot
BOOT path-list      : flash:/c2960-lanbasek9-mz.122-50.SE4/c2960-lanbasek9-mz.122-50.SE4.bin
Config file         : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break        : no
Manual Boot         : no
HELPER path-list    :
Auto upgrade        : yes
Auto upgrade path   :
NVRAM/Config file
      buffer size:   65536
Timeout for Config
          Download:    0 seconds
Config Download
       via DHCP:       disabled (next boot: disabled)
Switch#dir
Directory of flash:/

    2  -rwx         916   Mar 1 1993 00:03:55 +00:00  vlan.dat
    3  drwx         192   Mar 1 1993 01:00:34 +00:00  c2960-lanbasek9-mz.122-55.SE12
    4  -rwx        2229   Mar 1 1993 00:00:58 +00:00  config.text
    5  -rwx        1913   Mar 1 1993 00:00:58 +00:00  private-config.text
    6  -rwx        2072   Mar 1 1993 00:00:58 +00:00  multiple-fs
 1117  -rwx         108   Mar 1 1993 01:02:05 +00:00  info

32514048 bytes total (18982912 bytes free)
Switch#cd c2960-lanbasek9-mz.122-55.SE12
Switch#dir
Directory of flash:/c2960-lanbasek9-mz.122-55.SE12/

  562  -rwx         539   Mar 1 1993 00:56:30 +00:00  info
  563  -rwx     9827106   Mar 1 1993 01:00:34 +00:00  c2960-lanbasek9-mz.122-55.SE12.bin
  564  drwx        4928   Mar 1 1993 01:02:05 +00:00  html

32514048 bytes total (18982912 bytes free)
Switch#
Switch#
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#$sek9-mz.122-55.SE12/c2960-lanbasek9-mz.122-55.SE12.bin
boot system flash:/ c2960-lanbasek9-mz.122-55.SE12/c2960-lanbasek9-mz.122-55.SE1                    ^2.bin

% Invalid input detected at '^' marker.

Switch(config)#boot system flash:/c2960-lanbasek9-mz.122-55.SE12/c2960-lanbase$
Switch(config)#exit
Switch#sho w
*Mar  1 01:17:01.183: %SYS-5-CONFIG_I: Configured from console by conso
% Type "show ?" for a list of subcommands
Switch#show boot
BOOT path-list      : flash:/c2960-lanbasek9-mz.122-55.SE12/c2960-lanbasek9-mz.122-55.SE12.bin
Config file         : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break        : no
Manual Boot         : no
HELPER path-list    :
Auto upgrade        : yes
Auto upgrade path   :
NVRAM/Config file
      buffer size:   65536
Timeout for Config
          Download:    0 seconds
Config Download
       via DHCP:       disabled (next boot: disabled)

2019年11月8日 星期五

mirth connect decision

cause using itext5.5.1 will also read the chinese charater , so i change to xpdfreader's pdftotext.exe

here is the parameter i use:

C:\xpdf-tools-win-4.02\bin64>pdftotext.exe -raw -eol unix XXEAM_WORK_ORDER_EMAIL
_FAX_R_177058651_1.PDF

will return file with no empty space row and end with "LF" Character set.

2019年11月5日 星期二

How to keep Ghost from automatically resizing partitions C500

How to keep Ghost from automatically resizing partitions



When Ghost performs a disk clone, or restores a disk image, it resizes all partitions based on their data space requirements in relation to the free space on the destination drive. Because of the resizing, an image created from a hard drive and then restored to the same hard drive, may have different sized partitions than the original source.

To prevent Ghost from automatically resizing the partition, use the SZE switch as follows:

When the source and destination drives are the same size
If you have two drives of the same size, use the following switch to keep the partitions from being resized:

Use the SZEE switch in the -CLONE statement. For example:

GHOST64.EXE -CLONE,MODE=LOAD,SRC=G:\2PRTDISK.GHO,DST=2,SZEE

mirth connect basic self learn how to add code template

on thread https://www.mirthcorp.com/community/forums/showthread.php?p=47649#post47649

can download the xml Attached FilesFile Type: xml executeRuntimeCommand.xml (1.2 KB, 158 views)
, but could not import.

when notepad++ edit it . I try to reference Youtube and add code template .