Shammer's Philosophy

My private adversaria

Debian

Using PHP on Debian apache2

I am using Debian and Apache2 in my test environment, just returning some text via http. In my purpose, I hope that apache2 returns timestamp and hostname and use python to do it. Here is a python script doing it. #!/usr/bin/env python fro…

Does NTP work correctly with enabled Tokyo Daylight Saving Time?

I have heard that there is a possibility to start summer time, Daylight Saving Time, at Tokyo within years, around Tokyo Olympic. So I investigated if ntpd would work under daylight saving time at Tokyo. The ntpd module of almost Linux dis…

Japanese Locale Configuration

I wrote an article about Debian locale configuration at Debian Locale Configuration - 20180613 - Shammerism, this is based on LANG=C. Here is a procedure how to configure Japanese locale. Edit /etc/locale.gen and remove comment of the line…

Debian Locale Configuration - 20180613

I wrote an article about the Debian locale in Debian Locale Configuration - Shammerism, but I noticed /etc/environment is not recommended, it is a likely old configuration file. Now we should use /etc/default/locale. This is a sample using…

How to resolve package dependency errors after upgrade from wheezy to stretch?

I upgraded wheezy to stretch with apt-get like below. edit /etc/apt/sources.list, change distribution strings "wheezy" to "stable" apt-get upgrade apt-get dist-upgrade New sources.list is below. #deb http://ftp.jp.debian.org/debian/ wheezy…

Accessing tomcat8 application but received Unsupported major.minor version 52.0

I build war application first time in age, but response is not expected the one, but UnsupportedClassVersionError. $ curl http://10.255.230.2:8080/myapp/defaultServlet <html><head><title>Apache Tomcat/8.0.14 (Debian) - Error report</title><style type="text/css">H1 {font-family:Tahoma,…</head></html>

Debian Stretch Install Procedure

In this article, I said that I would try Debian Stretch installing my Thinkpad. This is a procedure. Download ISO included non-free firmware from this site Burn this ISO into CD-R or DVD-R Boot from this CD-R or DVD-R Select Expert Install…

Dropbox Installation supported by apt-get

At Debian Stretch, Dropbox can be installed via apt-get. Before Jessie, a Linux user has to install Dropbox with the deb package file of dropbox whose name is like a dropbox_YYYY.MM.DD_amd64.deb. I wrote this step at Dropbox auto launch co…

Debian Stretch Debut!

I installed Debian Stretch on my Thinkpad X1 Carbon which I bought several years ago, same laptop as I wrote in this article. I have been waiting for a long time fixing GNOME desktop bug that natural scroll does't work properly. On this re…

Debian Locale Configuration

I have tried to configure locale correctly before like How to fix set locale error? - Shammerism, but I was faced with the case that the way written in this article doesn't recover the locale. After editing /etc/environment, the following …

SLIME Configuration Memo with Jessie, ClozureCL 1.11

I wrote the contents about SLIME configuration as SLIME Configuration on my Debian - Shammerism, but it is an old one. So I re-write same contents with the latest environment. My current environment is: OS is Debian Jessie, uname -a result…

${OSTYPE} returns blank

I understood that SHELL value OSTYPE returns the platform indicating current operating system. Then, I used this in my shell script but $OSTYPE always blank in my shell script even if $OSTYPE has a not blank value in Terminal. My script in…

How to fix set locale error?

Usually, I thought dpkg-reconfigure locales can fix the locale error but I faced with the case it can't be recovered with dpkg-reconfigure locales like ロケールを変更する - Shammerism. Here is a log. root@Server1:~# dpkg-reconfigure locale…

curl: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory

I would like to use curl latest version always, so I don't install curl via apt-get, install it from tar ball instead. But, I always see the following error message when executing curl. curl: error while loading shared libraries: libcurl.s…

Create VM with virt-install on KVM

There is a command to create VMs in KVM, it is virt-install. This is an alternative of virt-manager which is a GUI management appliction for KVM to enable a lot of management operations for KVM host specified in creating VMs. For example, …

Install virt-manager as the client of KVM

I wrote an article to install virt-manager into Debian Jessie for KVM host. Today's article is the description to install virt-manager into Debian Jessie but this is not KVM host, for operating KVM via remote accessing on virt-manager. Vir…

Install KVM into Debian Jessie

This is an first article to install KVM into Debian Jessie based on the https://wiki.debian.org/KVM, kicked this article by Ubuntu 16.10 doesn't boot on my server - Shammerism. After OS install with the smallest options, selected only stan…

Upgrade from Squeeze to Wheezy

Here is a procedure I did to upgrade Squeeze to Wheezy. edit /etc/apt/sources.list apt-get update apt-get upgrade apt-get dist-upgrade Changed points of /etc/apt/sources.list Disable squeeze repository link and add wheezy repository link #…

Disabled mouse action on Emacs

Intoroduce disable-mouse package I was bothered Emacs unexpectedly pop up menu on my Jessie and looking for how to disable this pop up, and find a package to do it, named disable-mouse. This package is provided via melpa. Installation proc…

Install XFCE4 into my Jessie

I used GNOME desktop environment on my debian, but I have a compliant. That is that GNOME environment doesn't take over the mouse/trackpad configuration set by system setting. In detail, natural scrolling is disabled on some applications. …

Enable TCP Fast Open on Debian Jessie

According to TCP FAST OPENとは? | REDBOX Labo, TCP Fast Open is supported on Linux since Kernel 3.6. The kernel of Debian Jessie is 3.16, so it is likely available. The configuration value is /proc/sys/net/ipv4/tcp_fastopen. The value of …

Waiting until network enabled

If I have something to do when the host launched and it requires network, I have to consider that network access not prepared when the something invoked. It is useful to wait network preparation completed. This is a sample. while true; do …

Test connecting PostgreSQL DB from tomcat8

This is an continued article of PostgreSQL JDBC Driver on tomcat8 - Shammerism. There is a JSP tag library to connect Database and showing the search result. There are a lot of links, one of them is https://www.tutorialspoint.com/jsp/jsp_s…

PostgreSQL JDBC Driver on tomcat8

I setup DB Application on tomcat8, host OS is Debian Jessie and JavaVM is OpenJDK 1.7.0_151. At first, I used JDBC Driver which can be installed with apt-get, but it doesn't work fine. I saw a stack trace which is began with "java.lang.Abs…

Install Clozure CL 1.11 to Debian wheezy running as Xen VM

I tried to install Clozure CL 1.11 into my Debian wheezy running as Xen VM. At first, I tried the way as well as Install Clozure CL 1.10 to Debian wheezy - Shammerism, but it finished with Error. root@tora2017:/usr/local/src/ccl/lisp-kerne…

I begin to use Debian Jessie instead of Mac

I saw jessie's package list and know that Emacs installed by apt-get is 24.4 uim-skk supports sticky shift on Jessie I give importance those points. I have struggled to install uim-skk supported sticky-shift on wheezy, but I couldn't do it…

Debian 7.9 installed into Lenovo X1 Carbon

I installed Debian wheezy 7.4 into my laptop and wrote the article, Lenovo X1 Carbon へ wheezy 7.4 をインストール - Shammerism. At that time, wifi firmware is located at the USB memory root directory. But, this location seems to be changed…

Install Clozure CL 1.10 to Debian wheezy

I installed Clozure CL 1.9 to Debian wheezy before, detail is Install ClozureCL to Debian - Shammerism, but Clozure CL 1.10 already released. And then, I tried it but it couldn't be launched with following error. root@my-wheezy:/usr/local/…

Resolve the message "No access configuration" of snmptrapd

In my article written at a couple of day ago, I could configure to receive snmp trap from other network devices or softwares. But, my configuration was not sufficient because of the message "No access configuration - dropping trap". This m…

Configure SNMP on Debian Jessie

I have configured SNMP on Debian wheezy before, but it is a very simple and basic. There is a memo in this article. I tried on same thing on Jessie, but snmptrapd doesn't seem to be installed. SNMP configuration procedure might be changed …