投稿

4月, 2000の投稿を表示しています

Docker setup note

Docker Daemon Installation See https://docs.docker.com/install/linux/docker-ce/centos/. Configuration Proxy Configuration mkdir -p /etc/systemd/system/docker.service.d vim /etc/systemd/system/docker.service.d/http-proxy.conf [Service] EnvironmentFile=/etc/environment Daemon Configuration vim /etc/docker/daemon.json { "log-driver": "json-file", "log-opts": { "max-size": "100m" }, "registry-mirrors": ["http://DOCKER_REGISTRY_MIRROR/"], "insecure-registries": ["http://DOCKER_REGISTRY_MIRROR/"] } See: https://docs.docker.com/config/daemon/systemd/ https://docs.docker.com/registry/recipes/mirror/ https://docs.docker.com/registry/insecure/ https://docs.docker.com/config/containers/logging/json-file/ https://docs.docker.com/engine/reference/commandline/dockerd/ Client configuration mkdir -p /root/.docker vim /root/.docker/config.json { "proxies": { "default": { "…

Mac uninstallation note

Things to Backup~/ /Applications /Library /var/root /usr/local Things to NoteNetwork configsIncl. Wi-Fis, VPNs.Printer configsbrew list pip freeze Applications to DeactivateAdobe Creative CloudMicrosoft Office Steps to Re-installDownload new macOS. Flash to USB Stick using createinstallmedia command. Boot into Rescue mode.https://support.apple.com/ja-jp/HT201314 Format the entire disk.Install macOS.

Eclipse setup note

InstallEclipse for Java EE Developers ExtensionsBytecode OutlineCheckstyle EclEmma EGitERMaster FindBugs (SpotBugs) JRebelLombok M2Eclipse SonarLint Spring Tools 4YEdit

Cygwin setup note

Essentials setup-x86_64.exe -q ^ --root C:¥Cygwin64 --local-package-dir C:¥Cygwin64¥packages ^ --arch x86_64 --no-desktop --disable-buggy-antivirus --upgrade-also --no-desktop ^ --categories="Admin,Base" ^ --packages="afio,arc,bzip2,cabextract,hdf5,lrzip,lzip,lziprecover,makeself,p7zip,par2,rsnapshot,sharutils,unzip,xz,zip,zziplib,mediainfo,postgresql,sqlite3,autobuild,autoconf,automake,check,clang,make,cppunit,ddd,doxygen,gcc-core,gcc-g++,gdb,git,git-svn,gperf,help2man,make,mercurial,nasm,openssl-devel,patch,patchutils,pkg-config,subversion,subversion-tools,texinfo,yasm,bvi,emacs,nano,vim,ImageMagick,gawk,llvm,python,ruby,corkscrew,curl,iperf,nc,nghttp2,openssh,ping,rsync,tftp,whois,bash-completions,chere,zsh,attr,expect,untex,convmv,ddrescue,screen,symlinks,time,tmux,w3m,wget,wput,xorg-server" Configurations rm /etc/passwd rm /etc/groups vi /etc/nsswitch.conf db_home: windows db_shell: desc db_gecos: windows net user takumaw /comment:"<cygwin shell =\&quo…

Mac (Console apps) setup note

Homebrew Prerequisites xcode-select --install Homebrewhttp://brew.sh/ brew update && brew upgrade Homebrew Taps brew tap brewsci/bio brew tap brewsci/science brew tap homebrew/cask brew tap homebrew/command-not-found brew tap homebrew/services Essentials brew install \ byobu \ coreutils \ dialog \ htop \ p7zip \ pv \ rsync \ telnet \ tmux \ w3m \ wget brew install \ aria2 \ cocot \ grep \ pstree \ rename \ renameutils \ watch mac-specific brew install \ brew-cask-completion \ launchctl-completion \ open-completion \ zsh-completions Source Code Management brew install \ git brew install \ colorsvn \ cvs \ cvs2svn \ cvsps \ cvsutils \ subversion brew cask install \ subgit Machines & Containers brew install \ ansible \ packer brew install \ docker-completion \ docker-compose-completion \ docker-machine-completion \ packer-completion \ vagrant-completion Documents & Visualization brew install \ asciidoc \ colordiff \ docbook \ dos2unix \ doxy…

Jenkins setup note

Jenkins Plugins Recommended plugins, plus BitbucketBlue OceanBlue Ocean Pipeline EditorCoberturaConfluenceDisk Usage JaCoCo Javadoc PluginJIRAJob DSLMattermost NotificationParasoft FindingsSLOCCount SonarQube Scanner Test Results Analyzer

Jetbrains setup note

Installed Extensions IntelliJ IDEACheckstyle EditorConfig FindBugs Generate Tests.ignoreLombok SonarLint Tasks Navigation WebStormAngularNode.jsVue.js

Linux (CentOS) setup note

OS Installation Language & Keyboard JapaneseSoftwareGNOME Desktop / Development and Creativity WorkstationDestinationLocal drive with encryptionNetworkingEnableSecurity Policy Initial Setup Software Repository vi /etc/yum/pluginconf.d/fastestmirror.conf include_only=.jp yum install -y epel-release yum-utils (Optional) See also: Red Hat Software Collections AdditionalResources/Repositories - CentOS Wiki Essentials yum install -y zsh byobu tmux htop vim Automatic Update yum install -y yum-cron vim /etc/yum/yum-cron.conf apply_updates = yes systemctl enable yum-cron systemctl restart yum-cron Time Syncing yum install -y chrony vim /etc/chrony.conf systemctl enable chronyd systemctl restart chronyd chronyc -a makestep Root CA Certificates 証明書を以下に配置 /etc/pki/ca-trust/source/anchors/ update-ca-trust extract Network Filesystems

Linux (Ubuntu) setup note

OS Installation Language & Keyboard JapaneseUpdates and other softwareMinimal InstallationOther optionsNOT retrieve updatesInstall third-party softwareDestinationLocal drive with encryption Initial Setup Software Repository vi /etc/apt/sources.list :%s/jp.archive.ubuntu.com/REPOSITORY_HOST\/Linux/g Essentials apt install -y zsh byobu tmux htop vim Automatic Update apt install -y unattended-upgrades dpkg-reconfigure -plow unattended-upgrades vim /etc/apt/apt.conf.d/50unattended-upgrades // Unattended-Upgrade::Allowed-Origins をアンコメント Unattended-Upgrade::Remove-Unused-Dependencies "true"; Unattended-Upgrade::Automatic-Reboot "true"; Time Syncing apt install -y chrony vim /etc/chrony/chrony.conf systemctl enable chronyd systemctl restart chronyd chronyc -a makestep Root CA Certificates 証明書を以下に配置。 /usr/local/share/ca-certificates update-ca-certificates -v Network Filesystems apt install -y cifs-utils nfs-common Optional: Sysdig See https://sysdig.com/. Optional: Cockpit

Visual Studio Code setup note

Installed Extensionsautoconf (maelvalais.autoconf)C/C++ (ms-vscode.cpptools)Code Runner (formulahendry.code-runner)Color Highlight (naumovs.color-highlight)Docker (peterjausovec.vscode-docker) EditorConfig for VS Code (editorconfig.editorconfig) ESLint (dbaeumer.vscode-eslint) GitLens (eamodio.gitlens) Go (ms-vscode.go)HTML Snippets (abusaidm.html-snippets)HTMLHint (mkaufman.htmlhint)Japanese Language Pack for Visual Studio Code (ms-ceintl.vscode-language-pack-ja) JavaScript (ES6) code snippets (xabikos.javascriptsnippets) Jenkinsfile Support (secanis.jenkinsfile-support)npm (eg2.vscode-npm-script)npm Intellisense (christian-kohler.npm-intellisense)Path Intellisense (christian-kohler.path-intellisense)Prettier - Code formatter (esbenp.prettier-vscode)Python (ms-python.python)Remote VSCode (rafaelmaiolla.remote-vscode)Ruby (rebornix.ruby)stylelint (stylelintshinnn.stylelint)Vetur (octref.vetur)vscode-icons (robertohuertasm.vscode-icons)Vue 2 Snippets (hollowtree.vue-snippets)XML Tools (d…

Windows setup note

Applications Web & EmailGoogle ChromeGoogle Chrome CanaryGpg4win Office & DocumentsAdobe Reader LibreOffice Microsoft Office Microsoft OneNote PDF Creator Utilities7-ZipGoogle 日本語入力IOBit UnlockerRescue Time Reader & EditorNotepad++Texts.io CreativityGIMP DevelopmentDocker for WindowsEclipseGit for WindowsIntelliJ IDEAmRemoteNGMySQL WorkbenchOracle JDKSourcetree TortoiseGit TortoiseSVN VirtualBox Visual Studio CodeWinSCP Windows FeaturesWindows Subsystem for Linux