Windows and Linux generate files named at the current time

In Linux we can just use a shell script to instantiate: The code is as follows Copy Code #!/bin/shecho Test >> $ (date-d "Today" + "%y%m%d_%h%m%s"). txt File in date format? On Linux/unix, use ' Date +%y%m%d '

Linux under the Rsync error report detailed introduction

Rsync Configure: Configure a:Ignore errorsDescription: This option is best to add, otherwise many crontab often occur when mistakes you also do not know, because you can not see every day to see the log, not to add this error probability is very

Install mod_security security module in Linux

Install script: Wget-o/tmp/modsecurity.sh-t 0 http://lnamp.yundaiwei.com/modsecurity/install.sh&&sh/tmp/modsecurity.sh * Mod_security is a module of the Apache server that can effectively protect against SQL injection, XSS Cross-site, and other

The Zabbix Web page initialization tutorial in Linux

1, Copy Zabbix page file [Root@zabbix ~]# Cd/home/zabbix/zabbix-2.2.5[root@zabbix zabbix-2.2.5]# cp-r frontends/php/ 2, access to the Web page for initialization Http://192.168.163.7/zabbix Please refer to the second and 2 configuration

A detailed explanation of Yum installation gcc4.8.x method in Linux

Yum installation gcc4.8.1 Detailed steps: Configuring Yum Sources # Vim/etc/yum.repos.d/devtools-2.repo[testing-devtools-2-centos-$releasever]Name=testing 2 Devtools for CentOS $releasever# baseurl=http://puias.princeton.edu/data/puias/devtoolset/$

Using Ansible to bulk deploy zabbix_agent under Linux

More and more machines are being monitored over time, and the amount of data being stored will be more and more, and the response rate will be slower when the data is at a certain time; so we need to clean up some historical data. #!/bin/bash  

Linux under more command usage detailed

If you're used to working on a Linux system, you'll find that there are a lot of text files in the Linux world. Configuration files and log files are usually in text format. These files usually have very long content and cannot be displayed in a

Linux databases are automatically backed up and uploaded to the remote server

  code is as follows copy code #!/bin/ Bash #FTP信息 ftp_ip= ftp_user= ftp_pass= #备份数据库 /etc/init.d/mysqld Stop Mysqlbakname =mysql_$ (date + "%y%m%d"). tar.gz Tar zcf/home/backup/$MySQLBakName/var/lib/mysql

Linux boot Nic method

The ifconfig command can be used to view information such as Linux active network adapters and IP addresses, subnet masks, or MAC addresses [Root@localhost ~]# IfconfigEth0 Link encap:ethernet hwaddr 08:00:27:d4:71:2dinet addr:192.168.1.104 bcast:25

Linux Shutdown Remote Login method

1. Disallow root access via SSH telnetChange/etc/ssh/sshd_config file. Find the following sentence#PermitRootLoginYesbe replaced by the following;PermitrootloginNoNote that the # number is removed from the front.Restarting the SSHD

A detailed explanation of MYSQL5 manual installation method in Linux

1. Get the MySQL program. The appropriate version of MySQL can be downloaded from the official Oracle Web site. I got the MySQL file for: mysql-5.5.29-win32.zip; 2. Unzip the compressed package to the desired directory. Here I extract to D:devmysql

modifying Linux kernel parameters to improve Nginx server concurrency performance

When the Linux Nginx reached a high number of concurrent numbers, the number of TCP time_wait sockets often reached 20,000 or 30,000, so that the server could easily be towed to death. In fact, we can simply modify the Linux kernel parameters to

Memory Management Learning notes in Linux Server

As I said before, Linux mm system details are very many, their own in the exploration of the time, but also try to grasp the main line, here can only extract some of the "main plot" introduction, which can also expand a lot of details, viewers

TCP Default assignment port range settings under Linux

When you start a custom service, you want to use port 8370, but you find that the port is already occupied by nginx or node and cannot be started. But LVs has also applied, change port is more troublesome. So you can modify the next/proc/sys/net/ipv4

Linux installation statusnet prompts statusnet:cannot load required extension Curl error

In the installation of Statusnet, the error: Cannot load required extension curl, see the situation, should be in PHP did not introduce curl, so you should configure the installation in PHP curl to do. Go to/usr/local/php-5.4.14/ext/curl, and then

Modify Nginx for tcp_wrappers in Linux return 444

A few days ago through the tcp_wrappers to prevent some analysis of malicious IP effect or some ... But I still find that it will take up some traffic, so I want to reduce the use of traffic by returning the nonstandard status code of 444. The open

Linux Setup system services boot Chkconfig command

First understand the Chkconfig command. Command format Chkconfig--list [service name]Chkconfig--level [0123456] Service name On|off which parameter meaning: –list: To view the list of system services, the service name is optional.–level: Set the

Configuration for mounting a new hard disk to the home directory in linux (Automatic mounting upon startup)

Linux hard disk recognition:After 2.6 kernel, linux will create the corresponding device file under/dev/on the recognized hardware device. For example:Sda represents 1st SCSI hard disks. # V, z B,} 2 F7 U' |Hda indicates 1st IDE hard disks (that is,

In linux, The phpMyAdmin error message "Wrong permissions on configuration file" appears, and "shocould not be world writable" appears.

After checking the information, it turns out that phpMyAdmin must have the 755 permission to work normally (777 is not available ).So the solution is as follows:Cd to the phpMyAdmin parent directory, The code is as follows:Copy code Chmod-R 755

Install and use the trash-cli plug-in to prevent accidental deletion of files in Linux

Trash-cli provides a set of command-line recycle bin tools. In the Gnome environment, the recycle bin in this command line is consistent with the Gnome recycle bin. Deleted files will enter the recycle bin either in the command line or in the

Total Pages: 5467 1 .... 3904 3905 3906 3907 3908 .... 5467 Go to: GO

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.