'), max_length=32)
sfid=models. Integerfield (Primary_key=true,unique=true,)
phone=models. Integerfield (blank=true,null=true)
emial=models. Emailfield (null=true,blank=true)
def __str__ (self): return
Self.name
If you want to understand models. Charfield () and other methods, you can refer to my article: Django in the Model field.
6 Configuring the Installed_apps property in the settings file
Installed_apps = [
' django.contrib.admin ',
' Django.contrib.auth ',
Server side is mainly installed Memcache server side, the latest version is memcached-1.3.0.
Download: http://www.danga.com/memcached/dist/memcached-1.2.2.tar.gzIn addition, Memcache used libevent This library for socket processing, so also need to install the latest version of Libevent,libevent is libevent-1.3. (If your system has libevent installed, you may
This article shows my process of installing and configuring BIND9 DNS server on a Linux server. I didn ' t touch every aspects of bind9, but following the process, a DNS server was configured with A/AAAA, NAPTR and SRV re Source record types. The DNS server is able to being
enter the installation interface to the Rhel 6.3 installation
RHEL 6.3 Installation
Please see "RHEL 6.3 Installation (Super detailed illustration tutorial)" for details.
Subsequent
After the system is successfully installed, we are ready to install the Jdk,jboss,maven. Before installing Jdk,jboss,maven we need to mount the USB flash drive and copy the correspondin
1. If the system has not been installed squid, in the following order to enter the command to complete the installation
# wget http://www.squid-cache.org/Versions/v3/3.0/squid-3.0.STABLE18.tar.gz//Download Squid agent installation package
# TAR-ZXVF squid-3.0.stable18.tar.gz//Extract Squid installation package
# CD Squid-3.0.stable18
#./configure--prefix=/usr/local/squid--sysconfdir=/usr/local/squid/etc--bindir=/usr/local/squid/bin--sbindir=/ Usr/local/squid/sbin--mandir=/usr/local/squid/share/m
1.sudo apt-get Update2.sudo Apt-get Install Apache23. Check if the installation was successful: Apache2-v4.sudo apt-get Update php5Error occurred: Package PHP5 has no installation candidateSolve:sudo add-apt-repository ppa:ondrej/phpsudo apt-get updatesudo apt-get install php5.65, check Apache2 support file for PHP exists: cat/etc/apache2/mods-enabled/php5.6.loadIf you see a hint at the end of libphp5.6.so
Reference link http://www.5013.org/archives/819LoginSSH [email protected][email protected] ' s password:The installation process is a fool, as simple as putting an elephant in a refrigerator:Curl-o http://vestacp.com/pub/vst-install.shBash vst-install.shError:this script can only is executed by rootsudo bash[sudo] password for ubuntu:Bash vst-install.shFollowing software'll be installed on your system: -Nginx Web server -Apache Web
With the Aliyun host of the fiery launch, a lot of webmaster friends, also began to use the Aliyun server.PHP programs, mostly still run on the Linux system's host.
Today, the introduction of Apache on Aliyun Linux hosts.
Cloud server operating system: CentOS 6.2 64-bit
Client operating Environment: MAC OS X teminal
Operation Steps:
1. Run Terminal, enter co
Tomcat daemon, and then exits and closes the service after CTRL + C Attention:(1) by way of one, mode two start Tomcat has a disadvantage, when the client connection disconnects, the Tomcat service will also stop immediately. (2) through the way the Tomcat is started, its log will be written to the corresponding log file, and cannot dynamically view the Tomcat console output information and error conditions, through mode Two can start the Tomcat service in console mode, directly see the Progra
space name, Repository directory, Subversion will be displayed in the authentication prompt, and as the credentials cache keyword. The default configuration is used. All of the above statements must be shelf written, the left cannot be blank, or an error will occur.Connection#svnserve-D-r/home/svn/aszhezi///start#svnserve-D-r/home/svn/aszhezi/--listen-port 3391//If SVN is already running, it can be run on a different portSo that the same server can r
directories, append the following to the Authz file:#设置 [/] represents all resources in the root directory[/]Zhoulf=rwService svnserve.conf Configuration[Email protected] conf]# VI + svnserve.confAppend the following content:[General]#匿名访问的权限, can be read,write,none, default is readAnon-access=none#使授权用户有写权限Auth-access=write#密码数据库的路径password-db=passwd#访问控制文件Authz-db=authz#认证命名空间, Subversion is displayed in the authentication prompt and is used as a keyword in the credential cacheRealm=/opt/svn/
Tags: table change password Unknown update does not enter Linux server modify install MySQL1, add skip-grant-tables at the end of/ETC/MY.CNF, save, skip authentication.2. Restart MySQL to make the configuration you just modified take effect.3, terminal input MySQL, and then enter use MySQL;4, terminal input Update mysql.user set Authentication_string=password ('
Install GitBook on your own server, and install gitbook on the server
You accidentally found that the open-source EBook production software GitBook, you can configure relevant information on the official website and bind it with your GitHub account to create your own EBook, download is supported in PDF, ePub, and MOBI
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.