<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on yearliny</title><link>https://yearliny.com/tag/linux/</link><description>Recent content in Linux on yearliny</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Mon, 28 Aug 2023 21:40:59 +0800</lastBuildDate><atom:link href="https://yearliny.com/feed/tag/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>Oracle Linux 配置 CentOS 软件仓库镜像源</title><link>https://yearliny.com/configuring-centos-software-repository-mirrors-for-oracle-linux/</link><pubDate>Mon, 28 Aug 2023 21:30:44 +0800</pubDate><guid>https://yearliny.com/configuring-centos-software-repository-mirrors-for-oracle-linux/</guid><description>&lt;p&gt;Oracle Linux 是基于 RHEL 的另一个“重构发行版”，和 CentOS 同属一类系统。国内使用该系统最大的一个问题就是没有对应的 Oracle Linux 软件仓库镜像源，并且网上也没有相关的资料，但考虑到是同属 RHEL 系统，并且官方如此的强调和 CentOS 兼容性，就想到尝试使用国内的 CentOS 镜像源仓库替代。&lt;/p&gt;</description></item><item><title>Apache2 在用户目录工作</title><link>https://yearliny.com/apache2-enable-userdir/</link><pubDate>Thu, 27 Dec 2018 12:04:13 +0800</pubDate><guid>https://yearliny.com/apache2-enable-userdir/</guid><description>&lt;p&gt;当前 Apache2 在 Debian 及衍生版系统下默认访问路径是 /var/www ，这在生产环境下工作良好，但是开发的时候我们希望它能访问 /home/$USER/ 路径，这样可以便于我们的开发，现有的许多教程已经失去时效性，新版本的设定变得更加简单。&lt;/p&gt;</description></item><item><title>Deepin 18.5 体验</title><link>https://yearliny.com/deepin-18-5-experience/</link><pubDate>Fri, 07 Dec 2018 11:52:34 +0800</pubDate><guid>https://yearliny.com/deepin-18-5-experience/</guid><description>&lt;p&gt;&lt;img&#10; src="https://yearliny.com/wp-content/uploads/2018/12/deepin-screenshot.png"&#10; alt="Deepin 18.5 体验"&#10; loading="lazy"&#10; decoding="async"&#10; &#10; width="1366" height="768"&#10; &#10;/&gt;&lt;/p&gt;&#10;&lt;p&gt;Deepin 18.5 体验&lt;/p&gt;&#10;&lt;p&gt;Deepin 最开始出的几年我就在虚拟机中试用过，当时给我的印象就是绚丽但是卡顿，使用的最多的Linux发行版还是Ubuntu，用到目前的 Ubuntu 18.10 发现有许多让人无法忍受的 Bug，于是想要另寻系统，又想到了 Deepin，试用了两天后觉得很不错，给人的印象是优美、流畅、易用。&lt;/p&gt;</description></item><item><title>Ubuntu18.04 安装 Mysql</title><link>https://yearliny.com/install-mysql-from-ubuntu18-04/</link><pubDate>Sun, 20 May 2018 11:41:39 +0800</pubDate><guid>https://yearliny.com/install-mysql-from-ubuntu18-04/</guid><description>&lt;p&gt;按照往常的方法安装Mysql完成后，无法通过Mysql root用户登录，错误提示&lt;strong&gt;ERROR 1698 (28000): Access denied for user ‘root’@’localhost&lt;/strong&gt;’，搜索后发现是Ubuntu-Desktop 18.04 版本 Mysql 所有账户默认使用 &lt;a href="https://dev.mysql.com/doc/refman/8.0/en/socket-pluggable-authentication.html"&gt;auth_socket plugin&lt;/a&gt; 验证插件（Ubuntu-Server仅有root账号默认使用auth_socket plugin），所以需要以系统管理员 root 用户启动 Mysql 才可以正常登录。&lt;/p&gt;</description></item><item><title>初次安装Ubuntu-desktop后的常用配置</title><link>https://yearliny.com/configuration-after-initial-installation-of-ubuntu-desktop/</link><pubDate>Sun, 18 Feb 2018 19:48:55 +0800</pubDate><guid>https://yearliny.com/configuration-after-initial-installation-of-ubuntu-desktop/</guid><description>&lt;p&gt;每次重新安装Ubuntu（当前版本是18.04LTS）桌面版后都会进行一些配置，让自己用的更顺手一些，这里记录一些常用的配置和软件。&lt;/p&gt;&#10;&lt;p&gt;&lt;img&#10; src="https://yearliny.com/wp-content/uploads/2018/02/Screenshot2018-05-25.png"&#10; alt=""&#10; loading="lazy"&#10; decoding="async"&#10; &#10; width="1366" height="768"&#10; &#10;/&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;迟到的晒桌面&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Ubuntu搭建LAMP环境</title><link>https://yearliny.com/ubuntu-install-lamp/</link><pubDate>Mon, 07 Aug 2017 21:49:09 +0800</pubDate><guid>https://yearliny.com/ubuntu-install-lamp/</guid><description>&lt;p&gt;LAMP环境是许多WEB程序的标配，LAMP环境包括Linux、Apache2、Mysql、PHP，作为最流行的WEB程序环境，安装的过程也在不断的被简化，在Ubuntu中安装LAMP环境甚至只需要一行命令。&lt;/p&gt;</description></item><item><title>Ubuntu使用SMTP发送Mail</title><link>https://yearliny.com/ubuntu-uses-smtp-to-send-email/</link><pubDate>Fri, 28 Oct 2016 22:17:05 +0800</pubDate><guid>https://yearliny.com/ubuntu-uses-smtp-to-send-email/</guid><description>&lt;p&gt;在Linux下发送邮件在一些时候会很有用，主要是配合一些脚本完成自动化操作的操作过程，还有一个重大的作用就是配合PHP程序发送邮件，如WordPress的回复邮件提醒，对于一些不喜欢安装插件来实现邮件功能的人，就可以通过配置Linux来支持&lt;code&gt;mail()&lt;/code&gt;函数。&lt;/p&gt;</description></item><item><title>Ubuntu设置alias别名</title><link>https://yearliny.com/ubuntu-set-alias/</link><pubDate>Mon, 24 Oct 2016 21:20:35 +0800</pubDate><guid>https://yearliny.com/ubuntu-set-alias/</guid><description>&lt;p&gt;在Linux的日常操作中，经常会输入一些命令，这些命令很长并且需要经常使用，长时间如此难免会产生厌倦感，于是可以通过设定别名来简化这些命令。&lt;/p&gt;</description></item><item><title>crontab用法</title><link>https://yearliny.com/crontab-usage/</link><pubDate>Wed, 28 Sep 2016 21:11:26 +0800</pubDate><guid>https://yearliny.com/crontab-usage/</guid><description>&lt;p&gt;crontab是Linux下的定时任务工具，能够定期执行指定操作，需要在某个时间反复执行的任务，比如备份就需要用到crontab，帮助管理员定时完成备份操作。执行&lt;code&gt;crontab -e&lt;/code&gt;命令就能开始编辑定时任务了，第一次执行需要选择编辑器，比如nano、vim等编辑工具，在之后也可以通过&lt;code&gt;select-editor&lt;/code&gt;命令重新选择编辑工具。&lt;/p&gt;</description></item><item><title>Linux增加虚拟内存</title><link>https://yearliny.com/linux-adds-virtual-memory/</link><pubDate>Sat, 24 Sep 2016 21:21:24 +0800</pubDate><guid>https://yearliny.com/linux-adds-virtual-memory/</guid><description>&lt;p&gt;Linux和Windows都有虚拟内存，其通常是作为内存不足情况下的替代品，避免内存不足情况下的服务异常。内存的读写速度远高于硬盘读写速度，所以当实际内存充足的情况下使用虚拟内存反而会降低系统的运行速度，频繁读写也会降低硬盘的使用寿命，所以&lt;strong&gt;不建议在大内存系统中设置虚拟内存&lt;/strong&gt;。&lt;/p&gt;</description></item><item><title>Ubuntu搭建WordPress完整过程</title><link>https://yearliny.com/ubuntu-build-a-complete-process-wordpress/</link><pubDate>Sat, 13 Feb 2016 19:02:00 +0800</pubDate><guid>https://yearliny.com/ubuntu-build-a-complete-process-wordpress/</guid><description>&lt;p&gt;WordPress作的世界上最流行的博客程序，换来换去依然选择了它；因为它完整的社区支持，庞大的插件系统，拥有最全面的主题样式。基本上使用过程中的所有问题都能够从网上找到答案，可定制性极强，非常适合想要安心写博客的人。&lt;/p&gt;&#10;&lt;p&gt;WordPress 的“后悔成本”很低，即当你不想继续使用 WordPress ，可以轻松的迁移到其他博客平台。因为其他博客若是想要获得用户，就需要让用户量第一的 WordPress 使用者可以迁移过去。所以当世界第二大博客程序超过WordPress之前，我想我大概不会去换博客了，于是在此记录下我的安装过程。&lt;/p&gt;</description></item></channel></rss>