小工具      在线工具  汉语词典  dos游戏  css  js  c++  java

wix log_如何正确地从Wix切换到WordPress(逐步操作)

python,java,wordpress,大数据,github 额外说明

收录于:17天前

维克斯日志

想要从 Wix 切换到 WordPress?

想要从 Wix 切换到 WordPress?

Wix is a 流行的网站建设者 that lets you create a simple website, fast. However, many Wix users soon realize that their options are limited and adding extra features can become quite expensive.

Wix是流行的网站建设者 ,它使您可以快速创建一个简单的网站。 但是,许多Wix用户很快意识到他们的选择是有限的,添加额外的功能可能会变得非常昂贵。

如果您想要更多功能和灵活性而又不想承担高成本,那么切换到自托管 WordPress 是最佳选择。 WordPress 为互联网上超过 32% 的网站提供支持,因为它非常强大。在本文中,我们将向您展示如何正确地从 Wix 迁移到 WordPress,并完全自由地发展您的网站。

如果您想要更多功能和灵活性而不增加成本,那么切换到自托管 WordPress 是最好的选择。 WordPress 功能强大,为互联网上超过 32% 的网站提供支持。在本文中,我们将向您展示如何正确从 Wix 迁移到 WordPress,并完全自由地发展您的网站。

Move from Wix to WordPress

在审查了从 Wix 迁移到 WordPress 的各种不同方法后,我们认为最简单的方法是通过 RSS 导入博客文章。

在回顾了从 Wix 到 WordPress 的不同方法之后,我们认为最简单的方法是通过 RSS 导入博客文章。

在本分步指南中,我们将引导您完成将 Wix 网站转移到 WordPress 的过程。根据 Wix 网站上的页面数量,迁移最多可能需要一个小时。

在本分步指南中,我们将引导您完成将 Wix 网站转移到 WordPress 的过程。根据 Wix 网站上的页面数量,迁移过程最多可能需要一个小时。

Here are the 从 Wix 迁移到 WordPress 的步骤:

这是从 Wix 迁移到 WordPress

  1. Sign up for WordPress web hosting

    注册WordPress虚拟主机
  2. Setup your new WordPress site

    设置新的WordPress网站
  3. Customize your site’s style and appearance

    自定义网站的样式和外观
  4. Import your blog posts via RSS

    通过RSS导入您的博客文章
  5. Convert your Wix pages to WordPress

    将您的Wix页面转换为WordPress
  6. Create your main navigational menu

    创建您的主导航菜单
  7. Redirect Wix to WordPress

    将Wix重定向到WordPress

准备好从 Wix 切换到 WordPress 了吗?让我们开始吧。

准备好从 Wix 切换到 WordPress 了吗?开始吧。

第1步:注册WordPress 网络托管 Step 1: Signup for WordPress 虚拟主机

To 创建 WordPress 博客, the first thing you’ll need is a web hosting account for your website.

创建 WordPress 博客 ,您需要做的第一件事就是为您的网站建立一个虚拟主机帐户。

网络托管是您网站在互联网上的家。这是存储所有文件和数据的位置。

网络主机是您网站在互联网上的家。这是存储所有文件和数据的地方。

You will also need a 域名 (such as www.yoursite.com). This is your website’s address on the internet.

您还将需要一个域名 (例如www.yoursite.com)。 这是您网站在互联网上的地址。

当您使用 Wix 时,他们会为您托管您的网站,这也是其相当有限的原因。另一方面,WordPress 是一款免费软件,因此您需要一个安装位置。这就是您需要购买网络托管和域名的原因。

当您使用 Wix 时,他们会为您托管网站,这就是为什么它非常有限。另一方面,WordPress 是一款免费软件,因此您需要一个安装位置。因此,您需要购买虚拟主机和域名。

We highly recommend that you use 蓝主机 because they are an official WordPress.org recommended hosting provider.

我们强烈建议您使用蓝色主机,因为它们是WordPress.org推荐的官方托管服务提供商。

They have agreed to give WPBeginner readers 免费域名 and over 60% 折扣 on web hosting when you use our special Bluehost优惠券 code.

他们同意为WPBeginner读者提供一个免费域名,并在您使用我们特殊的Bluehost 优惠券代码时提供超过60%网络托管折扣

→ 点击此处领取 Bluehost 独家优惠 ←

→点击此处领取 Bluehost 独家优惠←

If you want to look at more options, then we have a list of the 最好的 WordPress 托管 providers that you can choose from.

如果您想查看更多选项,那么我们为您提供了最佳 WordPress 托管提供商列表,您可以从中选择。

Some other companies that we recommend are 站点地面 and 主机鳄鱼.

我们推荐的其他一些公司是站点地面主机鳄鱼

In this tutorial, we’ll use 蓝主机 for screenshot and examples.

在本教程中,我们将使用蓝主机截屏和示例。

如果您已经在 Wix 上注册了域名,那没问题。注册 Bluehost 时,您可以在“我有域名”选项下输入您现有的域名。

如果您已经通过 Wix 注册了域名,那没问题。注册 Bluehost 时,您可以在“我有域名”选项下输入您现有的域名。

Enter your existing Wix domain name on the right

在本指南的后面部分,我们将引导您了解如何在新的 WordPress 网站准备就绪时转移您的域名。

在本指南的后面部分,我们将引导您了解如何在新的 WordPress 网站准备就绪后转移域名。

步骤2:设定新的WordPress网站 Step 2: Setup Your New WordPress Site

购买新的托管计划后,您需要安装和设置 WordPress。

购买新的托管计划后,您需要安装并设置 WordPress。

如果您注册了 Bluehost,那么他们会自动为您安装 WordPress,您只需从托管帐户登录 WordPress 仪表板即可。

如果您注册了 Bluehost,他们会自动为您安装 WordPress,您只需从托管帐户登录 WordPress 仪表板即可。

登录后,您将看到 WordPress 管理仪表板:

登录后,您将看到 WordPress 管理仪表板:

WordPress admin dashboard

All other WordPress hosting companies also offer 1-click WordPress installers from their hosting dashboard. If you need help installing WordPress, then you can refer to our step by step guide on 如何安装WordPress for beginners.

所有其他WordPress托管公司还从托管仪表板提供一键式WordPress安装程序。 如果您需要安装WordPress的帮助,则可以参考我们的入门指南, 学习如何为初学者安装 WordPress

Once you login to WordPress admin area, it’s a good idea to set your WordPress 永久链接.

登录WordPress管理区域后,最好设置WordPress 永久链接

您的永久链接设置将决定每篇博客文章的地址。例如,不要将博客文章发布到:

您的永久链接设置将决定每篇博客文章的地址。例如,不要将博客文章发布到:

www.yourblog.com/2017/10/blog-post-title

www.yourblog.com/2017/10/blog-post-title

您可以将其发布到:

您可以将其发布到:

www.yourblog.com/blog-post-title.

www.yourblog.com/blog-post-title

You can change your permalink settings by navigating to 设置 » 固定链接 in your WordPress dashboard. Once you have selected the structure you want, click on the 保存更改 button at the bottom.

您可以通过导航到WordPress仪表板中的“设置”»“固定链接”来更改永久链接设置。 选择所需的结构后,单击底部的“ 保存更改”按钮。

Change WordPress permalinks before importing Wix

For more details about permalinks, you can check out our post on WordPress 中 SEO 友好的 URL 结构.

有关永久链接的更多详细信息,您可以查看我们有关WordPress 中具有 SEO 友好 URL 结构的文章

步骤3:自订网站设计 Step 3: Customize Your Site’s Design

Next, you should customize the appearance of your website. It’s easy to do that using WordPress 主题.

接下来,您应该自定义网站的外观。 使用WordPress 主题很容易做到这一点。

WordPress 主题类似于 Wix 模板,它们控制 WordPress 网站的外观和显示。

WordPress 主题与 Wix 模板类似,它们控制 WordPress 网站的外观和显示。

有数以千计的免费 WordPress 主题可供您使用。有些主题非常基本和简约,而其他主题则会为您的网站添加很多新功能。

有数以千计的免费 WordPress 主题可供您使用。有些主题非常基本和简约,而其他主题则会为您的网站添加许多新功能。

WordPress themes

As a WordPress beginner, you may want to start with a simple theme that’s easy to use. We have a list of recommended 简单的 WordPress 主题 you can take a look at to get started.

作为WordPress初学者,您可能想从一个易于使用的简单主题开始。 我们提供了推荐的简单的 WordPress 主题列表,您可以查看这些主题以开始使用。

Wondering how to decide on a theme? You can check out our article on 选择完美的 WordPress 主题 for tips and advice.

想知道如何确定主题? 您可以查看有关选择完美的 WordPress 主题文章, 经过获取提示和建议。

Once you have found a theme you like, you can install it by following our guide on 如何安装 WordPress 主题.

找到喜欢的主题后,可以按照关于如何安装 WordPress 主题指南安装

请记住,您将来可以轻松更改主题,因此不要在此步骤上花费太多时间,这一点很重要。

请记住,您将来可以轻松更改主题,因此不要在此步骤上花费太多时间,这一点很重要。

您甚至可以使用默认的 WordPress 主题并开始迁移过程。因为最重要的部分是将所有内容从 Wix 转移到 WordPress。

您甚至可以使用默认的 WordPress 主题并开始迁移过程。因为最重要的部分是将所有内容从 Wix 迁移到 WordPress。

步骤4:将您的Wix博客文章导入WordPress Step 4: Import Your Wix Blog Posts to WordPress

在此步骤中,我们会将您的 Wix 博客文章转移到您的新 WordPress 网站。

在此步骤中,我们会将您的 Wix 博客文章转移到您的新 WordPress 网站。

Wix 是一个封闭的平台,他们没有为用户提供将内容从 Wix 迁移出来的简单方法。

Wix 是一个封闭的平台,他们不为用户提供将内容从 Wix 迁移出来的简单方法。

But we can still automate the process by importing your Wix RSS订阅, instead of recreating each blog post manually.

但是,我们仍然可以通过导入Wix RSS订阅来自动化该过程,而不是手动重新创建每个博客文章。

首先,您需要下载 Wix RSS 文件。

首先,您需要下载 Wix RSS 文件。

You can locate the file by adding /feed.xml or /blog-feed.xml to your Wix website URL.

您可以通过将/feed.xml/blog-feed.xml添加到Wix网站URL来找到文件。

If you don’t have a custom domain with Wix, then you can find your RSS feed at username.wixsite.com/blogname/feed.xml or username.wixsite.com/blogname/blog-feed.xml, where “username” is your Wix username and “blogname” is the name of your blog.

如果您没有使用Wix的自定义域,则可以在username.wixsite.com/blogname/feed.xmlusername.wixsite.com/blogname/blog-feed.xml找到RSS提要,其中“用户名”是您的Wix用户名,“ blogname”是您博客的名称。

If you have a custom domain such as www.yourwixblog.com, then you can find your RSS feed at www.yourwixblog.com/feed.xml or www.yourwixblog.com/blog-feed.xml.

如果您拥有自定义域,例如www.yourwixblog.com ,则可以在www.yourwixblog.com/feed.xmlwww.yourwixblog.com/blog-feed.xml找到RSS源。

导航到正确的 URL 后,您应该会看到一个充满代码的页面。

导航到正确的 URL 后,您应该会看到一个充满代码的页面。

Go ahead and right-click anywhere on the page and click 另存为 to save the file in your computer.

继续并右键单击页面上的任意位置,然后单击另存为为将文件保存在计算机中。

Save Wix RSS feed

Now that you have your RSS file, you can log in to your WordPress dashboard and click on 工具 » 导入.

有了RSS文件后,您可以登录WordPress仪表板并单击工具»导入

Next, click the 现在安装 link under the RSS heading.

接下来,单击RSS标题下的现在安装链接。

Wix to WordPress migration using RSS feed

After a few seconds, you’ll see a link at the top of the page to 运行导入器. Go ahead and click the link.

几秒钟后,您将在页面顶部看到一个指向运行导入器的链接 。 继续并单击链接。

Next, you need to click the 选择文件 button and select the feed.xml file that saved to your computer. Once selected, you can click the 上传文件并导入 button.

接下来,您需要单击“ 选择一个文档”按钮,然后选择保存到您的计算机的feed.xml文件。 选择后,您可以单击“ 上传文件并导入”按钮。

Click the upload button to transfer Wix to WordPress

如果您有很多博客文章需要导入,则可能需要几分钟才能将它们全部导入。

如果您有很多博客文章需要导入,则可能需要几分钟才能将它们全部导入。

完成后,您会看到一条确认消息。

完成后,您将看到一条确认消息。

Your Wix blog posts imported to WordPress

To check on your blog posts and make sure they were exported from Wix correctly, you can navigate to 帖子 » 所有帖子 and click 看法 underneath each post.

要检查您的博客文章并确保它们已正确地从Wix导出,您可以导航至文章 » 所有文章 ,然后单击每个文章下方的查看

Blog posts imported

此时,您的博客文章内容已转移,但有一个问题:您文章中的所有图像仍由 Wix 托管。

此时,博文的内容已转移,但有一个问题:博文中的所有图像仍由 Wix 托管。

幸运的是,有一种简单的方法可以解决此问题并将您的图像移至 WordPress。

幸运的是,有一个简单的方法可以解决这个问题并将图像移动到 WordPress。

All you need to do is install and activate the 自动上传图片 plugin.

您需要做的就是安装并激活“ 自动上传图片”插件。

Plugins are like apps for WordPress that allow you to add new features. We have a step by step guide on 如何安装 WordPress 插件.

插件就像WordPress的应用程序一样,可让您添加新功能。 我们提供了有关如何安装 WordPress 插件的分步指南。

安装并激活插件后,您需要重新保存每个包含图像的帖子,插件将在其中导入图像。

安装并激活插件后,您需要重新保存每个包含图像的帖子,插件将在那里导入图像。

逐个编辑每篇文章会非常耗时,但我们有一个方便的技巧,您可以使用它来快速重新保存所有 WordPress 文章。

逐个编辑每篇文章将非常耗时,但我们有一个方便的技巧,您可以使用它来快速重新保存所有 WordPress 文章。

Simply go to 帖子 » 所有帖子 page and then click on the 屏幕选项 button at the top.

只需转到帖子 » 所有帖子页面,然后单击顶部的屏幕选项按钮。

Display more posts

You need to increase the number to 999 in the ‘Number of items per page field’ field and click on the Apply button.

您需要在“每页项数”字段中将数字增加到999 ,然后单击“应用”按钮。

WordPress 将重新加载页面,这次它将一次显示 999 个帖子。

WordPress 将重新加载页面,这次它将一次显示 999 个帖子。

接下来,您需要选择所有帖子,然后选择批量操作菜单下的编辑。

接下来,您需要选择所有帖子,然后选择批量操作菜单下的编辑。

Select all posts

之后,您需要单击“应用”按钮。 WordPress 将向您显示一个包含所有选定帖子的快速编辑框。您只需单击“更新”按钮,WordPress 就会更新您的所有帖子。

之后,您需要单击“应用”按钮。 WordPress 将显示一个快速编辑框,其中包含所有选定的帖子。您只需单击“更新”按钮,WordPress 就会更新您的所有帖子。

See our guide on 在 WordPress 中导入外部图像 for more detailed instructions.

有关更多详细说明,请参阅我们的有关在 WordPress 中导入外部图像指南。

步骤5:将Wix页面导入WordPress Step 5: Import Your Wix Pages to WordPress

导入博客文章后,接下来我们需要将您的 Wix 页面传输到您的 WordPress 网站。

导入博客文章后,接下来我们需要将 Wix 页面传输到 WordPress 站点。

Wix 不提供任何自动化方法来执行此操作,因此我们必须在 WordPress 中逐个重新创建每个页面。

Wix 不提供任何自动化方法来执行此操作,因此我们必须在 WordPress 中逐个重新创建每个页面。

First, you can navigate to the Wix page you want to transfer to WordPress. Highlight all the content (except for the page title). Then you can right click and click on 复制.

首先,您可以导航到要转移到WordPress的Wix页面。 突出显示所有内容(页面标题除外)。 然后,您可以右键单击并单击复制

Copy Wix pages to WordPress

After that, you need to login to your WordPress dashboard and navigate to 页面 » 添加新内容 to recreate the page. At the top of the page, you can type in the page title. Then you can right-click and and click on 粘贴 to recreate the content.

之后,您需要登录WordPress仪表板并导航至页面»添加新页面来重新创建页面。 在页面顶部,您可以输入页面标题。 然后,您可以单击鼠标右键,然后单击“ 粘贴”以重新创建内容。

Paste page content

For help with styling your pages, you can check out our article on 在 WordPress 中添加新帖子或页面.

要获得页面样式的帮助,您可以查看有关在 WordPress 中添加新帖子或页面文章。

When you’re finished styling your page, you can click the 发布 button to publish your page on your new WordPress site.

完成页面样式后,可以单击“ 发布”按钮以在新的WordPress网站上发布页面。

Publish your page

虽然您可以对所有基于文本的页面遵循上述方法,但它不适用于某些页面(例如联系页面)。

虽然您可以对所有基于文本的页面使用上述方法,但它不适用于某些页面(例如您的联系页面)。

You’ll need to install a 联系表格插件 like WPForms to create a contact page. We have a step by step guide on 如何创建简单的联系表格.

您需要安装联系表单插件(如WPForms)才能创建联系页面。 我们提供了有关如何创建简单的联系表格的分步指南。

现在您已经转换了所有内容,最好仔细检查您的帖子和页面,以确保一切正常并且看起来像预期的那样。

现在您已经转换了所有内容,最好仔细查看您的帖子和页面,以确保一切正常并按预期方式运行。

第6步:创建主导航菜单 Step 6: Create Your Main Navigational Menu

Next, you’ll want to make sure your visitors can easily navigate through your new website using your 主菜单.

接下来,您需要确保访问者可以使用主菜单轻松浏览新网站。

You can create a navigational menu by going to 外观 » 菜单. Type in a name for your menu, and click one of the 创建菜单 buttons.

您可以转到外观 » 菜单来创建导航菜单。 输入菜单名称,然后单击“ 创建菜单”按钮之一。

Creating new navigation menu

Next, you can select whichever pages you want to add to your main menu, and click the 添加到菜单 button. When you’ve added all the pages you want, select the menu position.

接下来,您可以选择要添加到主菜单的任何页面,然后单击“ 添加到菜单”按钮。 添加所需的所有页面后,选择菜单位置。

Finally, click the blue 保存菜单 button on the right.

最后,单击右侧的蓝色“ 保存菜单”按钮。

Add pages to menu

现在您的菜单已创建并已显示在您的网站上。

现在,您的菜单已创建并可以在您的网站上使用。

步骤7:将Wix重定向到WordPress Step 7: Redirect Wix to WordPress

您的新 WordPress 网站已完成,您已准备好让读者了解您的举措。

您的新 WordPress 网站已完成,您已准备好让您的读者知道您在做什么。

重要的是不仅要向读者宣布您的举动,而且要设置正确的重定向。

重要的是,不仅要向读者宣布您的举动,还要设置适当的重定向。

您希望旧网站的所有访问者都能登陆新网站上完全相同的页面。这也将使搜索引擎知道您的旧网站已移至新位置。

您希望旧网站的所有访问者都能准确地到达新网站的同一页面。这也将使搜索引擎知道您的旧网站已移动到新位置。

笔记: You can only redirect users to your new WordPress site if you had a custom domain on Wix. Unfortunately, if you were using a wixsite subdomain, then you cannot redirect users to your WordPress site.

注意:如果您在Wix上具有自定义域,则只能将用户重定向到新的WordPress网站。 不幸的是,如果您使用的是wixsite子域,则无法将用户重定向到WordPress网站。

首先,您需要打开一个纯文本编辑器(例如记事本)并粘贴以下代码:

首先,您需要打开纯文本编辑器(例如记事本)并粘贴以下代码:


var hashesarr = { 
"#!about-us/c1it7":'/about/',
"#!contact/ce54":'/contact/',
"#!random-article/c1mz":'/random-article/'
 };

for (var hash in hashesarr) {
    var patt = new RegExp(hash);
    if (window.location.hash.match(patt) !== null) {
        window.location.href = hashesarr[hash];
    }
}


在此代码中,我们添加了三个示例 URL,格式如下:

在此代码中,我们添加了三个示例 URL,格式如下:

"#!about-us/c1it7":'/about/',

"#!about-us/c1it7":'/about/',

该行的第一部分在 URL 中查找字符串。这将是您的 Wix 用户来自的 URL。该行的第二部分是同一页面的 WordPress slug。

该行的第一部分在 URL 中查找字符串。这将是您的 Wix 用户来自的 URL。该行的第二部分是同一页面的 WordPress 插件。

Unfortunately, you will have to manually add each URL in this format. Once you are finished, you need to save this file as redirects.js.

不幸的是,您将必须以这种格式手动添加每个URL。 完成后,您需要将此文件另存为redirects.js

Next, you need to upload this file to your WordPress theme’s /js/ directory using an FTP客户端.

接下来,您需要使用FTP客户端将此文件上传到WordPress主题的/ js /目录。

如果您的主题没有 /js/ 目录,那么您需要创建一个。

如果您的主题没有 /js/ 目录,您需要创建一个。

Now you need to edit your theme’s 函数.php file and add this code at the bottom of the file:

现在,您需要编辑主题的函数.php文件,并将此代码添加到文件底部:


function wpb_wixjs () { 
wp_enqueue_script( 'wixredirect', get_stylesheet_directory_uri() . '/js/redirects.js', array(), '1.0.0', true);
} 
add_action('wp_enqueue_scripts', 'wpb_wixjs');

不要忘记保存您的更改。

不要忘记保存您的更改。

就这样,您现在可以尝试从旧的 Wix 站点访问 URL,以查看重定向的实际效果。

就是这样,您现在可以尝试从旧的 Wix 站点访问 URL,以查看重定向的实际效果。

笔记: These redirects will not redirect search engines and are not very SEO friendly.

注意:这些重定向不会重定向搜索引擎,也不是非常适合SEO。

Lastly, don’t forget to inform your readers of your new address. You can do this by announcing your move on social media, writing a blog post about it, and sending out a notice to your 电子邮件通讯.

最后,不要忘记将您的新地址告知读者。 为此,您可以宣布自己在社交媒体上的举动,撰写有关此话题的博客文章,并向您的电子邮件通讯发送通知。

步骤8:添加基本的WordPress插件 Step 8: Add Essential WordPress Plugins

WordPress 插件 allow you to add more features to your site. Plugins work like Wix apps. There are hundreds of plugins available, free and paid. You can check out our archive of articles about the 最好的 WordPress 插件 if you’re not sure where to start.

WordPress 插件可让您向网站添加更多功能。 插件的工作方式类似于Wix应用程序。 有成百上千的免费,付费插件。 如果不确定从哪里开始,可以查看有关最佳 WordPress 插件的文章存档。

We also have a list of the 必须有 WordPress 插件 for all websites.

我们还列出了所有网站都必备 WordPress 插件

If you’re looking for a Wix style drag & drop page builder, then we recommend using one of these 最好的拖放 WordPress 页面构建器插件.

如果您正在寻找Wix样式的拖放页面构建器,那么我们建议使用以下最好的拖放 WordPress 页面生成器插件之一

就是这样!我们希望本教程可以帮助您轻松地从 Wix 切换到 WordPress。

就这样!我们希望本教程可以帮助您轻松从 Wix 切换到 WordPress。

We would like to welcome you to the WordPress community. To get started with WordPress, please take a look at our 初学者指南 section and our WordPress 初学者视频.

我们欢迎您加入WordPress社区。 要开始使用WordPress,请查看我们的初学者指南部分和适合初学者的 WordPress 视频

If you have a friend still using Wix, then you can show them your new WordPress site and our comparison on WordPress 与 Wix and convince them to switch over.

如果您有朋友仍在使用Wix,则可以向他们展示您的新WordPress网站以及我们在WordPress 与 Wix上进行的比较,并说服他们进行切换。

If you liked this article, then please subscribe to our YouTube 频道 for WordPress video tutorials. You can also find us on 推特 and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube 频道 WordPress视频教程。 您也可以在推特Facebook上找到我们。

翻译自: https://www.wpbeginner.com/wp-tutorials/how-to-properly-switch-from-wix-to-wordpress-step-by-step/

维克斯日志

. . .

相关推荐

额外说明

SpringBoot下如何使用@EnableScheduling定时任务来控制不同环境下是否启用

在springboot 下使用定时任务,总会发现在开发环境时也会跑定时任务,比较影响开发,后面我会讲解怎么在想要的环境中添加配置达到目的. 1.首先我们使用的是配置类的定时任务 2.我们在这个类中加入注解 @ConditionalOnProperty(p

额外说明

JVM——对象创建过程

文章目录 `对象`的加载 1、类加载检查 2、 分配内存 3、初始化 4、设置`对象头` 5、执行 < init > 对象的加载 1、类加载检查 JVM当识别到指令new时,首先会检查这个指令的参数,是否能在常量池中定位到一个类的符号引用。 类解析的时候

额外说明

【1++的C++进阶】之智能指针

-作者主页:进击的1++ - 专栏链接:【1++的C++进阶】 文章目录 一,什么是智能指针 二,为什么需要智能指针 三,智能指针的发展 一,什么是智能指针 要了解智能指针,我们先要了解RAII. RAII是一种利用对象生命周期来控制资源的技术。 在对象

额外说明

Git 的基本操作 ——命令行

Git 的工作流程 详解如下: 本地仓库:是在开发人员自己电脑上的Git仓库,存放我们的代码(.git 隐藏文件夹就是我们的本地仓库) 远程仓库:是在远程服务器上的Git仓库,存放代码(可以是github.com或者gitee.com 上的仓库,或者自己

额外说明

C++程序设计:小数化分数的算法与编程实现(经典问题)

【问题描述】 任何小数都能表示成分数的形式,对于给定的小数,编写程序其化为最简分数输出,小数包括简单小数和循环小数。 【输入形式】 第一行是一个整数N,表示有多少组数据。 每组数据只有一个纯小数,也就是整数部分为0。小数的位数不超过9位,循环部分用()括

额外说明

dump文件类型与dump文件生成方法详解

目录 1、概述 2、dump文件的分类 2.1、dump按大小分类 2.2、查看dump文件中函数调用堆栈中变量的值 3、调用SetUnhandledExceptionFilter设置异常处理回调函数,然后调用MiniDumpWriteDump生成dum

额外说明

quartz 简介、中文文档、中英对照文档 下载

quartz 文档 下载链接(含jar包、源码、pom) 组件名称 中文-文档-下载链接 中英对照-文档-下载链接 quartz-1.6.1.jar quartz-1.6.1-API文档-中文版.zip quartz-1.6.1-API文档-中英对照版.

额外说明

【抓包工具】win 10 / win 11:WireShark 下载、安装、使用

目录 一、WireShark 下载 二、WireShark 安装 (1)双击运行安装程序 (2)Choose Components:选择组件 (3)Additional Tasks:附加任务 (4)Choose lnstall Location:选择安装

额外说明

Docker镜像篇(1) - 轻松制作镜像 - commit

如何使用容器创建镜像呢? 首先我们先运行一个容器 在/date/html目录里写一个简单的页面 重新打开一个窗口1,查看运行的容器 下面我们将刚刚修改的b1容器作为镜像提交,-p参数表示暂时停止容器,进行镜像制作 查看当前镜像,发现没有标签和reposi

额外说明

【Java报错】多数据源mapper异常more than one `primary` bean found among candidates: [sqlSessionFactory] 问题分析解决

1. 报错分析 项目使用了多个数据源,但是没有使用持久层框架,后期加入了 mybatis-plus 插件,启动项目时报错,信息如下: 2021-08-19 09:16:20 ERROR [,,,] [main] o.s.boot.SpringApplic

ads via 小工具