<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4626257132811030090</id><updated>2026-07-24T14:56:41.089+09:00</updated><category term="linux"/><category term="CentOS"/><category term="Mac"/><category term="Oracle"/><category term="MySql"/><category term="APPLE"/><category term="Tomcat"/><category term="apache"/><category term="java"/><category term="AWS"/><category term="Windows"/><category term="error"/><category term="javascript"/><category term="oracle10g"/><category term="php"/><category term="python"/><category term="raspberry pi"/><category term="Eclipse"/><category term="MyEclipse"/><category term="Postfix"/><category term="YAMAHA"/><category term="aMule"/><category term="fedora 10"/><category term="openSSL"/><category term="vsftpd"/><category term="youtube-dl"/><category term="安装"/><category term="Borland"/><category term="CF-SZ6"/><category term="CSS"/><category term="Cloud"/><category term="Docker"/><category term="EC2"/><category term="EL式"/><category term="EV3"/><category term="Firefox"/><category term="GFW"/><category term="Google"/><category term="Google Chrome"/><category term="HP-UX"/><category term="HTML"/><category term="Illustartor"/><category term="JSP"/><category term="Letsencrypt"/><category term="LinkedIn"/><category term="Micro Focus"/><category term="MicroSoft"/><category term="Mozilla"/><category term="OLYMPUS"/><category term="Office2008"/><category term="Office2013"/><category term="OpenToWork"/><category term="PS滤镜"/><category term="Panasonic"/><category term="PostgreSQL"/><category term="RAID"/><category term="RTX1210"/><category term="RTX1220"/><category term="Router"/><category term="SQL"/><category term="SSH"/><category term="SVN"/><category term="Safari"/><category term="Samba"/><category term="Service"/><category term="Seting"/><category term="TIF"/><category term="Unix"/><category term="VS Code"/><category term="Windows95"/><category term="XServer Raid"/><category term="XXX"/><category term="YouTube"/><category term="Zend"/><category term="access"/><category term="alter"/><category term="class"/><category term="column name"/><category term="duplicate or bad"/><category term="fsck"/><category term="gcc"/><category term="gmail"/><category term="grub"/><category term="iPhone"/><category term="install"/><category term="jQuery"/><category term="keygen"/><category term="libmcrypt"/><category term="libmysqlclient"/><category term="mail"/><category term="mbstring"/><category term="my.cnf"/><category term="ncurse-devel"/><category term="onfocus"/><category term="oracle11g"/><category term="pam认证"/><category term="panic"/><category term="path"/><category term="perl"/><category term="port"/><category term="root password"/><category term="sar"/><category term="sendmail"/><category term="server 2008 r2"/><category term="style sheet"/><category term="synfig"/><category term="telnet"/><category term="text"/><category term="yum"/><category term="中文"/><category term="九城"/><category term="乱码"/><category term="价格"/><category term="企业邮箱"/><category term="关机技巧"/><category term="动态编译"/><category term="启动"/><category term="央视"/><category term="密码"/><category term="快捷键"/><category term="挂载"/><category term="控件"/><category term="支付宝"/><category term="故障"/><category term="数字证书"/><category term="数据库设计"/><category term="旅游"/><category term="日期函数"/><category term="查看版本"/><category term="注入攻击"/><category term="注册码"/><category term="火狐"/><category term="破解"/><category term="端口"/><category term="类"/><category term="编码"/><category term="自动启动"/><category term="虚拟机"/><category term="设置"/><category term="购物"/><category term="路径的使用"/><category term="配置"/><category term="配置参数"/><category term="饮食"/><category term="香港"/><category term="魔兽世界"/><title type='text'>Guan&#39;s Technical Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>113</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-2327006001789896278</id><published>2024-05-22T11:06:00.010+09:00</published><updated>2024-05-22T11:09:16.902+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="APPLE"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="panic"/><title type='text'>[APPLE MAC OS]Got a kernel panic when just move mouse</title><content type='html'>&lt;p&gt;Got kernel panic when just move mouse.&lt;/p&gt;&lt;p&gt;Checking with Apple, it seems that after update RTKit, which is a security method to prevent memory leak by local user, it was reported.&lt;/p&gt;&lt;p&gt;&lt;pre class=&quot;prettyprint&quot;&gt;panic(cpu 1 caller 0xfffffe00299321dc): DCPEXT0 PANIC - IOMFB int_handler_gated: failure: axi_rd_err [0x40310634]&lt;/p&gt;&lt;p&gt;&amp;nbsp;- iomfb_driver(10)&lt;/p&gt;&lt;p&gt;IOMFB int_handler_gated: failure: axi_rd_err [0x40310634]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;RTKit: RTKit-2419.101.1.release - Client: local-t600xdcp.RELEASE&lt;/p&gt;&lt;p&gt;!UUID: 44138b3c-b052-3669-bf7c-ac4a003b01b1&lt;/p&gt;&lt;p&gt;Time: 0x0000086d24b1a180&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Faulting task &amp;nbsp;10 Call Stack: 0x000000000001e4a8 0x000000000001de98 0x000000000001dc9c 0x0000000000020dd4 0x0000000000209ac0 0x0000000000136a7c 0x000000000001e918 0x00000000000129d8 000000000000000000&lt;/p&gt;&lt;p&gt;RTKit Task List:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| pri &amp;nbsp; &amp;nbsp; | stack use | status &amp;nbsp; &amp;nbsp; | resource | warning&lt;/p&gt;&lt;p&gt;&amp;nbsp;0 rtk_background &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 007 &amp;nbsp; &amp;nbsp; | &amp;nbsp; 848/2048 &amp;nbsp;| SEMWAIT &amp;nbsp; &amp;nbsp;| 0x962780 |&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000000011ec0 0x0000000000012e5c 0x000000000001e8ac 0x00000000000129d8&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;1 rtk_ep_work &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 057 &amp;nbsp; &amp;nbsp; | &amp;nbsp; 920/2048 &amp;nbsp;| SEMWAIT &amp;nbsp; &amp;nbsp;| 0x95ee00 |&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000000011ec0 0x0000000000012e5c 0x000000000001e8ac 0x00000000000129d8&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;2 log_tx &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 007 &amp;nbsp; &amp;nbsp; | &amp;nbsp; 624/2048 &amp;nbsp;| SEMWAIT &amp;nbsp; &amp;nbsp;| 0x94b940 |&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000000011ec0 0x0000000000012e5c 0x000000000001e8ac 0x00000000000129d8&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;3 log_flush &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 015 &amp;nbsp; &amp;nbsp; | &amp;nbsp; 944/4096 &amp;nbsp;| SEMWAIT &amp;nbsp; &amp;nbsp;| 0x94ace0 |&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000000011ec0 0x0000000000012e5c 0x00000000000245c4 0x00000000000129d8&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;4 tracekit_work &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 007 &amp;nbsp; &amp;nbsp; | &amp;nbsp; 608/4096 &amp;nbsp;| SEMWAIT &amp;nbsp; &amp;nbsp;| 0x948810 |&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000000011f08 0x0000000000012e5c 0x000000000001e8ac 0x00000000000129d8&lt;/p&gt;&lt;p&gt;&lt;br /&gt;...&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;Hope nothing wrong with my program..&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/2327006001789896278/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/05/apple-mac-osgot-kernel-panic-when-just.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/2327006001789896278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/2327006001789896278'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/05/apple-mac-osgot-kernel-panic-when-just.html' title='[APPLE MAC OS]Got a kernel panic when just move mouse'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-3202272039309901504</id><published>2024-05-19T01:17:00.002+09:00</published><updated>2024-05-19T01:20:04.264+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="youtube-dl"/><title type='text'>[yt-dlp]Investigation for logger output to log file</title><content type='html'>&lt;p&gt;As Youtube-DL was not extended any more, I turned to yt-dlp also.&lt;/p&gt;&lt;p&gt;But it has an insufficient feature to output debug log to stdout. In my program, I need it to output debug log to log file instead of output to stdout.&lt;/p&gt;&lt;p&gt;After take some time to investigate the source, I found that I need to change one method in below file.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;prettyprint&quot;&gt;yt-dlp/yt_dlp/utils/_utils.py&lt;p&gt;&lt;/p&gt;&lt;p&gt;Method: write_string&lt;/p&gt;&lt;/pre&gt;&lt;p&gt;Its source below:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;prettyprint&quot;&gt;def write_string(s, out=None, encoding=None):&lt;p&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; assert isinstance(s, str)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; out = out or sys.stderr&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; if not out:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; if compat_os_name == &#39;nt&#39; and supports_terminal_sequences(out):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; s = re.sub(r&#39;([\r\n]+)&#39;, r&#39; \1&#39;, s)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; enc, buffer = None, out&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; if &#39;b&#39; in (getattr(out, &#39;mode&#39;, None) or &#39;&#39;):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; enc = encoding or preferredencoding()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; elif hasattr(out, &#39;buffer&#39;):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; buffer = out.buffer&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; enc = encoding or getattr(out, &#39;encoding&#39;, None) or preferredencoding()&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; buffer.write(s.encode(enc, &#39;ignore&#39;) if enc else s)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; out.flush()&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;As per the source, we can add out put log file parameter to it.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/3202272039309901504/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/05/yt-dlpinvestigation-for-logger-output.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/3202272039309901504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/3202272039309901504'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/05/yt-dlpinvestigation-for-logger-output.html' title='[yt-dlp]Investigation for logger output to log file'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-6542224157685924929</id><published>2024-05-17T19:57:00.010+09:00</published><updated>2024-05-17T20:19:18.077+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Docker"/><title type='text'>[AWS EC2]Docker install</title><content type='html'>&lt;p&gt;AWS EC2にDockerを利用して、Wordpressを使い始めたいと思いますので、AWS EC2にDockerインストールをメモしておきます。&lt;/p&gt;&lt;p&gt;1. EC2インスタンスにログインして、最新のyumリストを取得します。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;prettyprint&quot;&gt;$ sudo yum update -y&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;2. Docker packageインストールします。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;prettyprint&quot;&gt;$ sudo yum install -y docker&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;3. Dockerサービスを起動します。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;prettyprint&quot;&gt;$ sudo service docker start
Redirecting to /bin/systemctl start docker.service&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;4. Dockerグループにec2-userを追加します。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;prettyprint&quot;&gt;$ sudo usermod -a -G docker ec2-user&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;5. 一旦ログアウトして、再度ログインすることで、設定を有効化します。docker infoでdockerの起動を確認します。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;prettyprint&quot;&gt;exit&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;prettyprint&quot;&gt;$ docker info
Client:
 Version:    25.0.3
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.0.0+unknown
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx

Server:
...
&lt;/pre&gt;&lt;div&gt;Although we did not face below issue, if you have the problem, please follow AWS guidance to restart the instance.&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;prettyprint&quot;&gt;Cannot connect to the Docker daemon. Is the docker daemon running on this host?&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The blog is follow on AWS guidance.&amp;nbsp;&lt;a href=&quot;https://docs.aws.amazon.com/ja_jp/AmazonECS/latest/developerguide/create-container-image.html&quot; target=&quot;_blank&quot;&gt;Amazon ECS で使用するコンテナイメージの作成&lt;/a&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/6542224157685924929/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/05/aws-ec2docker-install.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/6542224157685924929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/6542224157685924929'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/05/aws-ec2docker-install.html' title='[AWS EC2]Docker install'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-7625054948441776155</id><published>2024-05-15T08:54:00.006+09:00</published><updated>2024-05-15T08:59:29.264+09:00</updated><title type='text'>Youtube-dl Error</title><content type='html'>&lt;p&gt;```&lt;/p&gt;&lt;p&gt;pi@raspberrypi:~/YoutubeDownLoad $ ./downloadYoutube_list.py&amp;nbsp;&lt;/p&gt;&lt;p&gt;Downloading https://www.youtube.com/watch?v=Y3mj8UZpvxQ&lt;/p&gt;&lt;p&gt;&amp;nbsp;MP4 start..&lt;/p&gt;&lt;p&gt;[youtube] Y3mj8UZpvxQ: Downloading webpage&lt;/p&gt;&lt;p&gt;ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see &amp;nbsp;https://yt-dl.org/update &amp;nbsp;on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.&lt;/p&gt;&lt;p&gt;Unknown issue&lt;/p&gt;&lt;p&gt;Unexpected {err=}, {type(err)=}&lt;/p&gt;&lt;p&gt;1 : https://www.youtube.com/watch?v=Y3mj8UZpvxQ&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Downloading https://www.youtube.com/watch?v=lrpfYD4DUGs&lt;/p&gt;&lt;p&gt;&amp;nbsp;MP4 start..&lt;/p&gt;&lt;p&gt;[youtube] lrpfYD4DUGs: Downloading webpage&lt;/p&gt;&lt;p&gt;ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see &amp;nbsp;https://yt-dl.org/update &amp;nbsp;on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.&lt;/p&gt;&lt;p&gt;Unknown issue&lt;/p&gt;&lt;p&gt;Unexpected {err=}, {type(err)=}&lt;/p&gt;&lt;p&gt;2 : https://www.youtube.com/watch?v=lrpfYD4DUGs&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;pi@raspberrypi:~/YoutubeDownLoad $ sudo pip install yt-dlp&lt;/p&gt;&lt;p&gt;sudo: pip: command not found&lt;/p&gt;&lt;p&gt;pi@raspberrypi:~/YoutubeDownLoad $ sudo pip3 install yt-dlp&lt;/p&gt;&lt;p&gt;Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple&lt;/p&gt;&lt;p&gt;Collecting yt-dlp&lt;/p&gt;&lt;p&gt;&amp;nbsp; Downloading https://files.pythonhosted.org/packages/31/5a/d9b0a47a3aacf650b8ffc750bb5d296c24b2cc674f4c2a975895f49d4f0a/yt_dlp-2023.11.16-py2.py3-none-any.whl (3.1MB)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 100% |████████████████████████████████| 3.1MB 87kB/s&amp;nbsp;&lt;/p&gt;&lt;p&gt;Collecting brotli; implementation_name == &quot;cpython&quot; (from yt-dlp)&lt;/p&gt;&lt;p&gt;&amp;nbsp; Downloading https://www.piwheels.org/simple/brotli/Brotli-1.1.0-cp37-cp37m-linux_armv7l.whl (2.1MB)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 100% |████████████████████████████████| 2.1MB 126kB/s&amp;nbsp;&lt;/p&gt;&lt;p&gt;Collecting websockets (from yt-dlp)&lt;/p&gt;&lt;p&gt;&amp;nbsp; Downloading https://www.piwheels.org/simple/websockets/websockets-11.0.3-cp37-cp37m-linux_armv7l.whl (132kB)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 100% |████████████████████████████████| 133kB 173kB/s&amp;nbsp;&lt;/p&gt;&lt;p&gt;Collecting pycryptodomex (from yt-dlp)&lt;/p&gt;&lt;p&gt;&amp;nbsp; Downloading https://www.piwheels.org/simple/pycryptodomex/pycryptodomex-3.20.0-cp35-abi3-linux_armv7l.whl (2.0MB)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 100% |████████████████████████████████| 2.0MB 130kB/s&amp;nbsp;&lt;/p&gt;&lt;p&gt;Requirement already satisfied: certifi in /usr/local/lib/python3.7/dist-packages (from yt-dlp) (2022.12.7)&lt;/p&gt;&lt;p&gt;Collecting mutagen (from yt-dlp)&lt;/p&gt;&lt;p&gt;&amp;nbsp; Downloading https://files.pythonhosted.org/packages/b0/7a/620f945b96be1f6ee357d211d5bf74ab1b7fe72a9f1525aafbfe3aee6875/mutagen-1.47.0-py3-none-any.whl (194kB)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 100% |████████████████████████████████| 194kB 1.0MB/s&amp;nbsp;&lt;/p&gt;&lt;p&gt;Collecting urllib3&amp;lt;3,&amp;gt;=1.26.17 (from yt-dlp)&lt;/p&gt;&lt;p&gt;&amp;nbsp; Downloading https://files.pythonhosted.org/packages/d2/b2/b157855192a68541a91ba7b2bbcb91f1b4faa51f8bae38d8005c034be524/urllib3-2.0.7-py3-none-any.whl (124kB)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 100% |████████████████████████████████| 133kB 1.4MB/s&amp;nbsp;&lt;/p&gt;&lt;p&gt;Collecting requests&amp;lt;3,&amp;gt;=2.31.0 (from yt-dlp)&lt;/p&gt;&lt;p&gt;&amp;nbsp; Using cached https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl&lt;/p&gt;&lt;p&gt;Requirement already satisfied: idna&amp;lt;4,&amp;gt;=2.5 in /usr/local/lib/python3.7/dist-packages (from requests&amp;lt;3,&amp;gt;=2.31.0-&amp;gt;yt-dlp) (3.4)&lt;/p&gt;&lt;p&gt;Requirement already satisfied: charset-normalizer&amp;lt;4,&amp;gt;=2 in /usr/local/lib/python3.7/dist-packages (from requests&amp;lt;3,&amp;gt;=2.31.0-&amp;gt;yt-dlp) (3.1.0)&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;selenium 4.8.2 has requirement urllib3[socks]~=1.26, but you&#39;ll have urllib3 2.0.7 which is incompatible.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;google-api-core 2.11.1 has requirement google-auth&amp;lt;3.0.dev0,&amp;gt;=2.14.1, but you&#39;ll have google-auth 1.23.0 which is incompatible.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Installing collected packages: brotli, websockets, pycryptodomex, mutagen, urllib3, requests, yt-dlp&lt;/p&gt;&lt;p&gt;&amp;nbsp; Found existing installation: urllib3 1.26.14&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; Uninstalling urllib3-1.26.14:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Successfully uninstalled urllib3-1.26.14&lt;/p&gt;&lt;p&gt;&amp;nbsp; Found existing installation: requests 2.28.2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; Uninstalling requests-2.28.2:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Successfully uninstalled requests-2.28.2&lt;/p&gt;&lt;p&gt;Successfully installed brotli-1.1.0 mutagen-1.47.0 pycryptodomex-3.20.0 requests-2.31.0 urllib3-2.0.7 websockets-11.0.3 yt-dlp-2023.11.16&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;```&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/7625054948441776155/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/05/piraspberrypiyoutubedownload.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/7625054948441776155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/7625054948441776155'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/05/piraspberrypiyoutubedownload.html' title='Youtube-dl Error'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-149729994786161423</id><published>2024-05-13T16:10:00.006+09:00</published><updated>2024-05-13T17:16:35.770+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="VS Code"/><title type='text'>[VS CODE]HTMLをリアルタイムでプレビューする方法</title><content type='html'>&lt;p&gt;Web制作の過程でリアルタイムプレビューを使いたい場合、Visual Studio Code（VS Code）の利用をおすすめです。&lt;/p&gt;&lt;p&gt;Visual Studio Code（VS Code）はマイクロソフトが提供している無料のコードエディタです。昔はAdobeのDreamWeaverを利用し、非常に高機能で使いやすかったが、MACのOSアップデートで、一括支払いバージョンからSaaSになって、高額で諦めました。&lt;/p&gt;&lt;p&gt;「コードエディタを使ってリアルタイムプレビューの環境を作る」と聞くと難しそうな印象を受けるかもしれませんが、実際は非常に簡単で3分ほどで完了します。&lt;/p&gt;&lt;p&gt;「VS CodeのUI上でプレビューする方法」があります。まずはVS Codeが必要なので、下記のページからダウンロードしてPCにインストールしましょう。&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOW9ySC5huv5spM7fcXoemG9mpLocUS9Qv3OGPjgPAK2F2UPslJKJ43DS_ZafHOn8gN0QhyRoz-KtbgPafJ_l2BdyFOZ9jMFrCWmlkexw_e2JLNGje3oJlH6p7LHb0eRBBOaVRvLb1wBeGLzU4IgB2Ko-CAW9VnJMCm6h-5pTYuR6pdVhHZi1cbn3ELLZ5/s1424/html-preview1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;754&quot; data-original-width=&quot;1424&quot; height=&quot;211&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOW9ySC5huv5spM7fcXoemG9mpLocUS9Qv3OGPjgPAK2F2UPslJKJ43DS_ZafHOn8gN0QhyRoz-KtbgPafJ_l2BdyFOZ9jMFrCWmlkexw_e2JLNGje3oJlH6p7LHb0eRBBOaVRvLb1wBeGLzU4IgB2Ko-CAW9VnJMCm6h-5pTYuR6pdVhHZi1cbn3ELLZ5/w400-h211/html-preview1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://code.visualstudio.com/download&quot;&gt;https://code.visualstudio.com/download&lt;/a&gt;&lt;/p&gt;&lt;p&gt;VS CodeのUI上でプレビューできる拡張機能もあります。ExtensionsからHTML Previewと検索し、下記が表示されたらインストールしてください。&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiufywKgzr5A1VMLOkqjlAm57XhuOjSoXMyJO7ImMYE7F8x9BbeLNfXg2ivLBLhu5Qx_6LvqtwzEmcZ1cU9zbnA-3VWCu-0tDdtXXcN4W-2KDy9W84fv3U3ce3YTQv7zyExfAuZVoPsVACM2jA-SXL1i8wInYWX-3YsJMlUcaJoB3wVKwCCdBADjMmDtcgz/s864/html-preview5.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;159&quot; data-original-width=&quot;864&quot; height=&quot;74&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiufywKgzr5A1VMLOkqjlAm57XhuOjSoXMyJO7ImMYE7F8x9BbeLNfXg2ivLBLhu5Qx_6LvqtwzEmcZ1cU9zbnA-3VWCu-0tDdtXXcN4W-2KDy9W84fv3U3ce3YTQv7zyExfAuZVoPsVACM2jA-SXL1i8wInYWX-3YsJMlUcaJoB3wVKwCCdBADjMmDtcgz/w400-h74/html-preview5.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;ファイルに戻り、command + Shift + P（Windows：Ctrl + Shift + P）を押すと上に表示される検索窓から、HTML: Open Preview the the Sideを選択します。そうすると、右にプレビュー画面が出てきて、所見既所得....&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDQtDXZR_VBNZJG9ObW3F2nCoBBLaBAzCwUPSnuBb8LgoanGLeVnciofGdOo8qzNlhrZMrOeSJ-jnueJ-MhG2_djIuOJx_7j4smcoP4_xHWYwAxBKAS606NMTlWg4JGuXhts-dhy_RuLk-CN8mS5XPbv4JIgMYFjL2AtAbDliqz6HsissB4kT7zidroe92/s1178/html-preview6.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;875&quot; data-original-width=&quot;1178&quot; height=&quot;297&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDQtDXZR_VBNZJG9ObW3F2nCoBBLaBAzCwUPSnuBb8LgoanGLeVnciofGdOo8qzNlhrZMrOeSJ-jnueJ-MhG2_djIuOJx_7j4smcoP4_xHWYwAxBKAS606NMTlWg4JGuXhts-dhy_RuLk-CN8mS5XPbv4JIgMYFjL2AtAbDliqz6HsissB4kT7zidroe92/w400-h297/html-preview6.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;DreamWeaverのような高機能ではありませんが、基本的なHTML、CSS、Javascriptについて、問題がありません。ただし、Pluginの開発は2018からすでに停滞しているので、いつかに使えなくなるのが心配です。&lt;/p&gt;&lt;p&gt;まだ、問題となりのがリンクです。プレビュー画面からリンクを経由でNext Pageの確認が不可です。全てAzureに誘導され、Azureの共有リンクから探しているようです。設定不備かエンジンのバグだと思います。&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/149729994786161423/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/05/vs-codehtml.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/149729994786161423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/149729994786161423'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/05/vs-codehtml.html' title='[VS CODE]HTMLをリアルタイムでプレビューする方法'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOW9ySC5huv5spM7fcXoemG9mpLocUS9Qv3OGPjgPAK2F2UPslJKJ43DS_ZafHOn8gN0QhyRoz-KtbgPafJ_l2BdyFOZ9jMFrCWmlkexw_e2JLNGje3oJlH6p7LHb0eRBBOaVRvLb1wBeGLzU4IgB2Ko-CAW9VnJMCm6h-5pTYuR6pdVhHZi1cbn3ELLZ5/s72-w400-h211-c/html-preview1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-5672189675592312943</id><published>2024-05-10T19:36:00.003+09:00</published><updated>2024-05-17T20:22:55.669+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="raspberry pi"/><category scheme="http://www.blogger.com/atom/ns#" term="YouTube"/><category scheme="http://www.blogger.com/atom/ns#" term="youtube-dl"/><title type='text'>[youtube-dl]Blocked?</title><content type='html'>&lt;p&gt;&amp;nbsp;Just want to confirm if there is any newer version for YouTube-dl, unfortunately, it was blocked by de court...&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ5AMQezRSCnHHDgsU4gUkvtosnRs98Xl8LDRWOYpni-hxszRwUhTqsmi4gqWWtzZqpxSW-Idu1d5Eo6bYPubp-8ABoCx88gKs4GbRLXPZq7MO9pY52JjiVJ9SCseCrbjVoqehk8i5HlFrVt8Lrem5uAHndoF1tBbWnBFjgDQTO3FEtPqJdY7URv3lwmeg/s1278/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202024-05-10%2019.30.27.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;790&quot; data-original-width=&quot;1278&quot; height=&quot;248&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ5AMQezRSCnHHDgsU4gUkvtosnRs98Xl8LDRWOYpni-hxszRwUhTqsmi4gqWWtzZqpxSW-Idu1d5Eo6bYPubp-8ABoCx88gKs4GbRLXPZq7MO9pY52JjiVJ9SCseCrbjVoqehk8i5HlFrVt8Lrem5uAHndoF1tBbWnBFjgDQTO3FEtPqJdY7URv3lwmeg/w400-h248/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202024-05-10%2019.30.27.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;It was shown that [Access denied] to yt-dl.org due to a ruling of the Hamburg Regional Court.&lt;/p&gt;&lt;p&gt;Access to this website is blocked.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;So, we still have another way.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/ytdl-org/youtube-dl&quot; target=&quot;_blank&quot;&gt;https://github.com/ytdl-org/youtube-dl&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;But it seems that it stopped development since 2021.&lt;/p&gt;&lt;p&gt;ーーーーーーーーーーーーーーーSuper beautiful seperate lineーーーーーーーーーーーー&lt;/p&gt;&lt;p&gt;After asked Google, I found the below repository.&lt;/p&gt;&lt;p&gt;&lt;pre class=&quot;prettyprint&quot;&gt;yt_dlp&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;We can make some change on script to work on &lt;a href=&quot;https://github.com/yt-dlp/yt-dlp&quot; target=&quot;_blank&quot;&gt;yt_dlp&lt;/a&gt; rather than Youtube_DL.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/5672189675592312943/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/05/youtube-dlblocked.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/5672189675592312943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/5672189675592312943'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/05/youtube-dlblocked.html' title='[youtube-dl]Blocked?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ5AMQezRSCnHHDgsU4gUkvtosnRs98Xl8LDRWOYpni-hxszRwUhTqsmi4gqWWtzZqpxSW-Idu1d5Eo6bYPubp-8ABoCx88gKs4GbRLXPZq7MO9pY52JjiVJ9SCseCrbjVoqehk8i5HlFrVt8Lrem5uAHndoF1tBbWnBFjgDQTO3FEtPqJdY7URv3lwmeg/s72-w400-h248-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202024-05-10%2019.30.27.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-7945361963670461230</id><published>2024-05-06T21:20:00.001+09:00</published><updated>2024-05-06T21:21:08.086+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CF-SZ6"/><category scheme="http://www.blogger.com/atom/ns#" term="Panasonic"/><title type='text'>[Panasonic]CF-SZ6 Fixed a SZ6 LCD Screen</title><content type='html'>&lt;p&gt;Fixed a Panasonic CF-SZ6 LCD Screen, but found that although it passed the selftest, but failed on startup beep.&lt;/p&gt;&lt;p&gt;Why?&lt;/p&gt;&lt;p&gt;Changed the module board, but it can not work fine yet.&lt;/p&gt;&lt;p&gt;Maybe motherboard connecter broken.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDZMEtVkGZUxlsn5FrjRKd-Lh8JUEqleKvzYwyvwnT2gIlEaOPdaDmSj8Zv1On4Ot8qPWS1YDvDP1Rtf6nR0Ahy3Mk_FbusZTg6-TN4WG3YzzTkDPtcyjCI8kzrFHWCv4Xx83dyZRR7YfNTNJ0YZ2YMRTnoVvpDBFupRxhqhWM1pyULT4LZqzlR595pqAa/s4032/IMG_4362.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;3024&quot; data-original-width=&quot;4032&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDZMEtVkGZUxlsn5FrjRKd-Lh8JUEqleKvzYwyvwnT2gIlEaOPdaDmSj8Zv1On4Ot8qPWS1YDvDP1Rtf6nR0Ahy3Mk_FbusZTg6-TN4WG3YzzTkDPtcyjCI8kzrFHWCv4Xx83dyZRR7YfNTNJ0YZ2YMRTnoVvpDBFupRxhqhWM1pyULT4LZqzlR595pqAa/w400-h300/IMG_4362.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/7945361963670461230/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/05/panasoniccf-sz6-fixed-sz6-lcd-screen.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/7945361963670461230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/7945361963670461230'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/05/panasoniccf-sz6-fixed-sz6-lcd-screen.html' title='[Panasonic]CF-SZ6 Fixed a SZ6 LCD Screen'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDZMEtVkGZUxlsn5FrjRKd-Lh8JUEqleKvzYwyvwnT2gIlEaOPdaDmSj8Zv1On4Ot8qPWS1YDvDP1Rtf6nR0Ahy3Mk_FbusZTg6-TN4WG3YzzTkDPtcyjCI8kzrFHWCv4Xx83dyZRR7YfNTNJ0YZ2YMRTnoVvpDBFupRxhqhWM1pyULT4LZqzlR595pqAa/s72-w400-h300-c/IMG_4362.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-5131755658970606462</id><published>2024-04-25T23:31:00.008+09:00</published><updated>2024-04-26T09:39:43.482+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>[LINUX]Install CentOS on VMWare can not enable network connection</title><content type='html'>&lt;p&gt;&amp;nbsp;Tested install CentOS7 on an old VMWare with ESXi 5.5.&lt;/p&gt;&lt;p&gt;After change VM resource memory more than 2 GB, installed CentOS7 successfully.&lt;/p&gt;&lt;p&gt;But anyway, I can not get the network work.&lt;/p&gt;&lt;p&gt;I checked any possible reason, including but not limited to VM resource, VM network, Device on CentOS, etc., everything is working fine. But CentOS will have no network.&lt;/p&gt;&lt;p&gt;BTW, configure on CentOS also setup properly like below: (let&#39;s suppose that you have the interface as enp0s3 with the static ip 192.168.1.11/24)&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;nmcli d &amp;nbsp;## to check which interface you are using.&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;nmcli c modify enp0s3 ipv4.address 192.168.1.11/24 &amp;nbsp;## setup ip&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;nmcli c modify enp0s3 ipv4.gateway 192.168.1.1 ## setup default gateway&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;nmcli c modify enp0s3 ipv4.method manual &amp;nbsp;## static ip&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;It will change [BOOTPROTO=dhcp→none]&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;sudo systemctl restart networkmanager&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Does it seem fine?&lt;/p&gt;&lt;p&gt;No, there is a very important thing.&lt;/p&gt;&lt;p&gt;You have to enable the network interface first via below:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;nmcli c m enp0s3 connection.autoconnect yes&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;It will change [ONBOOT=no→yes], or the interface will not work as you expected.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;You may also need below step to confirm the network to see if it can working fine.&lt;/p&gt;&lt;p&gt;Show network configuration.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;nmcli d show &lt;i&gt;enp0s3&lt;/i&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Edit host file to obtain your host name with your ip.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;192.168.1.1 &lt;i&gt;your_router_name&lt;/i&gt; #router&lt;/p&gt;&lt;p&gt;192.168.1.11 &lt;i&gt;your_hostname&lt;/i&gt;　#&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Confirm [/etc/resov.conf], it should show something as below:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;nameserver 192.168.1.1&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Then ping local and remote URL to see if the DNS can resolve the domain name and get ICMP traffic from them.&amp;nbsp;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/5131755658970606462/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/04/linuxinstall-centos7-on-vmware-can-not.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/5131755658970606462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/5131755658970606462'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/04/linuxinstall-centos7-on-vmware-can-not.html' title='[LINUX]Install CentOS on VMWare can not enable network connection'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-6405323697032457608</id><published>2024-04-25T22:21:00.006+09:00</published><updated>2024-04-26T08:57:30.898+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><title type='text'>[MacOS]Add auto log function to terminal.app </title><content type='html'>&lt;p&gt;Boring with Mac terminal color of white and black?&lt;/p&gt;&lt;p&gt;Ok, you can change the theme.&lt;/p&gt;&lt;p&gt;I like the homebrew theme, but it has too bright color for text.&lt;/p&gt;&lt;p&gt;OK, that is not my point.&lt;/p&gt;&lt;p&gt;For some reason, I need to add a function for terminal.app on Mac to record the command and screen output as what I can see.&lt;/p&gt;&lt;p&gt;You can go to the menu, [Terminal] -&amp;gt; [Configuration] -&amp;gt; Click the theme you are using [Shell]. Then you will see a startup shell command input.&lt;/p&gt;&lt;blockquote&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;now=`date +%Y%m%d%H%M%S`;logpath=~/scriptlogs/script_${now}.txt;script ${logpath}&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Just copy and paste above. It will add auto execute script when terminal.app start up and execute it with script command of unix.&lt;/p&gt;&lt;p&gt;You also can change the following path to where you want to keep your log. &quot;&lt;i&gt;~/scriptlogs/&lt;/i&gt;&quot; &amp;nbsp;&lt;/p&gt;&lt;p&gt;Then check the execute in shell. You need shutdown terminal.app and start it again.&lt;/p&gt;&lt;p&gt;Now you have an auto log for Mac terminal.app.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;But most people will ignore one thing...&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;If you try to execute the command [cat &lt;i&gt;the log&lt;/i&gt;] in the terminal.app, you will get into a loop...and a fast increased size log file till your system crash.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;Because the screen out put will be written to log imediately and it was also shown as standard output then it will be recorded to log again and again.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/6405323697032457608/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/04/macosadd-log-auto-function-to.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/6405323697032457608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/6405323697032457608'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/04/macosadd-log-auto-function-to.html' title='[MacOS]Add auto log function to terminal.app '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-4739271117259465500</id><published>2024-04-24T19:00:00.005+09:00</published><updated>2024-04-24T19:00:30.388+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><title type='text'>[CentOS]When trying to install CentOS stream on VMware, it got [kernal error] error</title><content type='html'>&lt;p&gt;Just want to try new CentOS stream, so reopen the VMware machine.&lt;/p&gt;&lt;p&gt;It is running on a very old ESXi 5.5 via a vSphere center 5.5 from about 10 years ago.&lt;/p&gt;&lt;p&gt;After mounted the OS, it showed below [Kernal panic] error.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDyFSarRvvyMUat_4hvFeuGbuSrf2oFL5yewYwGzS5f09pihHAe5FEQqXbU6dPAV2RJYPt0lpXx6D_dmg5b0854RE7ok_h7mSs-hLf2aACQlguX8eGQ1FLnj226VP340WpX174u-hbsKLbYmgQE9f3PHxIlK4-LHPcmjiHxVgXFLTOhF10ORBNAAxApX71/s736/20200214194041.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;472&quot; data-original-width=&quot;736&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDyFSarRvvyMUat_4hvFeuGbuSrf2oFL5yewYwGzS5f09pihHAe5FEQqXbU6dPAV2RJYPt0lpXx6D_dmg5b0854RE7ok_h7mSs-hLf2aACQlguX8eGQ1FLnj226VP340WpX174u-hbsKLbYmgQE9f3PHxIlK4-LHPcmjiHxVgXFLTOhF10ORBNAAxApX71/w400-h256/20200214194041.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;Considered it is a very old system, then I tested CentOS7. Same error occurred.&lt;/p&gt;&lt;p&gt;So it should be a something else.&lt;/p&gt;&lt;p&gt;Noticed that I created the VM machine based on ESXi default configuration. It was set the memory as 384MB as a template for CentOS 4/5/6 or any Linux version. That is it.&lt;/p&gt;&lt;p&gt;CentOS 7 run in a necessary requirement at least 1GB memory. Sorry, no any official document link, just got advices from many sites...&lt;/p&gt;&lt;p&gt;In fact, I set it as 512MB, it is also running.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/4739271117259465500/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/04/centoswhen-trying-to-install-centos.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/4739271117259465500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/4739271117259465500'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/04/centoswhen-trying-to-install-centos.html' title='[CentOS]When trying to install CentOS stream on VMware, it got [kernal error] error'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDyFSarRvvyMUat_4hvFeuGbuSrf2oFL5yewYwGzS5f09pihHAe5FEQqXbU6dPAV2RJYPt0lpXx6D_dmg5b0854RE7ok_h7mSs-hLf2aACQlguX8eGQ1FLnj226VP340WpX174u-hbsKLbYmgQE9f3PHxIlK4-LHPcmjiHxVgXFLTOhF10ORBNAAxApX71/s72-w400-h256-c/20200214194041.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-8020209568737979119</id><published>2024-04-18T21:59:00.004+09:00</published><updated>2024-04-18T21:59:30.502+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LinkedIn"/><category scheme="http://www.blogger.com/atom/ns#" term="OpenToWork"/><title type='text'>[LinkedIn]How to enable #OpenToWork Tag in LinkedIn</title><content type='html'>&lt;p&gt;This is nothing related to technic, just for the feature of LinkedIn.&lt;/p&gt;&lt;p&gt;It is really hard to find it....&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;To enable the #OpenToWork feature:&lt;/b&gt;&lt;/p&gt;&lt;blockquote style=&quot;border: medium; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;&lt;p&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Click the Me icon at the top of your LinkedIn homepage.&lt;/li&gt;&lt;li&gt;Click View profile.&lt;/li&gt;&lt;li&gt;Click the Open to button.&lt;/li&gt;&lt;li&gt;Click Finding a new job.&lt;/li&gt;&lt;li&gt;Provide the requested information in the pop-up window that appears. ...&lt;/li&gt;&lt;li&gt;Click Add to profile.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;/p&gt;&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/8020209568737979119/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/04/linkedinhow-to-enable-opentowork-tag-in.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/8020209568737979119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/8020209568737979119'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/04/linkedinhow-to-enable-opentowork-tag-in.html' title='[LinkedIn]How to enable #OpenToWork Tag in LinkedIn'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-2142131404367854651</id><published>2024-04-16T17:33:00.000+09:00</published><updated>2024-04-16T17:33:00.764+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="RTX1210"/><category scheme="http://www.blogger.com/atom/ns#" term="RTX1220"/><category scheme="http://www.blogger.com/atom/ns#" term="YAMAHA"/><title type='text'>[YAMAHA Router]The difference between YAMAHA Router RTX1210 and RTX1220</title><content type='html'>Have a request to compare YAMAHA Router RTX1210 and RTX1220.&lt;div&gt;For some meaning, it is a best replacement of CISCO Router which always need high price maintenance contract.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;According to YAMAHA site, only below changed.&lt;/div&gt;&lt;div&gt;Not so much improvement.&lt;/div&gt;&lt;div&gt;But in auction with price, they have about 40,000 difference...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So if I should refresh the hardware, it is a problem...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; style=&quot;background-color: white; color: black; font-variant-caps: normal;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th colspan=&quot;2&quot;&gt;項目&lt;/th&gt;&lt;th width=&quot;25%&quot;&gt;RTX1220&lt;/th&gt;&lt;th width=&quot;25%&quot;&gt;RTX1210&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;希望小売価格（税抜）&lt;/td&gt;&lt;td&gt;118,000円&lt;/td&gt;&lt;td&gt;125,000円&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;認証番号&lt;/td&gt;&lt;td&gt;D20-0252001/M20-0021&lt;/td&gt;&lt;td&gt;CD14-0216001/M14-0011&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;JANコード&lt;/td&gt;&lt;td&gt;49 57812 67103 3&lt;/td&gt;&lt;td&gt;49 57812 57644 4&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;ISDN S/Tポート&lt;/td&gt;&lt;td&gt;非搭載&lt;/td&gt;&lt;td&gt;1ポート（終端抵抗ON/OFF可能）&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan=&quot;2&quot;&gt;対応回線およびサービス網&lt;/td&gt;&lt;td width=&quot;30%&quot;&gt;ISDN（BRI）&lt;/td&gt;&lt;td&gt;非対応&lt;/td&gt;&lt;td&gt;対応&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;高速デジタル専用線（64kbit/s, 128kbit/s）&lt;/td&gt;&lt;td&gt;非対応&lt;/td&gt;&lt;td&gt;対応&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan=&quot;2&quot;&gt;WANプロトコル&lt;/td&gt;&lt;td&gt;PPP&lt;/td&gt;&lt;td&gt;非対応&lt;/td&gt;&lt;td&gt;対応&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;MP&lt;/td&gt;&lt;td&gt;非対応&lt;/td&gt;&lt;td&gt;対応&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan=&quot;2&quot;&gt;QoS機能（制御方式）&lt;/td&gt;&lt;td&gt;CBQ&lt;/td&gt;&lt;td&gt;非対応&lt;/td&gt;&lt;td&gt;対応&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;WFQ&lt;/td&gt;&lt;td&gt;非対応&lt;/td&gt;&lt;td&gt;対応&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;認証機能&lt;/td&gt;&lt;td&gt;ISDN識別着信&lt;/td&gt;&lt;td&gt;非対応&lt;/td&gt;&lt;td&gt;対応&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;バックアップ機能&lt;/td&gt;&lt;td&gt;ISDNへのバックアップ&lt;/td&gt;&lt;td&gt;非対応&lt;/td&gt;&lt;td&gt;対応&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;設定手段&lt;/td&gt;&lt;td&gt;ISDN回線経由のリモートセットアップ&lt;/td&gt;&lt;td&gt;非対応&lt;/td&gt;&lt;td&gt;対応&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan=&quot;3&quot;&gt;その他機能&lt;/td&gt;&lt;td&gt;BOD（MP, BACP）&lt;/td&gt;&lt;td&gt;非対応&lt;/td&gt;&lt;td&gt;対応&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;リモートアクセスサーバー&lt;/td&gt;&lt;td&gt;非対応&lt;/td&gt;&lt;td&gt;対応&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;コールバック(無課金独自方式, Windows標準方式)&lt;/td&gt;&lt;td&gt;非対応&lt;/td&gt;&lt;td&gt;対応&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;状態表示ランプ&lt;/td&gt;&lt;td&gt;ISDN［L1/B1, B2］&lt;/td&gt;&lt;td&gt;非搭載&lt;/td&gt;&lt;td&gt;搭載&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan=&quot;2&quot;&gt;付属品&lt;/td&gt;&lt;td&gt;CD-ROM（1枚:［PDF］取扱説明書, コマンドリファレンス, 設定例集, ［ソフトウェア］RT-FileGuard, MD5SUM）&lt;/td&gt;&lt;td&gt;なし&lt;/td&gt;&lt;td&gt;あり&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;最大1年間無償のYNOライセンス&lt;/td&gt;&lt;td&gt;あり&lt;/td&gt;&lt;td&gt;なし&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;ファームウェア&lt;/td&gt;&lt;td&gt;Rev.15.04系&lt;/td&gt;&lt;td&gt;Rev.14.01系&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/2142131404367854651/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/04/yamaha-routerthe-difference-between.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/2142131404367854651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/2142131404367854651'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/04/yamaha-routerthe-difference-between.html' title='[YAMAHA Router]The difference between YAMAHA Router RTX1210 and RTX1220'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-8935158066824347116</id><published>2024-04-15T01:15:00.008+09:00</published><updated>2024-04-15T01:15:59.792+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>[Python]Use Python to send form data to page</title><content type='html'>&lt;p&gt;&amp;nbsp;Consider to request a form URL to get the site accept the data.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style=&quot;color: #2e95d3; font-family: Söhne Mono, Monaco, Andale Mono, Ubuntu Mono, monospace;&quot;&gt;&lt;span style=&quot;caret-color: rgb(46, 149, 211); font-size: 14px; white-space: pre;&quot;&gt;import requests

# Define the form data
form_data = {
    &#39;name&#39;: &#39;G X&#39;,
    &#39;email&#39;: &#39;gx@gx.com&#39;
}

# Send a POST request with the form data
response = requests.post(&#39;http://gx.com/submit&#39;, data=form_data)

# Check if the request was successful (status code 200)
if response.status_code == 200:
    print(&#39;Form submitted successfully&#39;)
else:
    print(&#39;Failed to submit the form&#39;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;But actually, it won&#39;t work for the site I had expected.&lt;/p&gt;&lt;p&gt;Because the site will use a one-time serial session id to identify the request. need to update.&lt;/p&gt;&lt;p&gt;Yes, you are right. this is a tips for company timecard registration automation.&amp;nbsp;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/8935158066824347116/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/04/pythonuse-python-to-send-form-data-to.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/8935158066824347116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/8935158066824347116'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/04/pythonuse-python-to-send-form-data-to.html' title='[Python]Use Python to send form data to page'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-8390735278195268604</id><published>2024-04-13T20:38:00.005+09:00</published><updated>2024-04-13T20:38:39.017+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Cloud"/><title type='text'>Cloud Service Comparison Cheat Sheet</title><content type='html'>&lt;p&gt;&amp;nbsp;Just got one sheet for comparison 4 cloud services difference.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOknJpokmH5gRCjooNc0xmCWFHnzkmnPB-3h63It7LRvnMiOKJAcgJAGTaMjwwKvLriuxPn3CmOLyYsDo-EuVbDJZhYum0lChOsRk24n1CDVc8UGoiHNGvBxhCsb3nscN5dyYACe69RzAY8iAgDdPukAaxAfSapyT5bn3R8xkXwIISUSLGgDjUFEZfeSDI/s1977/Cloud%20comparision%20cheat%20sheet.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1977&quot; data-original-width=&quot;1280&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOknJpokmH5gRCjooNc0xmCWFHnzkmnPB-3h63It7LRvnMiOKJAcgJAGTaMjwwKvLriuxPn3CmOLyYsDo-EuVbDJZhYum0lChOsRk24n1CDVc8UGoiHNGvBxhCsb3nscN5dyYACe69RzAY8iAgDdPukAaxAfSapyT5bn3R8xkXwIISUSLGgDjUFEZfeSDI/w414-h640/Cloud%20comparision%20cheat%20sheet.jpeg&quot; width=&quot;414&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;Hope can help someone, including me.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/8390735278195268604/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/04/cloud-service-comparison-cheat-sheet.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/8390735278195268604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/8390735278195268604'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/04/cloud-service-comparison-cheat-sheet.html' title='Cloud Service Comparison Cheat Sheet'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOknJpokmH5gRCjooNc0xmCWFHnzkmnPB-3h63It7LRvnMiOKJAcgJAGTaMjwwKvLriuxPn3CmOLyYsDo-EuVbDJZhYum0lChOsRk24n1CDVc8UGoiHNGvBxhCsb3nscN5dyYACe69RzAY8iAgDdPukAaxAfSapyT5bn3R8xkXwIISUSLGgDjUFEZfeSDI/s72-w414-h640-c/Cloud%20comparision%20cheat%20sheet.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-1519995096831311981</id><published>2024-04-12T21:03:00.002+09:00</published><updated>2024-04-12T21:07:35.563+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="Letsencrypt"/><title type='text'>[Letsencrypt]Import Letsencrypt on AWS EC2 Instance</title><content type='html'>&lt;p&gt;I have a site need to be implemented on AWS EC2 with SSL for my daughter.&lt;/p&gt;&lt;p&gt;We already have some sites with test running on it.&lt;/p&gt;&lt;p&gt;So we set up VirtualHost for it.&lt;/p&gt;&lt;p&gt;After it can work on AWS EC2, I imported Certbot for it.&lt;/p&gt;&lt;p&gt;It is a installed package with AWS Linux already and this is a subdomain for gxlcs.com, like temp.gxlcs.com.&lt;/p&gt;&lt;p&gt;We only have few steps need to do.&lt;/p&gt;&lt;p&gt;1.&amp;nbsp;&lt;span style=&quot;font-family: Menlo; font-size: 14px;&quot;&gt;sudo yum install certbot&lt;/span&gt;&lt;/p&gt;&lt;p&gt;2.&amp;nbsp;&lt;span style=&quot;font-family: Menlo; font-size: 14px;&quot;&gt;sudo systemctl start certbot-renew.timer&lt;/span&gt;&lt;/p&gt;&lt;p&gt;3.&amp;nbsp;&lt;span style=&quot;font-family: Menlo; font-size: 14px;&quot;&gt;sudo certbot certonly&lt;/span&gt;&lt;/p&gt;&lt;p&gt;4.&amp;nbsp;&lt;/p&gt;&lt;blockquote&gt;&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;How would you like to authenticate with the ACME CA?&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;1: Runs an HTTP server locally which serves the necessary validation files under&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;the /.well-known/acme-challenge/ request path. Suitable if there is no HTTP&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;server already running. HTTP challenge only (wildcards not supported).&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;(standalone)&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;2: Saves the necessary validation files to a .well-known/acme-challenge/&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;directory within the nominated webroot path. A seperate HTTP server must be&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;running and serving files from the webroot path. HTTP challenge only (wildcards&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;not supported). (webroot)&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Select the appropriate number [1-2] then [enter] (press &#39;c&#39; to cancel): &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;2&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Enter email address (used for urgent renewal and security notices)&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&amp;nbsp;(Enter &#39;c&#39; to cancel): webmaster@gxlcs.com&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 16px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Please read the Terms of Service at&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;https://letsencrypt.org/documents/LE-SA-v1.4-April-3-2024.pdf. You must agree in&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;order to register with the ACME server. Do you agree?&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;(Y)es/(N)o: &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Y&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 16px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Would you be willing, once your first certificate is successfully issued, to&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;share your email address with the Electronic Frontier Foundation, a founding&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;partner of the Let&#39;s Encrypt project and the non-profit organization that&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;develops Certbot? We&#39;d like to send you email about our work encrypting the web,&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;EFF news, campaigns, and ways to support digital freedom.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;(Y)es/(N)o: &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;N&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Account registered.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Please enter the domain name(s) you would like on your certificate (comma and/or&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;space separated) (Enter &#39;c&#39; to cancel): temp.gxlcs.com&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Requesting a certificate for temp.gxlcs.com&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Input the webroot for temp.gxlcs.com: (Enter &#39;c&#39; to cancel):&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 16px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&amp;nbsp;does not exist or is not a directory&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Input the webroot for temp.gxlcs.com: (Enter &#39;c&#39; to cancel): &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;/var/www/html/temp&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 16px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Successfully received certificate.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;Certificate is saved at: /etc/letsencrypt/live/temp.gxlcs.com/fullchain.pem&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;Key is saved at: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /etc/letsencrypt/live/temp.gxlcs.com/privkey.pem&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;This certificate expires on 2024-07-11.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;These files will be updated when the certificate renews.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Certbot has set up a scheduled task to automatically renew this certificate in the background.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 16px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;If you like Certbot, please consider supporting our work by:&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&amp;nbsp;* Donating to ISRG / Let&#39;s Encrypt: &amp;nbsp; https://letsencrypt.org/donate&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&amp;nbsp;* Donating to EFF:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; https://eff.org/donate-le&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Menlo; font-size: 14px;&quot;&gt;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;5.&amp;nbsp;&lt;span style=&quot;font-family: Menlo; font-size: 14px;&quot;&gt;sudo systemctl is-enabled httpd&lt;/span&gt;&lt;/p&gt;&lt;p&gt;if the response is [disabled], need to run #6.&lt;/p&gt;&lt;p&gt;6. &amp;nbsp;&lt;span style=&quot;font-family: Menlo; font-size: 14px;&quot;&gt;sudo systemctl start httpd &amp;amp;&amp;amp; sudo systemctl enable httpd&lt;/span&gt;&lt;/p&gt;&lt;p&gt;7. &amp;nbsp;&lt;span style=&quot;font-family: Menlo; font-size: 14px;&quot;&gt;sudo yum update -y&lt;/span&gt;&lt;/p&gt;&lt;p&gt;8. &amp;nbsp;&lt;span style=&quot;font-family: Menlo; font-size: 14px;&quot;&gt;sudo yum install -y mod_ssl&lt;/span&gt;&lt;/p&gt;&lt;p&gt;9. After #8, it will create a conf file with name ssl.conf in /etc/httpd/conf.d/&lt;/p&gt;&lt;p&gt;10.&amp;nbsp;&lt;span style=&quot;font-family: Menlo; font-size: 14px;&quot;&gt;sudo nano /etc/httpd/conf.d/ssl.conf&lt;/span&gt;&lt;/p&gt;&lt;p&gt;11. specify the [SSLCertificateFile] and [SSLCertificateKeyFile] with the path where you keep the key and certificate.&lt;/p&gt;&lt;p&gt;12.&amp;nbsp;&lt;span style=&quot;font-family: Menlo; font-size: 14px;&quot;&gt;sudo systemctl restart httpd.service&lt;/span&gt;&lt;/p&gt;&lt;p&gt;13. Because we have VirtualHost, you also may need to change VirtualHost setup with where you put the DocumentRoot and Server Name.&lt;/p&gt;&lt;p&gt;14. As we have permitted the 443 port traffic in AWS Console, I mean inbound rule under security group, so the traffic is not problem.&lt;/p&gt;&lt;p&gt;15. I use CLOUDFLARE to provide security for site (Free version), so we also need to add a CNAME DNS record for this site. You can enter the AWS EC2 Instance tag, then confirm public DNS name which will be used in CLOUDFLARE CNAME DNS record CONTENT.&amp;nbsp;&lt;/p&gt;&lt;p&gt;OK, Now your site will go ahead in the net with SSL.&lt;/p&gt;&lt;p&gt;I will add the screenshot when I have time, sorry for any inconvenience.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Additional: I also have a security test for the site.&lt;/p&gt;&lt;p&gt;you can refer to below URL:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.ssllabs.com/ssltest/analyze.html&quot; target=&quot;_blank&quot;&gt;Qualys&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/1519995096831311981/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/04/letsencryptimport-letsencrypt-on-aws.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/1519995096831311981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/1519995096831311981'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/04/letsencryptimport-letsencrypt-on-aws.html' title='[Letsencrypt]Import Letsencrypt on AWS EC2 Instance'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-371832130649115763</id><published>2024-04-11T10:37:00.009+09:00</published><updated>2024-04-11T10:38:22.855+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>[Python]JPG to PNG Python Program</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kn&quot; style=&quot;box-sizing: inherit; color: #ff8095; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;from&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;PIL&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kn&quot; style=&quot;box-sizing: inherit; color: #ff8095; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;import&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;Image&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kn&quot; style=&quot;box-sizing: inherit; color: #ff8095; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;import&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;os&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;k&quot; style=&quot;box-sizing: inherit; color: #ebd247; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;def&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot; style=&quot;box-sizing: inherit; color: #8bdf4c; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;convert_jpg_to_png&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;input_folder&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;output_folder&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;):&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;c1&quot; style=&quot;box-sizing: inherit; color: #979797; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;# 1. Get list up the input folder files
&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;jpg_files&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;box-sizing: inherit; color: #ff8095; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;f&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot; style=&quot;box-sizing: inherit; color: #ebd247; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;f&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ow&quot; style=&quot;box-sizing: inherit; color: #ff8095; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;in&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;os&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot; style=&quot;box-sizing: inherit; color: #8bdf4c; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;listdir&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;input_folder&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot; style=&quot;box-sizing: inherit; color: #ebd247; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;f&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot; style=&quot;box-sizing: inherit; color: #8bdf4c; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;endswith&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;s&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;.jpg&lt;/span&gt;&lt;span class=&quot;sh&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;)]&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;

    &lt;/span&gt;&lt;span class=&quot;c1&quot; style=&quot;box-sizing: inherit; color: #979797; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;# 2. Create the output folder if it did not exist
&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;os&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot; style=&quot;box-sizing: inherit; color: #8bdf4c; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;makedirs&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;output_folder&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;exist_ok&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;box-sizing: inherit; color: #ff8095; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;bp&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;True&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;

    &lt;/span&gt;&lt;span class=&quot;c1&quot; style=&quot;box-sizing: inherit; color: #979797; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;# 3. Change the JPG to PNG files
&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot; style=&quot;box-sizing: inherit; color: #ebd247; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;jpg_file&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ow&quot; style=&quot;box-sizing: inherit; color: #ff8095; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;in&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;jpg_files&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;jpg_path&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;box-sizing: inherit; color: #ff8095; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;os&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;path&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot; style=&quot;box-sizing: inherit; color: #8bdf4c; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;input_folder&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;jpg_file&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;c1&quot; style=&quot;box-sizing: inherit; color: #979797; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;# Create the PNG file output path
&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;png_path&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;box-sizing: inherit; color: #ff8095; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;os&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;path&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot; style=&quot;box-sizing: inherit; color: #8bdf4c; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;output_folder&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;os&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;path&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot; style=&quot;box-sizing: inherit; color: #8bdf4c; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;splitext&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;jpg_file&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;)[&lt;/span&gt;&lt;span class=&quot;mi&quot; style=&quot;box-sizing: inherit; color: #a980f5; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;box-sizing: inherit; color: #ff8095; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sh&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;s&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;.png&lt;/span&gt;&lt;span class=&quot;sh&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;

        &lt;/span&gt;&lt;span class=&quot;c1&quot; style=&quot;box-sizing: inherit; color: #979797; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;# Change the image
&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;img&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;box-sizing: inherit; color: #ff8095; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;Image&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot; style=&quot;box-sizing: inherit; color: #8bdf4c; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;jpg_path&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;img&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot; style=&quot;box-sizing: inherit; color: #8bdf4c; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;save&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;png_path&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sh&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;s&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;PNG&lt;/span&gt;&lt;span class=&quot;sh&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;k&quot; style=&quot;box-sizing: inherit; color: #ebd247; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;__name__&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;box-sizing: inherit; color: #ff8095; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;==&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sh&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;__main__&lt;/span&gt;&lt;span class=&quot;sh&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;input_folder&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;box-sizing: inherit; color: #ff8095; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sh&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&lt;i&gt;&lt;b&gt;path&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&quot;sh&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot; style=&quot;box-sizing: inherit; color: #979797; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;# Define the input path of JPG
&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;output_folder&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;box-sizing: inherit; color: #ff8095; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sh&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&lt;i&gt;&lt;b&gt;path&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&quot;sh&quot; style=&quot;box-sizing: inherit; color: #3bbfbf; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot; style=&quot;box-sizing: inherit; color: #979797; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;# Define the output path of PNG
&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;nf&quot; style=&quot;box-sizing: inherit; color: #8bdf4c; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;convert_jpg_to_png&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;input_folder&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;caret-color: rgb(255, 255, 255); color: white; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;output_folder&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;box-sizing: inherit; color: #e3e3e3; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;p&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.94px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;Need to get them work on my site...&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/371832130649115763/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2024/04/jpg-to-png-python-program.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/371832130649115763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/371832130649115763'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2024/04/jpg-to-png-python-program.html' title='[Python]JPG to PNG Python Program'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-3131021151042708175</id><published>2023-10-18T01:33:00.003+09:00</published><updated>2023-10-18T01:33:26.623+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="EV3"/><title type='text'>[LEGO EV3]Battery Checker</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span color=&quot;rgba(0, 0, 0, 0.9)&quot; face=&quot;Meiryo, &amp;quot;Yu Gothic&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;Hiragino Sans&amp;quot;, -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Fira Sans&amp;quot;, Ubuntu, Oxygen, &amp;quot;Oxygen Sans&amp;quot;, Cantarell, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Helvetica, Arial, sans-serif&quot; style=&quot;background-color: white; caret-color: rgba(0, 0, 0, 0.9); font-size: 14px;&quot;&gt;Created this for our little robot team.&lt;/span&gt;&lt;/p&gt;&lt;br style=&quot;box-sizing: inherit; caret-color: rgba(0, 0, 0, 0.9); color: rgba(0, 0, 0, 0.9); font-family: Meiryo, &amp;quot;Yu Gothic&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;Hiragino Sans&amp;quot;, -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Fira Sans&amp;quot;, Ubuntu, Oxygen, &amp;quot;Oxygen Sans&amp;quot;, Cantarell, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: inherit;&quot; /&gt;&lt;span color=&quot;rgba(0, 0, 0, 0.9)&quot; face=&quot;Meiryo, &amp;quot;Yu Gothic&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;Hiragino Sans&amp;quot;, -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Fira Sans&amp;quot;, Ubuntu, Oxygen, &amp;quot;Oxygen Sans&amp;quot;, Cantarell, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Helvetica, Arial, sans-serif&quot; style=&quot;background-color: white; caret-color: rgba(0, 0, 0, 0.9); font-size: 14px;&quot;&gt;It is simple but it can help you to detect your LegoEV3 battery status quickly after you created a base line for it in competitions.&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; caret-color: rgba(0, 0, 0, 0.9); color: rgba(0, 0, 0, 0.9); font-family: Meiryo, &amp;quot;Yu Gothic&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;Hiragino Sans&amp;quot;, -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Fira Sans&amp;quot;, Ubuntu, Oxygen, &amp;quot;Oxygen Sans&amp;quot;, Cantarell, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: inherit;&quot; /&gt;&lt;span color=&quot;rgba(0, 0, 0, 0.9)&quot; face=&quot;Meiryo, &amp;quot;Yu Gothic&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;Hiragino Sans&amp;quot;, -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Fira Sans&amp;quot;, Ubuntu, Oxygen, &amp;quot;Oxygen Sans&amp;quot;, Cantarell, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Helvetica, Arial, sans-serif&quot; style=&quot;background-color: white; caret-color: rgba(0, 0, 0, 0.9); font-size: 14px;&quot;&gt;Yes, I am their coach.&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; caret-color: rgba(0, 0, 0, 0.9); color: rgba(0, 0, 0, 0.9); font-family: Meiryo, &amp;quot;Yu Gothic&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;Hiragino Sans&amp;quot;, -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Fira Sans&amp;quot;, Ubuntu, Oxygen, &amp;quot;Oxygen Sans&amp;quot;, Cantarell, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: inherit;&quot; /&gt;&lt;br style=&quot;box-sizing: inherit; caret-color: rgba(0, 0, 0, 0.9); color: rgba(0, 0, 0, 0.9); font-family: Meiryo, &amp;quot;Yu Gothic&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;Hiragino Sans&amp;quot;, -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Fira Sans&amp;quot;, Ubuntu, Oxygen, &amp;quot;Oxygen Sans&amp;quot;, Cantarell, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: inherit;&quot; /&gt;&lt;span color=&quot;rgba(0, 0, 0, 0.9)&quot; face=&quot;Meiryo, &amp;quot;Yu Gothic&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;Hiragino Sans&amp;quot;, -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Fira Sans&amp;quot;, Ubuntu, Oxygen, &amp;quot;Oxygen Sans&amp;quot;, Cantarell, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Helvetica, Arial, sans-serif&quot; style=&quot;background-color: white; caret-color: rgba(0, 0, 0, 0.9); font-size: 14px;&quot;&gt;“Although we did not get enough score to enroll the WRO in Panama this year, I think our team will win in next year. “ teammate said.&lt;/span&gt;&lt;div&gt;&lt;span color=&quot;rgba(0, 0, 0, 0.9)&quot; face=&quot;Meiryo, &amp;quot;Yu Gothic&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;Hiragino Sans&amp;quot;, -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Fira Sans&amp;quot;, Ubuntu, Oxygen, &amp;quot;Oxygen Sans&amp;quot;, Cantarell, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Helvetica, Arial, sans-serif&quot; style=&quot;background-color: white; caret-color: rgba(0, 0, 0, 0.9); font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;266&quot; src=&quot;https://www.youtube.com/embed/saymFSwpmgM&quot; width=&quot;320&quot; youtube-src-id=&quot;saymFSwpmgM&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&lt;span color=&quot;rgba(0, 0, 0, 0.9)&quot; face=&quot;Meiryo, &amp;quot;Yu Gothic&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;Hiragino Sans&amp;quot;, -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Fira Sans&amp;quot;, Ubuntu, Oxygen, &amp;quot;Oxygen Sans&amp;quot;, Cantarell, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Helvetica, Arial, sans-serif&quot; style=&quot;background-color: white; caret-color: rgba(0, 0, 0, 0.9); font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span color=&quot;rgba(0, 0, 0, 0.9)&quot; face=&quot;Meiryo, &amp;quot;Yu Gothic&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;Hiragino Sans&amp;quot;, -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Fira Sans&amp;quot;, Ubuntu, Oxygen, &amp;quot;Oxygen Sans&amp;quot;, Cantarell, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Helvetica, Arial, sans-serif&quot; style=&quot;background-color: white; caret-color: rgba(0, 0, 0, 0.9); font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/3131021151042708175/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2023/10/lego-ev3battery-checker.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/3131021151042708175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/3131021151042708175'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2023/10/lego-ev3battery-checker.html' title='[LEGO EV3]Battery Checker'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/saymFSwpmgM/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-6259551918712766189</id><published>2023-08-25T10:38:00.003+09:00</published><updated>2023-08-25T10:39:31.099+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows95"/><title type='text'>[Windows]License for windows95_WIndow95のライセンス解析</title><content type='html'>&lt;p style=&quot;caret-color: rgb(51, 51, 51); color: #333333; font-family: -apple-system, sans-serif, HiraKakuProN-W3, Meiryo, メイリオ, ArialMT, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, Osaka, Verdana, &amp;quot;ＭＳ Ｐゴシック&amp;quot;; font-size: 1rem; line-height: inherit; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;It is real that someone is still checking with old OS license key.&lt;/p&gt;&lt;p style=&quot;caret-color: rgb(51, 51, 51); color: #333333; font-family: -apple-system, sans-serif, HiraKakuProN-W3, Meiryo, メイリオ, ArialMT, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, Osaka, Verdana, &amp;quot;ＭＳ Ｐゴシック&amp;quot;; font-size: 1rem; line-height: inherit; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;They are the heroes of internet.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWC9tlK4x306H9YdJJAH6zuZgqadm_KzHHJeWPQYVxtGv3o4NqbtA1c1NlRYaYC54MeN8Z7V-aB9HuvVHRLof4DNoruI6Ho-sqeS2N70DTFnI52aW0mpOEHTIQcAKh9-ufGus56qnRMGwWFtuniuRfgkJh19ZcRt7yBjBRCC1rCOHYsb8ruJA1t6o_r6Ed/s2560/Windows_95_stacked_logo.svg.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1647&quot; data-original-width=&quot;2560&quot; height=&quot;258&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWC9tlK4x306H9YdJJAH6zuZgqadm_KzHHJeWPQYVxtGv3o4NqbtA1c1NlRYaYC54MeN8Z7V-aB9HuvVHRLof4DNoruI6Ho-sqeS2N70DTFnI52aW0mpOEHTIQcAKh9-ufGus56qnRMGwWFtuniuRfgkJh19ZcRt7yBjBRCC1rCOHYsb8ruJA1t6o_r6Ed/w400-h258/Windows_95_stacked_logo.svg.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;span face=&quot;-apple-system, sans-serif, HiraKakuProN-W3, Meiryo, メイリオ, ArialMT, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, Osaka, Verdana, &amp;quot;ＭＳ Ｐゴシック&amp;quot;&quot; style=&quot;caret-color: rgb(51, 51, 51); color: #333333; font-size: 16px;&quot;&gt;　「Windows 11」ではデジタルライセンス認証も可能になったが、Windowsを使い始めるには、正規品であることを証明するために数桁のユニークな英数字「プロダクトキー」の入力が求められる。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;caret-color: rgb(51, 51, 51); color: #333333; font-family: -apple-system, sans-serif, HiraKakuProN-W3, Meiryo, メイリオ, ArialMT, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, Osaka, Verdana, &amp;quot;ＭＳ Ｐゴシック&amp;quot;; font-size: 16px; line-height: inherit; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;　ある研究者は興味本位で「Windows 95」のプロダクトキーを解析したところ、ある法則によって生成されていたことが分かった。本質を理解すれば、誰でも簡単にプロダクトキーを生成できてしまうという。その法則とは？&lt;/p&gt;&lt;div class=&quot;subscription&quot; style=&quot;caret-color: rgb(51, 51, 51); color: #333333; font-family: -apple-system, sans-serif, HiraKakuProN-W3, Meiryo, メイリオ, ArialMT, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, Osaka, Verdana, &amp;quot;ＭＳ Ｐゴシック&amp;quot;; font-size: 16px;&quot;&gt;&lt;p style=&quot;font-size: 1rem; line-height: inherit; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;　セキュリティ研究者のstacksmashing氏は、Windows OSのプロダクトキー認証を突破できる裏ワザを発見した。同氏はさまざまなデバイスやアプリ、ゲーム機などをハッキングしてはその模様を&lt;a href=&quot;https://www.youtube.com/@stacksmashing&quot; style=&quot;color: var(--base-color); text-decoration: none;&quot; target=&quot;_blank&quot;&gt;YouTubeに投稿している。&lt;/a&gt;Windowsのプロダクトキーに関する話も動画で取り上げられた話題の一つだ。&lt;/p&gt;&lt;p style=&quot;font-size: 1rem; line-height: inherit; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;　ただし、この裏ワザが通用するのは「Windows 95」のインストール時のみだ。Windows 95は1995年8月25日に英語版が、同年11月23日に日本語版が発売され、今のWindowsの礎を築いたOSと言っても過言ではない。&lt;/p&gt;&lt;p style=&quot;font-size: 1rem; line-height: inherit; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;　stacksmashing氏が解明したプロダクトキーの生成アルゴリズムについて、詳しく解説しよう。&lt;/p&gt;&lt;p style=&quot;font-size: 1rem; line-height: inherit; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;　Windows 95のプロダクトキーは「XXX-YYYYYYY」というように「-（ハイフン）」で接続された10桁（前半3桁と後半7桁）の数字で構成される。同氏は試行錯誤しながらそのプロダクトキーを入力する中で、ある傾向をつかんだ。&lt;/p&gt;&lt;p style=&quot;font-size: 1rem; line-height: inherit; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;　まず、「111－1111111」と全て「1」にするとインストールは成功する。また、全て「0」の場合でも成功する。そして前半3桁を「000」「001」「567」と変更し、後半7桁が全て「1」の場合も有効なキーと認識される。ただし「333」「444」「555」といった「0」や「1」「2」以外の3連続の数字を入力した場合は失敗するようだ。&lt;/p&gt;&lt;p style=&quot;font-size: 1rem; line-height: inherit; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;　後半7桁は「0000001」だと失敗し、そこから1ずつ数を増やしていったところ「0000007」の場合は成功することが分かった。それを繰り返していくと、後半の数字は「0000000」「0000007」「0000016」「0000025」だと成功することが判明した。同氏は、後半7桁の各数字の合計が「7の倍数」であれば成功するのでは、と推測した。確かに「1111111」も全て合算すれば「7」だ。&lt;/p&gt;&lt;p style=&quot;font-size: 1rem; line-height: inherit; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;　stacksmashing氏はリバースエンジニアリングツール「Ghidra」を使って禁断のプログラム解析を敢行した。すると前半3桁は「333」「444」「555」「666」「777」「888」「999」の数字がブラックリスト入りしているだけで、その他の3桁の数字なら何でもいいことが判明した。そして後半7桁については、同氏の予測通り、全ての桁の数字を合計して7で割り切れれば成功することが分かった。しかも、3桁と7桁の間の文字はチェックされておらず、必ずしも「-（ハイフン）」である必要がない。&lt;/p&gt;&lt;p style=&quot;font-size: 1rem; line-height: inherit; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;　これらの情報をまとめると「前半3桁は3～9の3並び以外なら何でもいい」「前半と後半をつなぐ文字はどれでもいい」「後半7桁は合計したとき『7』で割り切れればいい」と単純なものだったのだ。&lt;/p&gt;&lt;p style=&quot;font-size: 1rem; line-height: inherit; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;　ちなみに、このアルゴリズムはWindows 95リテール版で通用するものであり、OEM版はまた異なる。OEM版の場合、プロダクトキーは「AAABB-OEM-XXXXXXX-YYYYY」という形式（「A」「B」「X」「Y」はそれぞれ整数、「OEM」は固定の文字列）で構成されているが、これも単純なアルゴリズムだ。&lt;/p&gt;&lt;p style=&quot;font-size: 1rem; line-height: inherit; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;　stacksmashing氏の解析をまとめると「AAA」は「1～366」で、「BB」は「00～02」または「95～99」、「XXXXXXX」は先頭が「0」で、かつ合算して7で割り切れる7桁の数字、そして「YYYYY」はノーチェック、つまり「何でもいい5桁の数字」だ。何とも単純な仕様だ。&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/6259551918712766189/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2023/08/windowslicense-for-windows95window95.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/6259551918712766189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/6259551918712766189'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2023/08/windowslicense-for-windows95window95.html' title='[Windows]License for windows95_WIndow95のライセンス解析'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWC9tlK4x306H9YdJJAH6zuZgqadm_KzHHJeWPQYVxtGv3o4NqbtA1c1NlRYaYC54MeN8Z7V-aB9HuvVHRLof4DNoruI6Ho-sqeS2N70DTFnI52aW0mpOEHTIQcAKh9-ufGus56qnRMGwWFtuniuRfgkJh19ZcRt7yBjBRCC1rCOHYsb8ruJA1t6o_r6Ed/s72-w400-h258-c/Windows_95_stacked_logo.svg.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-8746619879114323341</id><published>2023-02-14T23:09:00.000+09:00</published><updated>2023-02-14T23:09:02.058+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="raspberry pi"/><title type='text'>[RaspBerry Pi]How to expand the root partition of your Raspberry PI’s SD card</title><content type='html'>&lt;h1 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;box-sizing: border-box; caret-color: rgb(26, 26, 26); color: #1a1a1a;&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;How to expand the root partition of your&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;&lt;a href=&quot;http://www.raspberrypi.org/&quot; style=&quot;background-position: 0px 0px; box-sizing: border-box; color: #8b45bf; text-decoration: none; transition: color 400ms ease 0s, background-color 400ms ease 0s;&quot; target=&quot;_blank&quot;&gt;Raspberry PI’s&lt;/a&gt;&lt;/em&gt;&amp;nbsp;SD card?&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h1&gt;&lt;p style=&quot;box-sizing: border-box; caret-color: rgb(26, 26, 26); color: #1a1a1a; margin: 0px 0px 10px;&quot;&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;After installing a new OS on your&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;PI’s&lt;/em&gt;&amp;nbsp;SD card you might notice there is a lot of diskspace ‘missing’ on the card…&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; caret-color: rgb(26, 26, 26); color: #1a1a1a; margin: 0px 0px 10px;&quot;&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;By expanding the root partition of the card you can regain that ‘missing’ space!&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; caret-color: rgb(26, 26, 26); color: #1a1a1a; margin: 0px 0px 10px;&quot;&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;This is the easiest way to do it:&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; caret-color: rgb(26, 26, 26); color: #1a1a1a; margin-bottom: 10px; margin-top: 0px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; list-style: square;&quot;&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;open the&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;PI’s&lt;/em&gt;&amp;nbsp;configuration screen (in the terminal window) by typing:&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;sudo raspi-config&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; list-style: square;&quot;&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;run the bottom option just to make sure you have the latest version of the configuration software:&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;update&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; list-style: square;&quot;&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;run the second option:&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;expand_rootfs&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; list-style: square;&quot;&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;click:&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Finish&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; list-style: square;&quot;&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;select ‘&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;YES&lt;/strong&gt;‘ when it asks for a reboot&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/8746619879114323341/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2023/02/raspberry-pihow-to-expand-root.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/8746619879114323341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/8746619879114323341'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2023/02/raspberry-pihow-to-expand-root.html' title='[RaspBerry Pi]How to expand the root partition of your Raspberry PI’s SD card'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-2842575019291852962</id><published>2023-01-30T17:06:00.001+09:00</published><updated>2023-01-30T17:06:13.434+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="perl"/><title type='text'>[PERL]Confirm installed module on linux server</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;b&gt;■以下のコマンドを実行すること確認できる&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;find `perl -e &#39;print &quot;@INC&quot;&#39;` -name &#39;*.pm&#39; -print&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;■grep で限定表示&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;&amp;nbsp;find `perl -e &#39; print &quot;@INC&quot;&#39; `-name &#39;*.pm&#39; -print | grep LWP&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;●＠INC&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Perlの特殊変数&lt;/p&gt;&lt;p&gt;&lt;b&gt;●LWP&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Perlモジュール&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/2842575019291852962/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2023/01/perlconfirm-installed-module-on-linux.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/2842575019291852962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/2842575019291852962'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2023/01/perlconfirm-installed-module-on-linux.html' title='[PERL]Confirm installed module on linux server'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-813142479540607167</id><published>2022-09-22T11:08:00.004+09:00</published><updated>2022-09-22T11:08:42.441+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Postfix"/><category scheme="http://www.blogger.com/atom/ns#" term="raspberry pi"/><title type='text'>[Raspberry Pi]Install mail server on local raspberry pi with own domain</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;p&gt;Yes, We will run the command [sudo apt-get install postfix].&lt;/p&gt;&lt;p&gt;To ensure you will get the newest version, you have to run below first.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;sudo apt-get update&lt;/p&gt;&lt;p&gt;sudo apt-get upgrade&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Then you can go with [sudo apt-get install postfix]&lt;/p&gt;&lt;p&gt;You will see some log like below.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Reading package lists... Done&lt;/p&gt;&lt;p&gt;Building dependency tree &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Reading state information... Done&lt;/p&gt;&lt;p&gt;The following packages were automatically installed and are no longer required:&lt;/p&gt;&lt;p&gt;&amp;nbsp; libgnutls-dane0 libunbound8&lt;/p&gt;&lt;p&gt;Use &#39;sudo apt autoremove&#39; to remove them.&lt;/p&gt;&lt;p&gt;Suggested packages:&lt;/p&gt;&lt;p&gt;&amp;nbsp; procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre postfix-lmdb postfix-sqlite sasl2-bin | dovecot-common libsasl2-modules&lt;/p&gt;&lt;p&gt;&amp;nbsp; | dovecot-common postfix-cdb ufw postfix-doc&lt;/p&gt;&lt;p&gt;The following packages will be REMOVED:&lt;/p&gt;&lt;p&gt;&amp;nbsp; exim4-base exim4-config exim4-daemon-light&lt;/p&gt;&lt;p&gt;The following NEW packages will be installed:&lt;/p&gt;&lt;p&gt;&amp;nbsp; postfix&lt;/p&gt;&lt;p&gt;0 upgraded, 1 newly installed, 3 to remove and 0 not upgraded.&lt;/p&gt;&lt;p&gt;Need to get 1,412 kB of archives.&lt;/p&gt;&lt;p&gt;After this operation, 62.5 kB disk space will be freed.&lt;/p&gt;&lt;p&gt;Do you want to continue? [Y/n] y&lt;/p&gt;&lt;p&gt;Get:1 http://ftp.udx.icscoe.jp/Linux/raspbian/raspbian buster/main armhf postfix armhf 3.4.23-0+deb10u1 [1,412 kB]&lt;/p&gt;&lt;p&gt;Fetched 1,412 kB in 2s (774 kB/s) &amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;p&gt;Preconfiguring packages ...&lt;/p&gt;&lt;p&gt;(Reading database ... 221744 files and directories currently installed.)&lt;/p&gt;&lt;p&gt;Removing exim4-daemon-light (4.92-8+deb10u7) ...&lt;/p&gt;&lt;p&gt;Removing exim4-base (4.92-8+deb10u7) ...&lt;/p&gt;&lt;p&gt;Removing exim4-config (4.92-8+deb10u7) ...&lt;/p&gt;&lt;p&gt;Selecting previously unselected package postfix.&lt;/p&gt;&lt;p&gt;(Reading database ... 221611 files and directories currently installed.)&lt;/p&gt;&lt;p&gt;Preparing to unpack .../postfix_3.4.23-0+deb10u1_armhf.deb ...&lt;/p&gt;&lt;p&gt;Unpacking postfix (3.4.23-0+deb10u1) ...&lt;/p&gt;&lt;p&gt;Setting up postfix (3.4.23-0+deb10u1) ...&lt;/p&gt;&lt;p&gt;Adding group `postfix&#39; (GID 126) ...&lt;/p&gt;&lt;p&gt;Done.&lt;/p&gt;&lt;p&gt;Adding system user `postfix&#39; (UID 118) ...&lt;/p&gt;&lt;p&gt;Adding new user `postfix&#39; (UID 118) with group `postfix&#39; ...&lt;/p&gt;&lt;p&gt;Not creating home directory `/var/spool/postfix&#39;.&lt;/p&gt;&lt;p&gt;Creating /etc/postfix/dynamicmaps.cf&lt;/p&gt;&lt;p&gt;Adding group `postdrop&#39; (GID 127) ...&lt;/p&gt;&lt;p&gt;Done.&lt;/p&gt;&lt;p&gt;setting myhostname: raspberrypi&lt;/p&gt;&lt;p&gt;setting alias maps&lt;/p&gt;&lt;p&gt;setting alias database&lt;/p&gt;&lt;p&gt;changing /etc/mailname to achillia-mfg.com&lt;/p&gt;&lt;p&gt;setting myorigin&lt;/p&gt;&lt;p&gt;setting destinations: achillia-mfg.com, $myhostname, raspberrypi, localhost.localdomain, localhost&lt;/p&gt;&lt;p&gt;setting relayhost: smtp.localhost&lt;/p&gt;&lt;p&gt;setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128&lt;/p&gt;&lt;p&gt;setting mailbox_size_limit: 0&lt;/p&gt;&lt;p&gt;setting recipient_delimiter: +&lt;/p&gt;&lt;p&gt;setting inet_interfaces: all&lt;/p&gt;&lt;p&gt;setting inet_protocols: all&lt;/p&gt;&lt;p&gt;WARNING: /etc/aliases exists, but does not have a root alias.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Postfix (main.cf) is now set up with a default configuration. &amp;nbsp;If you need to&amp;nbsp;&lt;/p&gt;&lt;p&gt;make changes, edit /etc/postfix/main.cf (and others) as needed. &amp;nbsp;To view&amp;nbsp;&lt;/p&gt;&lt;p&gt;Postfix configuration values, see postconf(1).&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;After modifying main.cf, be sure to run &#39;service postfix reload&#39;.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Running newaliases&lt;/p&gt;&lt;p&gt;Created symlink /etc/systemd/system/multi-user.target.wants/postfix.service → /lib/systemd/system/postfix.service.&lt;/p&gt;&lt;p&gt;Processing triggers for systemd (241-7~deb10u8+rpi1) ...&lt;/p&gt;&lt;p&gt;Processing triggers for man-db (2.8.5-2) ...&lt;/p&gt;&lt;p&gt;Processing triggers for rsyslog (8.1901.0-1+deb10u2) ...&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/813142479540607167/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2022/09/raspberry-piinstall-mail-server-on.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/813142479540607167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/813142479540607167'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2022/09/raspberry-piinstall-mail-server-on.html' title='[Raspberry Pi]Install mail server on local raspberry pi with own domain'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-1570991394410031096</id><published>2022-09-05T23:42:00.001+09:00</published><updated>2022-09-05T23:42:13.771+09:00</updated><title type='text'>Raspberry pi上使用nslookup和dig</title><content type='html'>&lt;p&gt;在Raspberry Pi上，初期状态是无法使用nslookup和dig等一些DNS相关命令的。&lt;/p&gt;&lt;p&gt;需要安装dnsutils package.&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span&gt;&amp;nbsp; &amp;nbsp; $ sudo apt-get update&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;nv&quot; style=&quot;box-sizing: inherit; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;nv&quot; style=&quot;box-sizing: inherit; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;nv&quot; style=&quot;box-sizing: inherit; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px;&quot;&gt;$ &lt;/span&gt;&lt;span class=&quot;nb&quot; style=&quot;box-sizing: inherit; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px;&quot;&gt;sudo &lt;/span&gt;&lt;span style=&quot;font-family: inherit; font-size: inherit;&quot;&gt;apt-get &lt;/span&gt;&lt;span class=&quot;nb&quot; style=&quot;box-sizing: inherit; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px;&quot;&gt;install &lt;/span&gt;&lt;span style=&quot;font-family: inherit; font-size: inherit;&quot;&gt;dnsutils&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;p&gt;安装后就可以使用下列命令了。&amp;nbsp;&lt;/p&gt;&lt;blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;nv&quot; style=&quot;box-sizing: inherit; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px;&quot;&gt;$ &lt;/span&gt;&lt;span style=&quot;font-family: inherit; font-size: inherit;&quot;&gt;nslookup example.com&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;nv&quot; style=&quot;box-sizing: inherit; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px;&quot;&gt;$ &lt;/span&gt;&lt;span style=&quot;font-family: inherit; font-size: inherit;&quot;&gt;dig example.com&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: inherit;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: inherit;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/1570991394410031096/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2022/09/raspberry-pinslookupdig.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/1570991394410031096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/1570991394410031096'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2022/09/raspberry-pinslookupdig.html' title='Raspberry pi上使用nslookup和dig'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-2265265493229672472</id><published>2014-07-21T03:33:00.000+09:00</published><updated>2014-07-21T03:33:25.179+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Office2013"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>【WINDOWS8 &amp; OFFICE2013】win8和office2013同时还原激活</title><content type='html'>&lt;div style=&quot;color: #323333; font-family: Arial; font-size: 16px; margin-bottom: 20px; text-align: justify;&quot;&gt;
1.&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;备份&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #323333; font-family: &#39;Heiti SC Light&#39;; font-size: 16px; margin-bottom: 20px; text-align: justify;&quot;&gt;
当一台电脑同时安装已激活的&lt;span style=&quot;font-family: Arial;&quot;&gt;win8&lt;/span&gt;和&lt;span style=&quot;font-family: Arial;&quot;&gt;office 2013&lt;/span&gt;时，我们就有必要备份一下已经激活状态，不然重装系统后将很费心思地找激活密钥。&lt;span style=&quot;font-family: Arial;&quot;&gt;windows8&lt;/span&gt;与&lt;span style=&quot;font-family: Arial;&quot;&gt;office 2013&lt;/span&gt;同时俱在时，&lt;/div&gt;
&lt;div style=&quot;color: #323333; font-family: Arial; font-size: 16px; margin-bottom: 20px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;（&lt;/span&gt;1&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;）&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;我们只需将系统盘（通常为&lt;/span&gt;C&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;）&lt;/span&gt;C:\Windows\System32\spp\store&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;的&lt;/span&gt;store&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;文件夹备份到网盘上（注意&lt;/span&gt;store&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;中含有隐藏的文件要全部备份）&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #323333; font-family: &#39;Heiti SC Light&#39;; font-size: 16px; margin-bottom: 20px; text-align: justify;&quot;&gt;
（&lt;span style=&quot;font-family: Arial;&quot;&gt;2&lt;/span&gt;）记住重装&lt;span style=&quot;font-family: Arial;&quot;&gt;win8&lt;/span&gt;系统的用户名和激活密钥（无论是电话激活还是联网激活的密钥）&lt;/div&gt;
&lt;div style=&quot;color: #323333; font-family: &#39;Heiti SC Light&#39;; font-size: 16px; margin-bottom: 20px; text-align: justify;&quot;&gt;
（&lt;span style=&quot;font-family: Arial;&quot;&gt;3&lt;/span&gt;）记住&lt;span style=&quot;font-family: Arial;&quot;&gt;office2013&lt;/span&gt;的安装路径（如&lt;span style=&quot;font-family: Arial;&quot;&gt;D:\Programs\office&lt;/span&gt;）和激活密钥（无论是电话激活还是联网激活密钥）&lt;/div&gt;
&lt;div style=&quot;color: #323333; font-family: &#39;Heiti SC Light&#39;; font-size: 16px; margin-bottom: 20px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;2.&lt;/span&gt;还原激活信息&lt;/div&gt;
&lt;div style=&quot;color: #323333; font-family: &#39;Heiti SC Light&#39;; font-size: 16px; margin-bottom: 20px; text-align: justify;&quot;&gt;
（&lt;span style=&quot;font-family: Arial;&quot;&gt;1&lt;/span&gt;）安装&lt;span style=&quot;font-family: Arial;&quot;&gt;win8&lt;/span&gt;的系统时注意版本和用户名要与备份的一样，然后将已备份的密钥用&lt;span style=&quot;font-family: Arial;&quot;&gt;slmgr /ipk **** **** **** ****&lt;/span&gt;安装到电脑中&lt;/div&gt;
&lt;div style=&quot;color: #323333; font-family: &#39;Heiti SC Light&#39;; font-size: 16px; margin-bottom: 20px; text-align: justify;&quot;&gt;
（&lt;span style=&quot;font-family: Arial;&quot;&gt;2&lt;/span&gt;）安装&lt;span style=&quot;font-family: Arial;&quot;&gt;office2013&lt;/span&gt;并注意版本和安装路径要与备份的一样，安装已备份密钥&lt;/div&gt;
&lt;div style=&quot;color: #323333; font-family: Arial; font-size: 16px; margin-bottom: 20px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;（&lt;/span&gt;3&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;）将备份的&lt;/span&gt;store&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;完覆盖到&lt;/span&gt;C:\Windows\System32\spp\&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;下&lt;/span&gt;store&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;，重启&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #323333; font-family: Arial; font-size: 16px; margin-bottom: 20px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;将显示&lt;/span&gt;win8&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;与&lt;/span&gt;office2013&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;同时激活&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #323333; font-family: &#39;Heiti SC Light&#39;; font-size: 16px; margin-bottom: 20px; text-align: justify;&quot;&gt;
说明&lt;span style=&quot;font-family: Arial;&quot;&gt;1&lt;/span&gt;：这个方法也可以用来备份单独的&lt;span style=&quot;font-family: Arial;&quot;&gt;win8&lt;/span&gt;激活信息或者&lt;span style=&quot;font-family: Arial;&quot;&gt;office 2013&lt;/span&gt;的激活信息&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #323333; font-family: &#39;Heiti SC Light&#39;; font-size: 16px; margin-bottom: 20px; text-align: justify;&quot;&gt;
说明&lt;span style=&quot;font-family: Arial;&quot;&gt;2&lt;/span&gt;：原来的有一种对&lt;span style=&quot;font-family: Arial;&quot;&gt;win8&lt;/span&gt;备份还原的方是将电话激活的&lt;span style=&quot;font-family: Arial;&quot;&gt;ID&lt;/span&gt;和用到的密钥备份，然后用命令激活的办法好像不怎么好用了，最好用本经验方法简单可行稳定长久。&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/2265265493229672472/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2014/07/windows8-office2013win8office2013.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/2265265493229672472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/2265265493229672472'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2014/07/windows8-office2013win8office2013.html' title='【WINDOWS8 &amp; OFFICE2013】win8和office2013同时还原激活'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-1435290525529069373</id><published>2014-06-21T03:00:00.000+09:00</published><updated>2014-06-21T03:00:58.610+09:00</updated><title type='text'>扒网络视频网站</title><content type='html'>目前大多数的视频网站，例如Youtube，都是使用Flash嵌套flv文件的方式播放视频。基于商业上考虑，一般只允许用户在线观看而不提供下载服务。如果你确实有需要把视频保存到电脑，或者将视频转换成其适合mp3、mp4、PSP、iPod、iPhone或其他手机的格式，那你就找对地方了。这里将为大家介绍10个最好的在线视频转换服务，全部都是免费甚至是无需注册的，一定能满足你视频下载或转换的需要。
&lt;br /&gt;
&lt;br /&gt;
1. Zamzar
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
网址：http://zamzar.com/url/
&lt;br /&gt;
&lt;br /&gt;
Zamzar支持音乐、视频、图片、文档类型的格式转换，支持格式多样，并且转换质量很高。免费用户允许转换100MB以内的文件。如果你自认是转换狂人，可以申请成为高级用户，获得更大的容量（1G）和更快的转换速度。界面简洁友好，容易上手。
&lt;br /&gt;
&lt;br /&gt;
2. Mux
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
网址：http://beta.mux.am
&lt;br /&gt;
&lt;br /&gt;
Mux还是一个测试中的服务，能将大部分的视频网站（当然是国外的）的节目保存到电脑上。
&lt;br /&gt;
&lt;br /&gt;
3. Vixy
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
网址：http://vixy.net
&lt;br /&gt;
&lt;br /&gt;
这个网站可以把flv文件转换成avi、mov、mp4、pm3、3gp等格式。网站声称比其他的转换工具更快和失真更少。这个服务是基于一个名为FLV to MPEG4 Conveter的开源引擎，如果有需要，你甚至可以下载其源代码。
&lt;br /&gt;
&lt;br /&gt;
4. VideoCodeZone
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
网址：http://www.videocodezone.com/conversion.php
&lt;br /&gt;
&lt;br /&gt;
这个网站可以将Youtube, MySpace, Google Videos, IFilm, Break, Dailymotion 及 Metacafe等网站的视频转换成一般的视频格式并下载到电脑里。输入需要转换的视频网址，选择输出的格式，点击Convert或Download，就可以转换或下载了。也可以选择电脑里flv文件进行转换。
&lt;br /&gt;
&lt;br /&gt;
5. MediaConverter
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
网址：http://www.mediaconverter.org
&lt;br /&gt;
&lt;br /&gt;
支持视频、音乐、铃声、图片及文档等多种媒体文件的转换和拆分。支持的格式不仅有mp3、wmv、3gp、flv、swf、mov、avi、mpg、mp4、divx、ipod、PSP等，还包括jpg、psd、doc、pdf、ttf、txt、odg，甚至是几乎绝迹的WordPerfect文件。网站有自动文件格式识别功能，如果自动识别失败，只需要手工选择源文件格式和目标格式，提交后就可以开始转换。除了转换本地文件外，也支持远程文件转换，只需要输入文件的网上地址即可，非常方便。
&lt;br /&gt;
&lt;br /&gt;
6. ConvertDirect
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
网址：http://www.convertdirect.com
&lt;br /&gt;
&lt;br /&gt;
可以在线转换类似Youtube这些网站的flv视频文件。支持输出的格式包括avi、3gp、mp3、mp4、wmv、mpeg、mov及psp。这样你就可以在你的电脑、ipd、Zune、PSP和各式各样的手机上欣赏视频了。
&lt;br /&gt;
&lt;br /&gt;
7. MovAVI
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
网址：http://online.movavi.com
&lt;br /&gt;
&lt;br /&gt;
MovAvi不仅免费，还不会有广告骚扰。你可以上传五个，总计不超过100MB的文件。当文件转换好后，会以电子邮件的形式通知你。而这个网站的特色，是可以把几个小视频文件合并成一个大的视频文件。
&lt;br /&gt;
&lt;br /&gt;
8. Flvix
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
网址：http://www.flvix.com
&lt;br /&gt;
&lt;br /&gt;
一个专注于Youtube 和Google Video的在线flv转换网站。界面虽然简陋但很实用，支持的格式包括avi、mp4、3gp和mp3。这样你就可以把视频下载到电脑、手机、ipod或PSP了。
&lt;br /&gt;
&lt;br /&gt;
9. All2Convert
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
网址：http://www.all2convert.com
&lt;br /&gt;
&lt;br /&gt;
将视频链接粘贴到URL Video box框，选择转换目标格式，然后点“Convert”开始转换。当转换成功的时候，就会出现下载链接。支持的设备包括手机、iphone、Zune、iPod、PSP和一般电脑，支持的格式包括有dvd、mov、mp4、vob、rm及wmv。
&lt;br /&gt;
&lt;br /&gt;
10. ConvertTube
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
网址：http://converttube.com
&lt;br /&gt;
&lt;br /&gt;
专门转换Youtube的flv文件的网站。支持的格式包括wmv、mov、mp4、mp3及3gp。和前面介绍的Vixy一样，这个网站也声称他的转换服务比其他转换工具更快，细节损失更少。（完）
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/1435290525529069373/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2014/06/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/1435290525529069373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/1435290525529069373'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2014/06/blog-post.html' title='扒网络视频网站'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4626257132811030090.post-2264616047361744325</id><published>2014-06-21T02:57:00.003+09:00</published><updated>2014-06-21T02:57:57.649+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Router"/><category scheme="http://www.blogger.com/atom/ns#" term="Seting"/><category scheme="http://www.blogger.com/atom/ns#" term="YAMAHA"/><title type='text'>YAMAHA RTX1200 设定简易说明</title><content type='html'>&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;padding: 0.0px 0.0px 5.0px 19.0px;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&quot;padding: 0.0px 0.0px 5.0px 19.0px; width: 572.0px;&quot; valign=&quot;top&quot;&gt;&lt;div style=&quot;color: #666666; font-family: &#39;Heiti SC Light&#39;; font-size: 14px;&quot;&gt;
初期配置&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: &#39;Heiti SC Light&#39;; font-size: 14px;&quot;&gt;
全新的没有经过任何配置的&lt;span style=&quot;font-family: Verdana;&quot;&gt;YAMAHA&lt;/span&gt;路由器，在配置之前需要设定一些基本的信息：&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;br /&gt;
Password: //&lt;/span&gt;出厂状态登陆密码为空密码，直接回车后提示符显示为&lt;span style=&quot;font-family: Verdana;&quot;&gt;&quot;&amp;gt;&quot;&lt;br /&gt;
&amp;gt; //&lt;/span&gt;在开机后自动进入，&lt;span style=&quot;font-family: Verdana;&quot;&gt;&quot;&amp;gt;&quot;&lt;/span&gt;普通状态&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;br /&gt;
&amp;gt; Administrator //&lt;/span&gt;为了能够进行配置，必须进入管理员权限，使用命令&lt;span style=&quot;font-family: Verdana;&quot;&gt;&quot;Administrator&quot;&lt;br /&gt;
Password: //&lt;/span&gt;出厂状态为空密码，直接回车后提示符显示为&lt;span style=&quot;font-family: Verdana;&quot;&gt;&quot;#&quot;&lt;br /&gt;
&lt;/span&gt;注&lt;span style=&quot;font-family: Verdana;&quot;&gt;1&lt;/span&gt;：所有的命令都不必完整输入，比如命令&lt;span style=&quot;font-family: Verdana;&quot;&gt;&quot;Administrator&quot;&lt;/span&gt;，在&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: Verdana; font-size: 14px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;输入&lt;/span&gt;&quot;ad&quot;&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;之后按下&lt;/span&gt;tab&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;健就可以自动补全。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;在命令之后输入&lt;/span&gt;&quot;&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;？&lt;/span&gt;&quot;&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;可以显示该命令的相关提示，例如：&lt;/span&gt;&lt;br /&gt;
# administrator ?&lt;br /&gt;
Command Format: administrator&lt;br /&gt;
You needs to enter Administrator Password.&lt;br /&gt;
Description: Logs in as an administrator.&lt;br /&gt;
Additional &#39;password&#39; keyword results in another command.&lt;br /&gt;
# //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;退出管理员状态使用命令&lt;/span&gt;exit&lt;br /&gt;
# console character ascii //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定界面的说明文字为英语&lt;/span&gt;&lt;br /&gt;
# login password (encrypted) //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定登陆密码，&lt;/span&gt; &quot;encrypted&quot;&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;选项提供对密码本身的加密&lt;/span&gt;&lt;br /&gt;
Old_Password: //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;出厂状态为空密码，直接回车&lt;/span&gt;&lt;br /&gt;
New_Password:****** //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;输入新密码，&lt;/span&gt;32&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;个以内的字符&lt;/span&gt;&lt;br /&gt;
New_Password:****** //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;确认新密码&lt;/span&gt;&lt;br /&gt;
# administrator password (encrypted) //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定管理员权限密码，&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: Verdana; font-size: 14px;&quot;&gt;
&quot;encrypted&quot;&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;选项提供对密码本身的加密&lt;/span&gt;&lt;br /&gt;
Old_Password: //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;出厂状态为空密码，直接回车&lt;/span&gt;&lt;br /&gt;
New_Password:****** //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;输入新密码，&lt;/span&gt;32&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;个以内的字符&lt;/span&gt;&lt;br /&gt;
New_Password:****** //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;确认新密码&lt;/span&gt;&lt;br /&gt;
# console prompt RTX1200 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定路由器的提示符，相当于&lt;/span&gt;hostname&lt;br /&gt;
RTX1200# timezone +8:00 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定所在时区，中国是东&lt;/span&gt;8&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;区&lt;/span&gt;&lt;br /&gt;
RTX1200# time 9:54:14 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定时间&lt;/span&gt;&lt;br /&gt;
RTX1200# date 2010-07-18 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定日期&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;注&lt;/span&gt;2&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;：除了以上方式设定时间之外，还可以使用&lt;/span&gt;&quot;rdate&quot;&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;命令&lt;/span&gt;(time&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;服务&lt;/span&gt;)&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;、&lt;/span&gt;&quot;n&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: Verdana; font-size: 14px;&quot;&gt;
tpdate&quot;&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;命令&lt;/span&gt;(ntp&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;服务&lt;/span&gt;)&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定时间，请使用&lt;/span&gt;&quot;&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;？&lt;/span&gt;&quot;&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;察看&lt;/span&gt;&lt;br /&gt;
RTX1200# security class 3 off on //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定路由器的安全等级&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;注&lt;/span&gt;3&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;：&lt;/span&gt; security class&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;用于设定路由器的安全等级。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: &#39;Heiti SC Light&#39;; font-size: 14px;&quot;&gt;
该命令有&lt;span style=&quot;font-family: Verdana;&quot;&gt;3&lt;/span&gt;个选项，第&lt;span style=&quot;font-family: Verdana;&quot;&gt;1&lt;/span&gt;项是一个数字&lt;span style=&quot;font-family: Verdana;&quot;&gt;(&lt;/span&gt;范围是&lt;span style=&quot;font-family: Verdana;&quot;&gt;1-3)&lt;/span&gt;，第&lt;span style=&quot;font-family: Verdana;&quot;&gt;2&lt;/span&gt;、&lt;span style=&quot;font-family: Verdana;&quot;&gt;3&lt;/span&gt;项是&lt;span style=&quot;font-family: Verdana;&quot;&gt;on/off&lt;/span&gt;。&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;第一项表示进入路由器管理权限的方式。&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: Verdana; font-size: 14px;&quot;&gt;
1(&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;宽松&lt;/span&gt;)&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;：允许&lt;/span&gt;serial&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;端口、&lt;/span&gt;telnet&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;、&lt;/span&gt;remote setup(ISDN)&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;这&lt;/span&gt;3&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;种方式登录。&lt;/span&gt;&lt;br /&gt;
2(&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;中等&lt;/span&gt;)&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;：允许&lt;/span&gt;serial&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;端口、&lt;/span&gt;telnet&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;这&lt;/span&gt;2&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;种方式登录。&lt;/span&gt;3&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: &#39;Heiti SC Light&#39;; font-size: 14px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;(&lt;/span&gt;严格&lt;span style=&quot;font-family: Verdana;&quot;&gt;)&lt;/span&gt;：只允许来自&lt;span style=&quot;font-family: Verdana;&quot;&gt;serial&lt;/span&gt;端口的登录。&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;第二项表示是否可以使用后门管理员权限密码&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: &#39;Heiti SC Light&#39;; font-size: 14px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;(YAMAHA&lt;/span&gt;路由器默认允许在&lt;span style=&quot;font-family: Verdana;&quot;&gt;serial&lt;/span&gt;端口使用后门管理员权限密码&lt;span style=&quot;font-family: Verdana;&quot;&gt;)&lt;/span&gt;，&lt;span style=&quot;font-family: Verdana;&quot;&gt; on/off&lt;/span&gt;。&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;第三项表示是否允许路由器本身作为&lt;span style=&quot;font-family: Verdana;&quot;&gt;telnet&lt;/span&gt;客户端使用。&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: Verdana; font-size: 14px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;这项设定为&lt;/span&gt;on&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;之后，就可以在路由器上使用&lt;/span&gt;telnet&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;命令登陆到其它设备&lt;/span&gt;&lt;br /&gt;
RTX1200# save //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;保存配置&lt;/span&gt;&lt;br /&gt;
Saving ... CONFIG0 Done .&lt;br /&gt;
RTX1200# show environment //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;显示路由器环境变量&lt;/span&gt;&lt;br /&gt;
RTX1200 Rev.10.01.17 (build 3) (Fri Oct 30 14:34:18 2009)&lt;br /&gt;
main: RTX1200 ver=b0 serial=D26009571 MAC-Address=00:a0:de:37:b4:e0 MAC-Addr&lt;br /&gt;
ess=00:a0:de:37:b4:e1 MAC-Address=00:a0:de:37:b4:e2&lt;br /&gt;
CPU: 0%(5sec) 0%(1min) 0%(5min) Memory: 17% used&lt;br /&gt;
Firmware: exec0 Config. file: config0&lt;br /&gt;
Default firmware: exec0 Default config. file: config0&lt;br /&gt;
Boot time: 2010/08/02 11:55:21 +09:00&lt;br /&gt;
Current time: 2010/08/02 11:56:39 +09:00&lt;br /&gt;
Elapsed time from boot: 0days 00:01:18&lt;br /&gt;
Security Class: 1, FORGET: ON, TELNET: OFF&lt;br /&gt;
Inside Temperature(C.): 34&lt;br /&gt;
Current time: 2007/01/18 10:04:30 +08:00&lt;br /&gt;
Elapsed time from boot: 0days 00:00:00&lt;br /&gt;
Security Class: 3, Type: OFF, TELNET: ON&lt;br /&gt;
RTX1200# restart //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;重启动路由器&lt;/span&gt;&lt;br /&gt;
RTX1200# cold start //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;将路由器恢复到出厂状态&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;注&lt;/span&gt;4&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;：该命令会重启路由器，并且删除所有的配置&lt;/span&gt;(0-4&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;号&lt;/span&gt;)&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana; font-size: 12px; min-height: 15px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: &#39;Heiti SC Light&#39;; font-size: 14px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;ADSL&lt;/span&gt;基本接入配置&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0kHv46OsV-Rwf2QcfvjhaYVIF1m1dzkQ9ZHtBT9MpWIRJ9A32SEKy7Jl3tN4kANy883PYI9c0znFP6fM2p7yl2qe7Y_RwX9jX6mbM9YatMlya1pul6KjqUbIe60OaKiNmGTJStJ-dOo4r/s1600/yamaha_adsl.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0kHv46OsV-Rwf2QcfvjhaYVIF1m1dzkQ9ZHtBT9MpWIRJ9A32SEKy7Jl3tN4kANy883PYI9c0znFP6fM2p7yl2qe7Y_RwX9jX6mbM9YatMlya1pul6KjqUbIe60OaKiNmGTJStJ-dOo4r/s1600/yamaha_adsl.jpg&quot; height=&quot;103&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;padding: 0.0px 0.0px 5.0px 19.0px;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&quot;padding: 0.0px 0.0px 5.0px 19.0px; width: 688.0px;&quot; valign=&quot;top&quot;&gt;&lt;div style=&quot;color: #666666; font-family: Verdana; font-size: 14px;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
/*+++++++++++++++&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;路由器基本设定&lt;/span&gt;+++++++++++++++*/&lt;/div&gt;
console character ascii //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定路由器的界面语言为英语&lt;/span&gt;&lt;br /&gt;
console prompt RTA //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定路由器的&lt;/span&gt;hostname&lt;br /&gt;
/*++++++++++++++++++&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;路由设定&lt;/span&gt;+++++++++++++++++*/&lt;br /&gt;
ip route default gateway pp 1 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定默认路由为&lt;/span&gt;pp 1&lt;br /&gt;
/*+++++++++++++++++&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;端口&lt;/span&gt;IP&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定&lt;/span&gt;++++++++++++++++*/&lt;br /&gt;
ip lan1 address 192.168.100.254/24 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定&lt;/span&gt;lan1&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;端口地址&lt;/span&gt;&lt;br /&gt;
/*++++++++++++++++ADSL&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;拨号设定&lt;/span&gt;+++++++++++++++*/&lt;br /&gt;
pp select 1 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;选择拨号设定的编号&lt;/span&gt;&lt;br /&gt;
pp always-on on //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;在发生断线时，自动重新尝试拨号&lt;/span&gt;&lt;br /&gt;
pppoe use lan2 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定连接&lt;/span&gt;ADSL&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;的物理端口&lt;/span&gt;&lt;br /&gt;
pp auth accept pap chap //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定接受认证的方式，&lt;/span&gt;pap&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;和&lt;/span&gt;chap&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;都接受&lt;/span&gt;&lt;br /&gt;
pp auth myname USER-ID PASSWORD //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;此处填入从电信获得的接入用户&lt;/span&gt;ID&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;和密码&lt;/span&gt;&lt;br /&gt;
ppp lcp mru on 1492 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定&lt;/span&gt;mru&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;值为&lt;/span&gt;1492&lt;br /&gt;
ppp ipcp ipaddress on //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;接受电信关于分配不定&lt;/span&gt;IP&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;的协商&lt;/span&gt;&lt;br /&gt;
ppp ipcp msext on //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;打开&lt;/span&gt;microsoft extension&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;，接受对端关于&lt;/span&gt;DNS&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;和&lt;/span&gt;WINS&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;服务器的协商&lt;/span&gt;&lt;br /&gt;
ppp ccp type none //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;在线路上不使用压缩&lt;/span&gt;&lt;br /&gt;
ip pp mtu 1492 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定&lt;/span&gt;mtu&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;值为&lt;/span&gt;1492&lt;br /&gt;
ip pp nat descriptor 1 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;在本拨号端口使用&lt;/span&gt;NAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;变换规则&lt;/span&gt;1&lt;br /&gt;
pp enable 1 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;使该拨号端口的设置生效，在做测试中如果想关闭该端口，可用&lt;/span&gt;pp disable 1&lt;br /&gt;
/*++++++++++++++++NAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;规则设定&lt;/span&gt;+++++++++++++++*/&lt;br /&gt;
nat descriptor type 1 masquerade&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: Verdana; font-size: 14px;&quot;&gt;
//&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;选择&lt;/span&gt;NAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;的类型为&lt;/span&gt;masquerade,&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;因为只一个公网&lt;/span&gt;IP&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;，实际上就是端口转换，即&lt;/span&gt;PAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;模式&lt;/span&gt;&lt;br /&gt;
nat descriptor address outer 1 ipcp //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定&lt;/span&gt;NAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;转换的外部地址为通过&lt;/span&gt;ipcp&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;协商从电信获得的地址&lt;/span&gt;&lt;br /&gt;
nat descriptor adderss inner 1 auto //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定&lt;/span&gt;NAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;转换的内部地址为所有，这也是默认值&lt;/span&gt;&lt;br /&gt;
/*++++++++++++++++DNS&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;服务器设定&lt;/span&gt;+++++++++++++++*/&lt;br /&gt;
dns server pp 1&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: Verdana; font-size: 14px;&quot;&gt;
//&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;因为在端口设置中已经打开了&lt;/span&gt;microsoft extension&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;，所以可以从拨号对端获得&lt;/span&gt;dns server&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;的&lt;/span&gt;ip&lt;br /&gt;
/*++++++++++++++++DHCP&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;服务器设定&lt;/span&gt;+++++++++++++++*/&lt;br /&gt;
dhcp service server //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;将路由器设定为&lt;/span&gt;DHCP&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;服务器&lt;/span&gt;&lt;br /&gt;
dhcp scope 1 192.168.100.50-192.168.100.150/24 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定&lt;/span&gt;DHCP&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;的地址池的范围&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定完毕后使用&lt;/span&gt;login password&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;、&lt;/span&gt;administrator password&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定好登陆密码和管理密码&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;最后使用&lt;/span&gt;save&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;命令保存配置&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: &#39;Heiti SC Light&#39;; font-size: 14px;&quot;&gt;
注：从&lt;span style=&quot;font-family: Verdana;&quot;&gt;Internet&lt;/span&gt;管理远程路由器时，因为远端路由器的外网端口上做了&lt;span style=&quot;font-family: Verdana;&quot;&gt;NAT&lt;/span&gt;设定，&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: Verdana; font-size: 14px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;无法直接进行&lt;/span&gt;telnet&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;登陆。需要做一下&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;的&lt;/span&gt;NAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;静态端口映射设定才能从远端登陆路由器。&lt;/span&gt;&lt;br /&gt;
nat descriptor masquerade static 1 1 192.168.100.254 tcp 23&lt;br /&gt;
// 192.168.100.254&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;为&lt;/span&gt;lan&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;端口&lt;/span&gt;IP&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;，&lt;/span&gt;tcp 23&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;为&lt;/span&gt;telnet&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;。&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;padding: 0.0px 0.0px 5.0px 19.0px;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&quot;padding: 0.0px 0.0px 5.0px 19.0px; width: 686.0px;&quot; valign=&quot;top&quot;&gt;&lt;div style=&quot;color: #666666; font-family: &#39;Heiti SC Light&#39;; font-size: 14px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;FTTB&lt;/span&gt;基本接入配置&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDv1EDcjhnPLqOt_Lr1fSZJ5GitCNVGMLzelNXPHoRriFmso5fgbOOBi95EpoXknPagYkE_D4vg1-Ppu6FZZ_btFpoA_s5IKDYzTXwUPWJtrFQu2vaPjGwewe-aWtzyadmBfnSDhqVHtp3/s1600/yamaha_fttb.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDv1EDcjhnPLqOt_Lr1fSZJ5GitCNVGMLzelNXPHoRriFmso5fgbOOBi95EpoXknPagYkE_D4vg1-Ppu6FZZ_btFpoA_s5IKDYzTXwUPWJtrFQu2vaPjGwewe-aWtzyadmBfnSDhqVHtp3/s1600/yamaha_fttb.jpg&quot; height=&quot;104&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: Verdana; font-size: 14px;&quot;&gt;
/*+++++++++++++++&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;路由器基本设定&lt;/span&gt;+++++++++++++++*/&lt;br /&gt;
console character ascii //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定路由器的界面语言为英语&lt;/span&gt;&lt;br /&gt;
console prompt RTA //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定路由器的&lt;/span&gt;hostname&lt;br /&gt;
/*++++++++++++++++++&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;路由设定&lt;/span&gt;+++++++++++++++++*/&lt;br /&gt;
ip route default gateway 220.0.0.2 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;将从运营商处获得的网关&lt;/span&gt;IP&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;，作为默认网关&lt;/span&gt;&lt;br /&gt;
/*++++++++++++++++++&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;端口&lt;/span&gt;IP&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定&lt;/span&gt;+++++++++++++++++*/&lt;br /&gt;
ip lan1 address 192.168.200.254/24 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定&lt;/span&gt;lan&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;端口&lt;/span&gt;IP&lt;br /&gt;
ip lan2 address 220.0.0.1/30 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;运营商分配给顾客的固定&lt;/span&gt;IP&lt;br /&gt;
/*++++++++++++++++++NAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;端口应用设定&lt;/span&gt;+++++++++++++++++*/&lt;br /&gt;
ip lan2 nat descriptor 1&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: Verdana; font-size: 14px;&quot;&gt;
//&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定在&lt;/span&gt;lan2&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;端口使用&lt;/span&gt;NAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;变换规则&lt;/span&gt;1&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;，因为&lt;/span&gt;ADSL&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;的&lt;/span&gt;NAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;转换是在逻辑&lt;/span&gt;pp&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;端口上应用的，而&lt;/span&gt;FTTB&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;是在物&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;理的&lt;/span&gt;lan&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;端口上应用的。请根据实际情况设定。&lt;/span&gt;&lt;br /&gt;
/*++++++++++++++++++NAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;规则设定&lt;/span&gt;+++++++++++++++++*/&lt;br /&gt;
nat descriptor type 1 masquerade&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: Verdana; font-size: 14px;&quot;&gt;
//&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;选择&lt;/span&gt;NAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;的类型为&lt;/span&gt;masquerade,&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;因为只一个公网&lt;/span&gt;IP&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;，实际上就是端口转换，即&lt;/span&gt;PAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;模式&lt;/span&gt;&lt;br /&gt;
nat descriptor address outer 1 220.0.0.1 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定&lt;/span&gt;NAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;转换的外部地址为运营商分配的公网&lt;/span&gt;IP&lt;br /&gt;
nat descriptor adderss inner 1 auto //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定&lt;/span&gt;NAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;转换的内部地址为所有，这也是默认值&lt;/span&gt;&lt;br /&gt;
/*++++++++++++++++DNS&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;服务器设定&lt;/span&gt;+++++++++++++++*/&lt;br /&gt;
dns server 202.96.209.133 202.96.209.5 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;将运营商提供的&lt;/span&gt;dns&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;服务器的&lt;/span&gt;ip&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定进路由器&lt;/span&gt;&lt;br /&gt;
/*++++++++++++++++DHCP&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;服务器设定&lt;/span&gt;+++++++++++++++*/&lt;br /&gt;
dhcp service server //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;将路由器设定为&lt;/span&gt;DHCP&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;服务器&lt;/span&gt;&lt;br /&gt;
dhcp scope 1 192.168.200.50-192.168.200.150/24 //&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定&lt;/span&gt;DHCP&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;的地址池的范围&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定完毕后使用&lt;/span&gt;login password&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;、&lt;/span&gt;administrator password&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;设定好登陆密码和管理密码&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;最后使用&lt;/span&gt;save&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;命令保存配置&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: &#39;Heiti SC Light&#39;; font-size: 14px;&quot;&gt;
注：从&lt;span style=&quot;font-family: Verdana;&quot;&gt;Internet&lt;/span&gt;管理远程路由器时，因为远端路由器的外网端口上做了&lt;span style=&quot;font-family: Verdana;&quot;&gt;NAT&lt;/span&gt;设定，&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-family: Verdana; font-size: 14px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;无法直接进行&lt;/span&gt;telnet&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;登陆。需要做一下&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;的&lt;/span&gt;NAT&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;静态端口映射设定才能从远端登陆路由器。&lt;/span&gt;&lt;br /&gt;
nat descriptor masquerade static 1 1 192.168.100.254 tcp 23&lt;br /&gt;
// 192.168.100.254&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;为&lt;/span&gt;lan&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;端口&lt;/span&gt;IP&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;，&lt;/span&gt;tcp 23&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;为&lt;/span&gt;telnet&lt;span style=&quot;font-family: &#39;Heiti SC Light&#39;;&quot;&gt;。&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gxlcs.blogspot.com/feeds/2264616047361744325/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://gxlcs.blogspot.com/2014/06/yamaha-rtx1200.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/2264616047361744325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4626257132811030090/posts/default/2264616047361744325'/><link rel='alternate' type='text/html' href='http://gxlcs.blogspot.com/2014/06/yamaha-rtx1200.html' title='YAMAHA RTX1200 设定简易说明'/><author><name>gxcsAppleHome</name><uri>http://www.blogger.com/profile/10860272379043600335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0kHv46OsV-Rwf2QcfvjhaYVIF1m1dzkQ9ZHtBT9MpWIRJ9A32SEKy7Jl3tN4kANy883PYI9c0znFP6fM2p7yl2qe7Y_RwX9jX6mbM9YatMlya1pul6KjqUbIe60OaKiNmGTJStJ-dOo4r/s72-c/yamaha_adsl.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>