Yii2 yii\db\exception Error in Linux
Error indication: Database exception–yii\db\exception sqlstate[hy000] [2002] No such file or director error
Reason: PDO cannot be linked to a mysql.sock (or mysqld.sock) file path in PHP
The installation environment for this article is UBUNTU14 64-bit, JDK version is jdk1.6.0_38, installation file name is Jdk-6u38-linux-x64.bin (different installation files are downloaded according to the system):
First, the question:
When the program executes the query, order by cannot find the column to sort
Second, the settlement:
In the Linux environment, before the program to connect to other libraries can be normal operation, but after the
1. Download the installation packageWebsite address: https://tomcat.apache.org/download-70.cgiSelect the appropriate version: I choose Tomcat 7.0.85, which can be downloaded as needed apache-tomcat-7.0.85.tar.gzAfter the download is complete, upload
A Linux Red Hat series is used primarily for server and development environments.II. installation Process
Put the CD into the optical drive, boot the system from the optical drive, and enter the system installation interface.
Choose to
31.1 Udevadm Info: Querying the device information in the UDEV database
31.2 Mkdnod: Creating block devices and character device files
31.3 Makedev: Creating a device in/dev
31.4 lsblk: Listing block device information
31.1 Udevadm Info:
46.1 Mkfontdir: Creating an index of X font files
46.2 Dumpiso: Dumps the IEEE 1394 synchronous channel packets
46.3 iconv: Convert file Encoding
46.4 Hash: Display and delete hash tables
46.5 Isb_release: Displays information about LSB
ArchiveA lot of documents, very messy,Easy to use, consult, readManaged (delete files in bulk)Compressiona.txt/etc/passwd text files save space after compressionAaa.jpeg may occupy more space after compressionCause: The picture and the video itself
17.1 rpm:rpm Package Manager
17.2 Rpmargs: Handling RPM Packages
17.3 Rpmbuild: Building RPM Packages
17.4 Rpmdiff: Compare the differences between two packages
17.5 Rpmelfsym: List symbols by object file in RPM package
17.6
Eight weeks three sessions (March 28)10.32/10.33 rsync via service sync10.34 Linux system logs10.35 Screen ToolExtended
Linux log File Explorer Logrotate http://linux.cn/article-4126-1.html
Xargs Usage Detailed
33.1 access control procedures for XHOST:X servers
33.2 XINIT:X Window System initialization
33.3 xlsclients: List running client applications in the display
33.4 xlsfonts: Displays the X Server font list
33.5 Resize: Setting the
Liunx command (1), Liunx command (
Common commands:
Ls: Short for list. The list of the current directory is printed by default. Use the command: ls [Option] [file directory]
-a,–allList all files in the directory, including.Hidden file.-ASame-aBut
Base of CentOS Shell, centosshell
The default Linux shell version is bash.
All the commands We typed have records; they are saved in the. bash_history file. The command is saved to. bash_history only when the shell is highlighted normally.
!!: Two
Static IP configuration in Virtual Machine linux
First set the network interface configuration file ifcfg-eth01. cd/etc/sysconfig/network-scripts/2. vi ifcfg-eth0# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]DEVICE = eth0 # DEVICE
Basic linux knowledge about the concept, basic linux knowledge1. Basic Knowledge judgment
To check the properties of a file or file d, you can use the test command.
[root @loacalhost ~]#test -e /vitest
Use the test command to check whether the
How to build an ftp server on centos 7 and set up ftp on centos 7
Test Environment
1. CentOS7
2. Test the Server IP address 111.230.247.206
1. Install and start the FTP service
1.1 install VSFTPD
Install vsftpd using yum
Yum install-y vsftpd
1.2
Linux interview questions: how to view linux system memory
Interview notes
Method 1: free
Intuitively shows linux system memory usage and swap Zone capacity
Method 2: top
Dynamically view the resource usage of each process in the system in
Recursive, rlsd, rlsrlsd
The server-side program generally has the following processes: bind, listen, and accept. Then there are various operations after the client and the server are connected.
In contrast, the client program is relatively simple.
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