Teach you to use Jachichan novel station

Source: Internet
Author: User

Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall

This article for the new book station, the old webmaster can skip.

I built a novel station only less than one months of time, encountered a lot of problems in the middle, walked a lot of detours, if not have a lot of enthusiastic webmaster help, I think this station (www.kanshu3.com) still need to spend more time to build up. In order to let more new people like me to build a novel station quickly, I put my station process sorted out, hoping to help the new people. Crap don't say, let's get started.

Establish a local test environment

Use Jackie to say a small station, need environment: 1. PHP (4.3.0), 2.Zend Optimizer, 3.MySQL (more than 4.0), 4.apache/apache2. I have walked a lot of detours here, I put the software needed a one, also do not know where the operation is not right, always build a bad local test environment. Then there is an enthusiastic webmaster told me can use Phpnow, a key installation, fast, and not afraid of error.

Download Address: http://www.skycn.com/soft/37687.html

installation to see its description on it, here should be noted that the best your computer is a clean system, has not been installed Mysql,iis. If it has been installed, the Phpnow will be prompted to use the port, if it is occupied, you can only take up the service port to disable. Ways to disable services: Start-Control Panel-management tools-services, disable MySQL and IIS ok.

Install Phpnow After the end of the open IE in the address input: 127.0.0.1 appears the following content description of the installation success.

 

Enter the database password Click Connect, the following results show that the database connection is successful.

MySQL test Results

Server localhost connection normal (5.0.51b-community-nt-log)

Database test is connected properly

Here, the local test environment is set up.

Second, the installation of Jackie Program

1. Download.

I am using the crack version of Jackie 1.5, now this version of the network in random search under a lot of. Download it yourself, lest I hang my horse. The contents of the Jackie folder are copied to the Htdocs under the Phpnow folder after decompression.

2. Import Database.

General Jackie 1.5 cracked version is not a new installation, meaning that there is no install folder, installation of the time only need to import the database file, the database file is a text file such as (Jq1.5.txt).

How to import the database: Open IE input 127.0.0.1/phpmyadmin fill in your database account password login, the general account is root, I have the password is 123456. Go to the interface and find the import and click it.

 

To import the database file, be careful to select the character set of the file as GBK, as shown above. Find your database file Click Execute, the database will be imported successfully.

3, get the registration code, set define.php file.

Open your Jackie folder and see what folder key.php is in, and mine is in the root directory.

Open IE input 127.0.0.1/key.php to fill in your domain name on the page that appears. Here to fill http://127.0.0.1 get a string of code, the code to copy down, open the folder in the Directory Config folder define.php file, according to the following input fill:

@define (' Jieqi_url ', ' http://127.0.0.1 ');(This is very important to fill in, pay attention to the following no/)

@define (' jieqi_site_name ', ' Read and scatter ');

@define (' Jieqi_contact_email ', ' xxx@163.com ');

@define (' Jieqi_main_server ', ' http://127.0.0.1 ');

@define (' jieqi_user_entry ', ' http://127.0.0.1 ');

@define (' jieqi_meta_keywords ', ' reading a novel web; www.kanshu3.com; free online novel; fantasy novel; romantic story; online novel; true novel; urban novel; martial arts; network novel ');

@define (' jieqi_meta_description ', ' reading is one of the largest novel websites in the country, free to provide, fantasy novels, romance novels, online novel, real novels, urban novels, martial arts novels, network novels, such as on-line reading, and always do the fastest update, the novel the most novel web .');

@define (' jieqi_meta_copyright ', ' This novel stands for all novels, posts and novel comments are updated!) only on behalf of the publisher of personal behavior, and the novel station (www.kanshu3.com) position has nothing to do!

All the copyright of this site is the original author! If you inadvertently violate your rights, or contain illegal content, please contact us in time, we will respond in the first!

@define (' Jieqi_banner ', ');

@define (' Here fill in the registration code just copied ');

@define (' Jieqi_db_type ', ' MySQL ');(This is the database type, do not change)

@define (' Jieqi_db_prefix ', ' Jieqi ');

@define (' jieqi_db_host ', ' localhost ');(this individual change)

@define (' Jieqi_db_user ', ' root ');

@define (' Jieqi_db_pass ', ' 123456 ');

@define (' jieqi_db_name ', ' MySQL ');(This is the database name)

Write it and save it.

4, test the website and login backstage.

Open IE input 127.0.0.1 this time will appear the default homepage of the program, input 127.0.0.1/admin into the background, account password are admin. At this point, Jackie novel station program installation completed.

Iii. collection of novel data

At this time, some people may say, the layout is not set up, how to start collecting data? I have to explain, because now this local test station is no data, a book is not, how can you see the layout effect? So we can collect a small amount of data, arrange the layout before the effect.

1. Collecting rules. Find a few collection rules, online search under a lot of, pay attention to 1.5 collection rules. Put the downloaded collection rules in the configs\article. If trouble, I have a few here, download it yourself.

16K Acquisition Rule Eight acquisition rule flying pool collection rules

2, modify the collectsite.php file. Open the collectsite.php in the Configs\article and add the collection rules according to the writing format. As:

$jieqiCollectsite ['] [' name '] = ' xx literature net ';

$jieqiCollectsite ['] [' config '] = ' xx_com ';

$jieqiCollectsite ['] [' url '] = ' 1 ';

$jieqiCollectsite ['] [' subarticleid '] = ';

$jieqiCollectsite ['] [' enable '] = ' 1 ';

3. Start collecting. Enter the site backstage--module Management-novel series-batch collection-according to the page batch collection, click Start Collection. Acquisition speed is very fast, pick a more than 10 novels on it, mainly to see the effect of the home page.

Four, home block settings

The data has, open the homepage can see some novel list, but the interface is not good-looking, this time we can begin to set up the display block in the background.

1. Modify the display block. Login background--system management--block management. Here you can see a list of blocks with block names, locations, sorting, and display types. We can click Edit to modify. In general, we only modify the block title, display position, display type is OK. Every block description here is very clear. I don't have much to say here. Note here what block you want to display, and be sure to change the display type to display when you edit the block.

2, clear the cache, generate static home. After the display block is set up, sometimes we reopen the home page and may not see the change because the cache is not cleared. In the system tools, we can clean up the cache, and then refresh the static home page, then open the homepage of the site can be seen changes.

The first page to display the block set up, our book station in the local establishment. Local tests feel satisfactory and can be uploaded to space. After you want to modify what effect can be in the local test and then upload to space.

V. Uploading programs to space

1, here to note that the upload to the space is the new Jackie program, but also to re-import the database files and modify the define.php file. How to import a database file I'm not going to repeat it here. You can contact your space provider and ask them to help you import the database.

2, modify the define.php, first to obtain the registration code, and then fill in the define.php file URL, database type, name, account number, password and other information, writing and above in the local similar. Make the modified define.php file cover the file in space, your website program can be used. Modifying the Define file is a hassle, mainly because of the registration code problem, so try more here.

3, into the background to adjust the block settings and your local test settings as well, so you can ensure that the station in your space and the local test station to display the same effect.

4, the local collectsite.php and collection rules to cover the corresponding folder within the space. So you can start collecting.

At this point, your book station is set up. Hope that the new book station to see my tutorial has been harvested, the above content if there is no understanding of the place can add Q group 7427537 and I exchange, I am also new, I hope we make progress together.

Today's tutorial first here, follow-up I will continue to be on the Integration DZ Forum and call on the first page, how to achieve pseudo static tutorials, this depends on the netizens, because you have the support of my continued to go out of the tutorial motivation. Please restrain the spray, thank you.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.