2014-02-18から1日間の記事一覧

Windows+PowerShellでリモートPC上で、任意のコマンドを実行する。

RemotePC上で任意のコマンドを実行する 以下のPowerShellスクリプトをファイルとして保存する。 ここでは「RemoteCommand.ps1」とする。 Param( $computer, $username, $passwd, $command ) $password = ConvertTo-SecureString $passwd -asplaintext -force…

CentOS6.4+nginx+go(FastCGI)+FileUpload

nginxのインストール 特に何もしていない cat <<'EOF' > /etc/yum.repos.d/nginx.repo [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/6/$basearch/ gpgcheck=0 enabled=1 EOF yum install nginx Goのinstall # Ver1.2 x64 wget https:/…