Once again, an error caused by dependencies during a CentOS yum update
The situation On CentOS7, php7.x has already been installed from the remi repository
The symptom An error during yum update
Copy # sudo yum update —enablerepo=remi-php73 エラー: パッケージ: php-pecl-zip-1.18.2-1.el7.remi.5.4.x86_64 (remi) 要求: php(zend-abi) = 20100525-64 インストール: php-common-7.3.0-1.el7.remi.x86_64 (@remi-php73) php(zend-abi) = 20180731-64 利用可能: php-common-5.4.16-48.el7.x86_64 (base) php(zend-abi) = 20100525-64 利用可能: php-common-5.4.45-18.el7.remi.x86_64 (remi) php(zend-abi) = 20100525-64 エラー: パッケージ: php-pecl-zip-1.18.2-1.el7.remi.5.4.x86_64 (remi) 要求: php(api) = 20100412-64 インストール: php-common-7.3.0-1.el7.remi.x86_64 (@remi-php73) php(api) = 20180731-64 利用可能: php-common-5.4.16-48.el7.x86_64 (base) php(api) = 20100412-64 利用可能: php-common-5.4.45-18.el7.remi.x86_64 (remi) php(api) = 20100412-64 問題を回避するために --skip-broken を用いることができます。 Using --skip-broken does not work either
[Read More]
Fixing failed to extract shortcode Errors in hugo server
failed to extract shortcode
The situation At the moment I manage the Markdown for this blog on Gitllab and write the posts on a local machine with Git.
The flow is: clone from Gitlab to a local Mac or Linux box with Git, write a post, and push after compiling.
Hugo has a server mode, and if you start it with hugo server -w you can check a preview of the post you wrote at localhost:1313.
[Read More]
A Docker Image That Cannot Be Deleted
conflict: unable to delete
Symptoms I tried to delete an image file in Docker and got an error
Copy $ docker rmi d56 Error response from daemon: conflict: unable to delete d562087633bf (cannot be forced) - image has dependent child images Forcing the deletion
Copy $ docker rmi d56 -f Error response from daemon: conflict: unable to delete d562087633bf (cannot be forced) - image has dependent child images Cause The error seems to say that child image files depend on it.
[Read More]
Fixing Guest Network Drops in VMware Fusion on a Mac
The guest OS network in VMware Fusion keeps dropping
Symptoms On VMware Fusion 8.5.4 under macOS High Sierra (10.13.6), the network of the guest OS in VMware Fusion occasionally gets disconnected
The guest OS is Windows10, and once the network drops,
changing to NAT or bridged does not help restarting the network in Windows does not help disconnecting the network adapter on the VMware side does not help The solution The simplest thing is to restart the Mac, but when the same symptom happens over and over while you are working, restarting every time is a hassle
[Read More]
HTML Written Inside Markdown Not Showing Up in Hugo
HTML such as div and iframe is not being displayed
Symptoms I had not written an article in Hugo for a while, and when I posted one after a long break I noticed that the iframes and HTML inside the Markdown were not being displayed.
Cause When I looked into it, it turns out that with Goldmark, the Markdown parser newly adopted from Hugo v0.60, HTML tags inside Markdonw are ignored under the default settings
Solution Since ignoring (stripping) HTML tags inside Markdonw is the default, it seems all you have to do is explicitly configure it not to ignore them
[Read More]
Making Command+Space Input Switching Instant on a Mac
Fixing the slow response of input mode switching with Command+Space
Have you ever been frustrated on a Mac because switching input between Japanese and English with “Command+Space” does not go smoothly due to a delay?
For people using the latest Macs this may not be something worth worrying about, but I still use an iMac 2009, so the dialog that appears in the center of the screen tends to take control, and especially when I am working in the terminal or writing an article and switching frequently, sometimes it does not switch the way I want it to.
[Read More]
What I Thought After Running Growi for a Month
Pros and cons after using Growi for about a month
I started Growi with Docker and used it for about a month, so let me list the pros and cons from my personal point of view
These are the facts as of now (v3.7.7), so there is a possibility that they will be addressed in future version upgrades.
Pros Markdown editing with real-time preview Several people can edit Change history management Diagram editing with draw.io Easy to set up with docker Open source hackmd integration Fast search with elasticsearch Authentication features such as LDAP, Google and Github Simple presentations with reveal.js built in Cons When a single article contains a lot of images or draw.io diagrams, it previews every one of them, so it becomes slow to respond Depending on the version, the integration with hackmd is unstable There is no restore button in the change history for going back to a past state Exporting and importing data requires the versions to match When you import data, the elasticsearch rebuild fails Articles cannot be exported as Markdown or PDF What about running it in the office?? Since draw.io is built in and you can embed things like flowcharts and UML, I found it quite convenient for writing technical articles.
[Read More]
Forwarding Syslog from VMware ESXi 6.x to a Syslog Server
Steps for configuring syslog forwarding on VMware ESXi 6.x
The logs of a VMware ESXi host are not all that important, but out of curiosity I configured forwarding to a syslog server, and these are my notes
Configuration steps This forwarding setup is meant for those who already have a syslog server prepared and can log in to VMware ESXi as root
Configuring the syslog host Log in as an administrator in the VMware web interface Click Manage in the left column of the dashboard On the System tab in the right column, click Advanced settings Type syslog into the search box and apply the filter Select “Syslog.global.logHost” and click “Edit option” Specify the forwarding method and the syslog server to forward to as the new value, and save it Copy "udp://192.168.1.1:514" For multiple entries, "udp://192.168.1.1:514,tcp://192.168.1.2:1514" 7. Click Refresh
[Read More]
Installing the Zabbix Agent on Mac OS X for Monitoring
Installing the Zabbix agent on Mac OS X and monitoring the machine
Downloading and installing the Zabbix Agent From the Zabbix official site, go to Download Zabbix agents (in Japanese), specify macOS and the zabbix version, and download it
Open the pkg file you downloaded and install it
By the way, it is set up so that it runs automatically when MacOS starts
Copy # file location /Library/LaunchDaemons/com.zabbix.zabbix_agentd.plist # startup script /usr/local/sbin/zabbix_agentd -c /usr/local/etc/zabbix/zabbix_agentd.conf -f # log /var/log/zabbix/zabbix_agentd-out.log /var/log/zabbix/zabbix_agentd-err.log Configuration Change Hostname as appropriate, and change the Server field to the IP of the Zabbix Server
[Read More]
Be Careful with Linux on a PowerEdge with the S140
Getting stuck on the S140 software RAID while installing Linux
When I bought a PowerEdge R630 I did not actually need RAID, but an S140 came with it by default, so I figured I might as well build the server in a RAID configuration — and got stuck.
The server build plan Since there are 4 HDDs, I considered installing Debian Linux or VMware ESXi on RAID5
Boot failure from the rear USB port There is no CD/DVD drive included and no PXE boot environment either, so I created a boot disk on USB, plugged it into a rear USB port and powered the machine on, at which point it froze at “Initilize Firmware Interfaces” and did not go any further.
[Read More]
Posts