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.
At this point, database information will pop up; copy it down for later use.
Upload Source Code#
Enter the website root directory.
Delete the initial files automatically created by Baota.
Upload the source code.
Unzip the source code.
Click to enter the unzipped folder.
Select all files in this folder on the right, then choose Cut.
Return to the website root directory and click 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.
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 – -@
On the second page, just mindlessly select the next step.
Follow these steps in this step:
- 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;
- 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;
- Overwrite the database is fine;
- 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";
- Set your own admin username and password; do not set weak passwords like 12345;
- Once everything is done, execute the installation.
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.
Open the domain name + the modified filename, for example, mine is: www.666ym.net/111.php, and you can enter the backend management page.
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.
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).
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!
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