python3.5.2 to Debian8

This probably refers to common way of install software from source.

Installing Python manually is possible. As an example, you can use the following instructions to install 3.5.2 version

Prerequisites

Install dependencies :

sudo apt-get update && sudo apt-get install libssl-dev openssl

Building Python

You can build Python in a specific folder using the --prefix parameter from configure command:

wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
tar zxf Python-3.5.2.tgz
cd Python-3.5.2/
./configure --prefix=/usr/local
make
sudo make install

Instead of /usr/local, one can use another base directory. As an example:

sudo mkdir /opt/python-3.5.2
./configure --prefix=/opt/python-3.5.2

Selecting python version

Using PATH environment variable can help choosing the right python version to use. But one can also use symlinks:

sudo ln -s /opt/python-3.5.2/bin/python3.5 /usr/local/bin/python3
sudo ln -s /opt/python-3.5.2/bin/pip3.5 /usr/local/bin/pip3

Using -f option will allow you to replace existing symlinks

windows features

linux subsystem install:

Windowsシステムツール→コントロールパネル→プログラム→windows機能の有効化(または無効化):

windows subsysatem for linux;

internet information service (ついでに)

簡易TCP/IPサービス(echo,daytimeなど)(ついでに);;;

再起動後:

Microsoft Store から debian を選択してdownload

Microsoft Store:  Debian GNU/Linux  (stable) 9/stretch


uninstall:

Control Panel -> programs-features -> turn on/off Windows features and deselect Windows Subsystem for Linux, and Save.        -> Restart

cisco VPN

AnyConnect Support for Linux

Linux Requirements

  • x86 instruction set.
  • 64-bit processor.
  • 32 MB RAM.
  • 20 MB hard disk space.
  • Dependency on network-manager and libnm library to support NVM.Superuser privileges are required for installation.
  • libstdc++ users must have libstdc++.so.6(GLIBCXX_3.4) or higher, but below version 4.
  • Java 5 (1.5) or later. The only version that works for web installation is Sun Java. You must install Sun Java and configure your browser to use that instead of the default package.
  • zlib – to support SSL deflate compression
  • xterm – only required if you’re doing initial deployment of AnyConnect via Weblaunch from ASA clientless portal.
  • gtk 2.0.0.
  • gdk 2.0.0.
  • libpango 1.0.
  • iptables 1.2.7a or later.
  • tun module supplied with kernel 2.4.21 or 2.6.

debian-yu status

Firefox ESR 45.2.0, 52.6.0 (64-bit)

Chrome 57,0.2987.133(64bit)

Linux debian-yu 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux

Verifying archive integrity.
Error in MD5 checksums: 6c666532bb12a54d8ad9f519e6746eca is different from 5ce79b4619ae0f8df67a16457934e5ac

Error in MD5 checksums: 6c666532bb12a54d8ad9f519e6746eca is different from 5ce79b4619ae0f8df67a16457934e5ac

Mathematica Sophia Network license

1.上智大学→総合メディアセンター: https://ccweb.cc.sophia.ac.jp/

2.→VPN→ connect  to VPN:     https://vpngw.cc.sophia.ac.jp/+CSCOE+/logon.html

3. Select Browsers only →username(008621287);passwd(auto)→Login:  https://vpngw.cc.sophia.ac.jp/+CSCOE+/portal.html

4.  MediaCenterHomePage→申請書・マニュアル→

5. マニュアルダウンロード画面/Download(only campus network)・Mathematicaのアクティベートおよび新規インストール手順について→(最下段)ダウンロードして下さい

301 redirect

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^jtg1\.japantourguide\.net$ [OR]
RewriteCond %{HTTP_HOST} ^www\.jtg1\.japantourguide$
RewriteRule (.*)$ http://jsst4.japantourguide.net/$1 [R=301,L]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

responsive to unresponsive

Add this cssAdd this css
/* =Fixed Width——————————————————– */#container,#footer { width: 960px!important;}Add this php to the functions.php in the child theme
// Disable media queries<?phpfunction remove_media_queries() {wp_dequeue_style( ‘responsive-media-queries’ );}add_action( ‘wp_enqueue_scripts’, ‘remove_media_queries’, 20 );?>You may also need to remove or comment out the viewport meta data in your child theme’s header.php file.
Further info here

ssl lolipop

セキュリティ→独自ssl証明書導入→対象ドメインチェックボックス・チェック→導入クリック:設定中:::10分?::設定有効ドメインに該ドメインが表示

該フォルダにmurasecret設置:search&replace:  http://jsst4.japantourguide.net     with  https://jsst4.japantourguide.net:::::::The table “wptest_maxbuttons_collections_trans” has no primary key. Changes will have to be made manually.

in WP dashboard: setting:General isO.K.    Reading: check  discourage search engine :   Save

At this point, all pages seem all right for https.

in .htaccess, add the following:

# TN – END EXPIRES CACHING #
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>

 

Rewrite rule in .htaccess for subdomain

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

While if wp reside just in a directory:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /jsst3/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /jsst3/index.php [L]
</IfModule>

# END WordPress