適当なディレクトリを作ってこの中でアップデートする。必要なファイルの解凍とリンク貼り。
$ mkdir TwitterIrcGateway_`date -Iseconds` $ cd TwitterIrcGateway_* $ unzip ../TwitterIrcGateway-2.6.4952.37158.zip | tail inflating: TwitterIrcGateway/Microsoft.Scripting.Core.dll inflating: TwitterIrcGateway/Microsoft.Scripting.Debugging.dll inflating: TwitterIrcGateway/Microsoft.Scripting.dll inflating: TwitterIrcGateway/Microsoft.Scripting.ExtensionAttribute.dll inflating: TwitterIrcGateway/Newtonsoft.Json.dll inflating: TwitterIrcGateway/TwitterIrcGateway.exe inflating: TwitterIrcGateway/TwitterIrcGateway.exe.config inflating: TwitterIrcGateway/TwitterIrcGatewayCLI.exe inflating: TwitterIrcGateway/TwitterIrcGatewayCore.dll inflating: TwitterIrcGateway/TwitterIrcGatewayService.exe $ unzip ../TwitterIrcGateway-RuntimeBundle-Linux_i386_x64-Mono-2.6.4-20100508.zip | tail inflating: TwitterIrcGateway/MonoBundleGAC/System.Runtime.Serialization.Formatters.Soap.dll inflating: TwitterIrcGateway/MonoBundleGAC/System.Security.dll inflating: TwitterIrcGateway/MonoBundleGAC/System.ServiceModel.dll inflating: TwitterIrcGateway/MonoBundleGAC/System.ServiceModel.Web.dll inflating: TwitterIrcGateway/MonoBundleGAC/System.ServiceProcess.dll inflating: TwitterIrcGateway/MonoBundleGAC/System.Web.dll inflating: TwitterIrcGateway/MonoBundleGAC/System.Xml.dll inflating: TwitterIrcGateway/MonoBundleGAC/System.Xml.Linq.dll extracting: TwitterIrcGateway/TwitterIrcGateway inflating: TwitterIrcGateway/TwitterIrcGatewayCLI $ unzip -o ../TwitterIrcGateway-20131107.zip -d TwitterIrcGateway/ | tail Archive: ../TwitterIrcGateway-20131107.zip inflating: TwitterIrcGateway/ExtraAddIns/Misuzilla.Applications.TwitterIrcGateway.AddIns.RevealOnewayFollowAddIn.dll inflating: TwitterIrcGateway/ExtraAddIns/Misuzilla.Applications.TwitterIrcGateway.AddIns.SocialRemoveRedundantSuffix.dll inflating: TwitterIrcGateway/ExtraAddIns/Misuzilla.Applications.TwitterIrcGateway.AddIns.TypableMap.TypableMapCommandRemoveAndBlock.dll inflating: TwitterIrcGateway/TwitterIrcGateway.exe inflating: TwitterIrcGateway/TwitterIrcGatewayCLI.exe inflating: TwitterIrcGateway/TwitterIrcGatewayCore.dll inflating: TwitterIrcGateway/TwitterIrcGatewayService.exe inflating: TwitterIrcGateway/ExtraAddIns/Misuzilla.Applications.TwitterIrcGateway.AddIns.UserStream.dll $ ln -s /usr/lib/mono/2.0/Mono.Data.Tds.dll TwitterIrcGateway/MonoBundleGAC/
起動前の下準備。設定ファイルを収めるディレクトリへのリンクを貼り、実行属性をONに。その後に起動。
$ cd TwitterIrcGateway/ $ ln -s ../../TwitterIrcGateway-Configs Configs $ chmod +x TwitterIrcGateway TwitterIrcGatewayCLI $ ./TwitterIrcGateway --encoding=utf-8 Start TwitterIrcGateway Server v2.6.5053.29715 [Configuration] BindAddress: 127.0.0.1, Port: 16668 [Configuration] EnableTrace: False [Configuration] IgnoreWatchError: False [Configuration] Interval: 90 [Configuration] ResolveTinyUrl: True [Configuration] Encoding: Unicode (UTF-8) [Configuration] SetTopicOnStatusChanged: False [Configuration] EnableDropProtection: True [Configuration] IntervalDirectMessage: 180 [Configuration] ChannelName: #Twitter [Configuration] EnableRepliesCheck: False [Configuration] IntervalReplies: 300 [Configuration] DisableUserList: False [Configuration] BroadcastUpdate: False [Configuration] ClientMessageWait: 0 [Configuration] BroadcastUpdateMessageIsNotice: False [Configuration] Proxy: [Configuration] PostFetchMode: False [Configuration] EnableCompression: False [Configuration] DisableNoticeAtFirstTime: False [Configuration] OAuthClientKey: [Configuration] OAuthSecretKey: