Environment:Ubuntu12.04Problem Description:Could not get Lock/var/lib/apt/lists/lock-open (11:resource temporarily unavailable)The scene appears:Use command: sudo apt-get updateCause resolution:The download failed during the last download of the
Problems encountered and the way to solve them1, Dropbear startup, if prompted missing library, copy the host library files on the directory host-bash-4.1# Cd/usr/local/sbin-bash-4.1#./DROPBEAR-E-FSwitch the terminal to see if the port is
############################ Demand ############################1. Merge log of Sock1 server and log of Sock2 server into Sock2 specified directory2, daily one o'clock in the morning merging, merge log file named YYMMDD3, more than seven days of log
The Easy_install tool in Python works very well, and it acts like a pear in PHP, or a gem in Ruby, or a cpan in Perl.1.easy_install InstallationIf you want to use the Easy_install tool, you need to install Setuptools first, but the cool way is to
I/O redirection:Linux:
: Overwrite output
>>: Append output
SET-C: Disable overwrite redirection for existing files, and force overwrite output, use >|
Set +c: Turn off the above features
2>: Redirect Error output
2>>: Append
I was just beginning to touch the Linux socket programming, while the edge of the understanding of UDP socket programming, my question is that the server does not specify the IP address, the client's destination IP address is 127.0.0.1, so you can
1. First run the following commandsudo apt-get install wget BC build-essential gawk genisoimage2. Download the following resources and make allHttp://pan.baidu.com/s/1nvc09ypOriginally there are two of these are enough, released when it came to a
Integer comparison:-EQ: Tests whether two integers are equal-ne: Tests whether two integers are not equal-GT: Tests whether an integer is greater than another integer-LT: Tests whether an integer is less than another integer-ge: Tests whether an
1 file permission property settings2 3 1. Chown command4 chrep Command5 The chown command alters the owner of a file or directory and the group it belongs to, which can authorize a user to become the owner of the specified file or to change the
Load balancing for SOLR clusters using Nginx on LinuxWhen building the SOLR cluster on Linux, load balancing is required, but there is no F5 big-IP load balancer switch in the test environment, so the WebLogic ProxyServer, and Apache have been tried,
26. Further increase the function (boot auto-load NIC driver, set host name)27.11th Test Start28. Create/etc/sysconfig/network and/etc/issue files29. Set Up Login authentication30.12th Test Start26. Further increase the function (boot auto-load NIC
Set permissions in Linux, generally with the chmod command1. IntroductionPermission Settings chmodFunction: Change the permissions command.Common parameters:1=x (Execute right) 2=w (write right) 4=r (read right)After the setuid is set, the file has
Apache's virtual host encryption and Apache web rewriteConfigure the underlying virtual host for cryptographic authentication(Virtual host news.westos.com)Cd/etc/httpd/conf.dVim news.confServername
First, the cause of the common crashSecond, log analysisThe log system, which is controlled by the Rsyslog.service service, is used to record the system kernel and the log information of each application respectively. Configuration
ctrl+l Clear ScreenCtrl+d exit (logout/exit)Ctrl+u just written the order found wrong can be cleared with Ctrl+uctrl+k Backward to delete the cursor after theCtrl + C Direct Cancel interrupt can also select the above Ctrl+uSleep is dormant meaning
1. Use rpm-qa| First grep vsftpd Command Check whether it is installed, if FTP is not installed, use yum-y install VSFTPD installation, (Ubuntu use Apt-get install vsftpd)2. Service VSFTPD StartStart to let FTP start automatically every time you
1. Text Processing tools (grep, sed, awk)grep: Text Filter tool (mode: pattern);Sed:stream Editor, stream editors, text editors;The implementation on Awk:linux is Gwak, Text Report Generator (formatted text);Regular expressions are used in all three
Simple Linux Command learning notes, linux learning notes
1. View Processes
Ps-ef | grep keyword/* keyword is service name */
Netstat-unltp | grep keyword/* the keyword is the service name or port */
2. Killing Processes
Kill-9 process no./*
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