-u root-p creat drupal_db
3. mysql-u root-p drupal_db 4. Change $ db_usr and $ base_url in vi sites/default/settings. php to "root" for the user name and password,
Now it should have been configured. I have set up the virtual machine and my windows network. I didn't set the network in the previous two days. It turns out that I switched the system to overwrite the settings, remove the firewall in vnet1.
5. Open http: // 192.168.0.3 and the Apache authentication interface is displayed. It indicate
Let's talk about Drupal.
Quoted Baidu Encyclopedia, Drupal is an open source content management System (CMS) platform, it is written in PHP. It is primarily used to construct dynamic Web sites that provide a variety of functions and services, including user management (Useradministration), publishing workflows (publishing Workflow), discussions, news aggregation (newsaggregation), metadata ( Metadata) Opera
Preparing the Environment First install a new Drupal, recommend the use of Drush installation, convenient and rapid. First build a database, remember the user and password. # # #进入mysqlMysql-uroot-pCREATE DATABASE ' mydb ' CHARACTER SET UTF8 COLLATE utf8_general_ci;GRANT all in ' mydb '. * to ' username ' @localhost identified by ' password ';### #退出mysql drush installation Drupal7: Drush DL drupal-7.x; #-
Reprint Please specify source: http://blog.csdn.net/panjunbiao/article/details/9860849
Today will try to upgrade the Drupal website from 7.22 to 7.23, below is the upgrade note.
1. Set the site to Maintenance mode (in configuration-development)
2. Back up the MySQL database
Mysqldump-uroot-p drupaldb > Drupaldb-20130809-1450.sql
3. Download the new Drupal kernel and unzip it
CD ~ wget http://ftp.drupal.o
Aicache Accelerated Performance test report in Drupal environment--620 times times faster request
Wang Lifei from "Aicache Drupa performance Testing"
The following stress tests are performed with the Apache Bench tool for existing Drupal installations. The results are more drupal than for installing and not installing Aicache WEB application Accelerator. Configu
See a lot of people about Joomla and Drupal article, it seems that everyone is saying that Joomla is not good, much worse than Drupal, in fact, is it true?
Or is this just before, to the time of Joomla 3 and Drupal 7/8, or is that so?
Reply content:Joomla has now developed to the framework level, currently based on th
Drupal uses the. info file to save topic (theme) and module (modules) basic data (metadata).Coding: We recommend using UTF-8. This is a no BOM (Byte Order Mark).Here is an example of a. InfoName = really Neat Widgetdescription = provides a really Neat widget for your site ' s sidebar.core = 7.xpackage = Viewsdepe Ndencies[] = viewsdependencies[] = panelsfiles[] = Tests/example.testconfigure = Admin/config/c
Drupal uses the. info file to save the basic data about theme and modules (metadata ).
Encoding: UTF-8 is recommended, that is, BOM (byte order mark) is not included ).
The following is an example of. info.
name = Really Neat Widgetdescription = Provides a really neat widget for your site's sidebar.core = 7.xpackage = Viewsdependencies[] = viewsdependencies[] = panelsfiles[] = tests/example.testconfigure =
What skills are needed in Drupal development? Here, let's take a look at the big screen (see below)According to the diagram above, a table is probably listed:
Technical Direction
Detailed Description
Community personnel
drupal.org account, post, organize and participate in the offline party, QQ Group, etc.
Content editing
Site comments, content, automatic publishing, audit and other skills. Menus, users,
Install httpd, mariadb, and PHP, start httpd and mariadb, and create a database of UTF-8 character sets.
Download Drupal core and Drupal Translations 2 files on the Drupal website: drupal-7.34.tar.gz drupal-7.34.zh-hans.po .
tar
of time. The following code demonstrates how to store the data of a complex computational result in a Drupal cache table for long-term storage purposes.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Functionmy_module_function () { $my _data=drupal_static (__FUNCTION__); if (!isset ($my _data)) {if ($cache =cache_get (' My _module_data ') { $my _data= $cache->data; } else{//writes some high-cost
the updated item.
5. Next, set the path of "song2artist" to musictab/s2a, indicating that the menu tab appears.
6. Set the menu option for "song2artist". Select the menu tab and set the sequence to 1.
7. After memory is saved to the left-side Navigation Pane, the "audio and audio" menu will be found, or the following will be entered in the URL layout:Http://140.112.X.XX/drupal? Q = musictabA simple menu tabs completes the upload.
PHP 7 just officially released on December 3, Web development framework Zend Company immediately published a new version of the PHP performance of the Big car report, in addition to PHP 7 and PHP 5.6, but also the HHVM 3.7 version of the comparison.
Zend Company selected a few well-known software and framework, including the Electronic Business platform magento, open source CRM software SugarCRM, CMS system Drupal and WordPress, development framewor
For details about how to create a module, see Drupal 7 module development and establishment.
If you want to support Chinese characters, the file format must be saved as UTF-8, no BOM
------------------------------
To create a separate table for your module, you need to useHook_schema
Table Name: myform
Function my_first_module_schema () {$ schema ['myform'] = array ('description' => 'first Form ', 'field
Drupal installation process Drupal
The entire installation process is very simple, as described in install.txt, because I want to make the website all adopt UTF-8 encoding, so you need to do the following special steps:
1. modify include/database. mysql. inc. add code in 33 lines:
@ Mysql_query ("set names UTF8 ;");
Its role is to let the PHP program in the ent
Drupal installation process Drupal
The entire installation process is very simple, as described in install.txt, because I want to make the website all adopt UTF-8 encoding, so you need to do the following special steps:
1. modify include/database. mysql. inc. add code in 33 lines:
@ Mysql_query ("set names UTF8 ;");
Its role is to let the PHP program in the ent
The first candidate version of Drupal 8.2.0 was released, and we adopted a semantic version and a regular release during the Drupal 8 update, and made significant changes (basic tutorial qkxue.net). Drupal 8 also provides backwards compatibility in a timely manner.
For details about how to create a module, see Drupal 7 module development and establishment.
If you want to support Chinese characters, the file format must be saved as UTF-8, no BOM
------------------------------
Hook_help provides help information for this module. We should replace the hook with our module name. Here we create a my_first_module_help file in the my_first_module.module file.
function my_fir
Http://www.paangood.com/howtopurchase.phpHome> forums> other discussion areas> which Drupal VM space is the best for website creation?
Website Construction
Published by scapabc on Tuesday
Drupal6 + ubercart2 is used for e-commerce websites. There are about 1 GB of images and other files, and the MySQL database is about MB. I want to rent a virtual host space. I don't know which one can recommend a
Using Drupal to build a website for a company, what modules do you probably need? The main site is to do some propaganda and some message consulting, it is best to have a trading function. What are some of the modules for implementing these features? Are there any other modules recommended for use?
Reply content:Don't bother, you build this website finally also failed, probably you just want to make a vote? or an internal employee?
Why would I say t
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.