X站长

X站长

X站长是一个提供成人网站建站资源的站点,为站长提供X站源码、程序、插件、主题及X站引流推广、广告联盟、CSP、CPA等资讯。

Build Apple CMS 10 from scratch with no foundation, open source and free, can be used for X sites and film and television sites.

maccms
Apple CMS is a free and open-source CMS developed by domestic developers. It is said that the original developer has been taken away for a chat and has not updated it since. The current version of Apple CMS on GitHub is maintained by other developers. Currently, some webmasters have reported that this CMS has issues with backdoor redirects. A solution to this problem will be provided at the end of the article.

Apple CMS - GitHub Address#

苹果cms官网,苹果cmsv10,maccmsv10,麦克cms,开源cms,内容管理系统,视频分享程序,分集剧情程序,网址导航程序,文章程序,漫画程序,图片程序

Download Apple CMS 10#

https://github.com/magicblack/maccms10/releases Go to the update page to download the latest source code.

Install Apple CMS 10#

This tutorial uses the international version of Baota as an example to help beginners quickly learn. If you don't know how to set up Baota, you can check out our tutorial:
https://xzhan.xlog.app/aapanel

Basic Environment#

Nginx 1.22.1 + MySQL 5.7.44 + PHP7.2

Create Website#

Open the Baota panel, select Website on the left, and then click Add site to create a website.

In the pop-up window, enter the domain name you have already resolved. Database settings refer to the database, which needs to be created. Select PHP version 7.2 (some Apple CMS source codes require PHP 7.4), and once done, click Confirm in the lower right corner.
aapanel-create-site
At this point, database information will pop up; copy it down for later use.
aapanel-database

Upload Source Code#

Enter the website root directory.
aapanel-site
Delete the initial files automatically created by Baota.
aapanel-delete-site-files
Upload the source code.
aapanel-upload-site-files
Unzip the source code.
aapanel-unzip-site-files
Click to enter the unzipped folder.
aapanel-maccms-folder
Select all files in this folder on the right, then choose Cut.
aapanel-maccms-folder-cut
Return to the website root directory and click Paste.
aapanel-maccms-folder-paste

Install PHP Extensions#

On the right side of Baota, find the App Store, go to the second page, find PHP7.2, and in the pop-up window, click the second install extensions on the left, then find the fileinfo extension, and click install on the right to install it.
php-fileinfo

Install Apple CMS 10#

Directly open your domain name to enter the Apple CMS 10 installation program.

On the first page, click agree; there are no other options for you – -@
maccms-install
On the second page, just mindlessly select the next step.
maccms-install2
Follow these steps in this step:

  1. Fill in the database username and password you saved earlier; the database name and database username are the same, so just fill them in the same;
  2. For the database prefix, if you are only creating one Apple CMS site, use the default "mac_". If you need to create multiple sites, modify it to "mac1_"12345 or any combination of letters and numbers to distinguish databases and prevent multiple Apple CMS sites from colliding;
  3. Overwrite the database is fine;
  4. After filling in the above information, be sure to click test database connection. If it doesn't succeed after one click, click a few more times until you get the prompt "Database connection successful";
  5. Set your own admin username and password; do not set weak passwords like 12345;
  6. Once everything is done, execute the installation.
    maccms-install3
    maccms backend address
    After installation is complete, this interface will appear; don't worry, this is normal.

Return to Baota, enter the website root directory, find admin.php, and on the right, select Rename to change the name of this page to any name you like in English or numbers. I changed it to 111.php, and keep the .php suffix.
maccms modify backend filename
Open the domain name + the modified filename, for example, mine is: www.666ym.net/111.php, and you can enter the backend management page.
maccms backend login
After entering your username and password, open the system menu at the top, and in the website parameter settings on the right, fill in your domain name, then scroll down to the bottom and select save.
maccms super console

Change Template#

The current Apple CMS 10 is not as considerate as before; the new version does not have a default template, and the homepage is blank.
If you like using Apple CMS 10, you can also purchase paid templates.
Open the Baota panel, enter the website root directory, find the [template] folder, go in, upload the template, and then unzip it. After unzipping, it will exist in folder form (as shown).
maccms template
Press F5 to refresh the page, then re-enter the website parameter settings. You will see an additional X23 template in the dropdown for website templates. Select it, fill in the template directory as "html9" (each template directory is different; if you modify the template directory and the homepage is blank, change the template directory back to "html" and try again), and finally remember to save. Done!
maccms select template

Solution to Apple CMS Redirect Issue#

After many webmasters have confirmed, Apple CMS generally has redirect issues. In fact, I do not recommend beginners use this system, as traffic is difficult to generate now, and the hard-earned traffic can be easily hijacked. This kind of technical oppression can be very frustrating.

A few days ago, I saw this solution in a channel of a helpful webmaster. If you must use Apple CMS and do not have the ability to handle it yourself, you can use this solution to avoid your website being redirected.

Link address: @geiwoip
Apple CMS redirect issue solution

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.