SREとはのブログ

日々の作業メモ

コード shell 色つけ

monaski.hatenablog.com

$ cat aaa.text
$ ll /dev/
ls /dev
cat 
grep 
$ ls -lt
$ ls -lt
合計 16
-rw-r--r--. 1 root root   15  620 21:02 2015 atest1.txt
-rw-r--r--. 1 root root 1280  620 21:00 2015 test3.php
-rw-r--r--. 1 root root  180  620 21:00 2015 test2.log
-rw-r--r--. 1 root root   15  620 20:59 2015 test1.txt
$ ls -lt
合計 16
-rw-r--r--. 1 root root   15  620 21:02 2015 atest1.txt
-rw-r--r--. 1 root root 1280  620 21:00 2015 test3.php
-rw-r--r--. 1 root root  180  620 21:00 2015 test2.log
-rw-r--r--. 1 root root   15  620 20:59 2015 test1.txt

brew cask install tuntap

test

test1

test2

brew cask install tuntap 1回目は失敗

Password:
installer: Package name is TunTap Installer package
installer: Installing at base path /
installer: The install failed (エラーによってインストールできませんでした。ソフトウェアの製造元に問い合わせてください。)
==> Purging files for version 20150118 of Cask tuntap
Error: Failure while executing; `/usr/bin/sudo -E -- /usr/bin/env LOGNAME=tm USER=tm USERNAME=tm /usr/sbin/installer -pkg /usr/local/Caskroom/tuntap/20150118/tuntap_20150118.pkg -target /` exited with 1. Here's the output:
installer: Package name is TunTap Installer package
installer: Installing at base path /
installer: The install failed (エラーによってインストールできませんでした。ソフトウェアの製造元に問い合わせてください。)
Follow the instructions here:
  https://github.com/Homebrew/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/system_command.rb:176:in `assert_success!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:53:in `run!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:29:in `run'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:33:in `run!'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:59:in `block in run_installer'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:65:in `with_choices_file'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:52:in `run_installer'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:34:in `install_phase'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:218:in `block in install_artifacts'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/

f:id:taishibrown3:20200223153239p:plain

2回目

> brew cask install tuntap
==> Caveats
To install and/or use tuntap you may need to enable its kernel extension in:
  System Preferences → Security & Privacy → General
For more information refer to vendor documentation or this Apple Technical Note:
  https://developer.apple.com/library/content/technotes/tn2459/_index.html

==> Downloading https://downloads.sourceforge.net/tuntaposx/tuntap/20150118/tuntap_20150118.tar.gz
Already downloaded: /Users/tm/Library/Caches/Homebrew/downloads/0f08fbfcac9a00fd040db3d176fa26ebe155d7c8f36a19c538a75e6ddee28ff7--tuntap_20150118.tar.gz
==> Verifying SHA-256 checksum for Cask 'tuntap'.
==> Installing Cask tuntap
==> Running installer for tuntap; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
installer: Package name is TunTap Installer package
installer: Installing at base path /
installer: The install was successful.
🍺  tuntap was successfully installed!
[15:33:56] tm@tm-22 /Users/tm (0)

Cisco Packet Tracer macOS アカウント登録でつまずいた

GNS3とかしか使ったことなかったので どんなんだろーって試そうと思ったところ ここのサイトを参考にして登録しようとしたところ

ichibariki.hatenablog.com

こんなエラーが出て進まず f:id:taishibrown3:20200209210355p:plain

よくわからなかったので 下記メールにボスケテって送って見ると netacadsupport@netacad.com

1週間ぐらいで 回答が帰ってきました。

 hope you are doing well and apologize for the delay in response

You are receiving this message as you don't have a NetAcad account. I searched for your email and did not find an account in NetAcad. You do have a Cisco.com account, however this doesn't grant access to NetAcad. To access NetAcad you have to also have an account created by enrollment.

As you are looking to download the Packet Tracer program, you can enroll into the free Packet Tracer course, which will create an account for you. Here are the steps to enroll:

1. Go to www.netacad.com
2. Click "Courses"
3. Click "Packet Tracer"
4. Click "Enroll to download Packet Tracer"
5. Click "Sign up today!"
6. Click "English
7. Enter name and email
8. Click "Submit"

Once you click on Submit you only need to look for the "Get Started" email to complete your registration.

Let me know if you need any further assistance.

Kind regards,

Rhea A.

Cisco Networking Academy Support

なるほどここのPacket Tracerから

f:id:taishibrown3:20200209210636p:plain

ここをクリックして f:id:taishibrown3:20200209210729p:plain

これか

f:id:taishibrown3:20200209210809p:plain

Englishを選ばないと で登録して

こんな画面に行って Packet Tracerのダウンロードで f:id:taishibrown3:20200209211224p:plain

やっと来れました

f:id:taishibrown3:20200209211341p:plain