Script Code for mysql regular backup in linux

1. prepare the shell script vi/home/zhangy/database_bak.sh #! /Bin/sh # File:/home/zhangy/database_bak.sh # DatabaseinfobakupmysqlTANK2009/11/04 DB_USERroot # Username DB_PASS ******* # Password DB_NA I. prepare shell scripts Vi/home/zhangy/database_

Nginx performs non-80 port forwarding

Nginx can be easily configured as the reverse proxy server {listen80; server_namelocalhost; location/{& nbsp; proxy_passhttp: // 147.16.24.175: 9500; & nbsp; & nbsp; proxy_set_headerHost Nginx can be easily configured as a reverse proxy

Install CentOS5.4 _ x86_64 on a USB flash drive to the server

When I buy a server, the supplier gives me an 8 gb usb flash drive. so I want to use this USB flash drive as a centos installation disk. The main benefits of this operation are as follows: it takes a long time to store the data disk (it becomes

Centos5.4 + Nginx-0.8.50 + UWSGI-0.9.6.2 + Django-1.2.3 build high performance WEB server

I have been using Nginx + Fastcgi to build a pythonweb server. This article introduces how to implement Nginx + UWSGI combination. UWSGI is a fast, self-maintained, and developer-friendly WSGI server developed in pure C language. it aims to provide

Two solutions to rpmconflictswithfilefrompackage

1. uninstall conflicting files and install new files. If you need to uninstall a lot of software due to dependency, you can prioritize the next method. 2. is it added during installation? Replacefiles parameters, such as rpm-ivhxxx.rpm? Replacefiles,

Compile and install PHP5.3.6 on CentOS5.5

CentOS5.6 has not been released, and PHP5.1.6 of CentOS5.5 does not support json/hash. because we are studying the Postfix + Dovecot email system, the new version of RoundCube (v0.5) used by webmail requires PHP version not less than 5.2.1, so I

Commands used for Linux server statistics

Similar to windows Resource Manager, it dynamically displays the usage of processes, memory, and cpu. Top-d1 & nbsp; psaux | moreps sort psaux | sort-k4, 4npsauxw -- sortrsspsauxw -- sort % cpu sort psaux in descending order of uid? Sort-uid & nbsp;

Rpmbuild solution to Installed (butunpackaged) file (s) found

After encountering this problem, I searched for it and integrated your suggestions. If method 1 is used, no error is reported, but the availability of RPM is not confirmed. 1. find % __ check_files/usr/lib/rpm/macros/lib/rpm/check-files % {buildroot}

Vsftpd uses the most secure virtual user settings

To configure a virtual user, generate a database file and run the command db_load. The reason is that the CentOS system does not have the db_load command. if I did not install it in the following procedure, I would lose a database, is not because of

Install mysql5.5.11 in linux

The latest mysql version 5.5.11 requires cmake compilation and installation. it is estimated that this method will be used in later versions. some installation methods are found on the internet and some are incorrect, record the installation steps

Vsftp prompts cannotchangedirectory:/home solution

Waiting for cannotchangedirectory: // home /.... after checking that the user has added the permission for this directory ...... again speechless ing ....... finally, I found the cause: the reason is that the ftp is disabled by the SE configuration.

5 of the best free Linux cache systems

& Nbsp; the importance of caching is self-evident. it is used by the system in a variety of ways and may be stored in memory, hard disk, or database and is often used to process DNS requests. The 8-2 law of Italian economist VilfredoPareto is still

Modify FreeBSD's default shell

A little unaccustomed to csh under FreeBSD. although we can temporarily switch from bash to bash, it seems troublesome to do this once every time, use the chsh command to modify the default shell of FreeBSD: FreeBSD #

Ubuntu11.04 enable 80 remote access of Tomcat6

Ubuntu11.04 it's really hard to find the 80 remote access to Tomcat6. I 've found N more information on the Internet, all about how to open the firewall. However, this is not a Firewall problem at all. it is an option in tomcat configuration that

Quick installation of Cacti in CentOS

& Nbsp; system environment: CentOS5.5 & nbsp; install yum & nbsp; 1. install Nginx platform & nbsp; when compiling PHP, check whether the -- enable-sock parameter is added. & Nbsp; after installation: & nbsp; cd/usr/binln-s & nbsp;/usr/local/php/bin/

Open Linux ifconfig and other system commands for the current user

The newly installed Linux cannot execute the ifconfig command. The Command bash: ifconfigcommandnotfound does not actually configure the ifconfig directory in the environment variable. this program is actually in the/sbin directory. In fact, sbin

UNIX System process

A system process with a PID of 0 is a scheduling process called swapper or sched. No program corresponds to the disk, which is part of the UNIX kernel. If the PID is 1, the init process is created by the kernel during the system self-lifting. The

LinuxKernel "mpt2sas" local permission escalation and information leakage vulnerability and repair

& Nbsp; release date: Update Date: 2011-05-19 & nbsp; affected system: Linuxkernel2.6.xRedHatLinux description: -------------------------------------------------------------------------------- BU Release date: Updated on: Affected systems:Linux

Command line-based music player in Linux

According to my colleagues, I am an excellent command controller. I wrote a music player under the command line to meet my linux command requirements during the idle time of the latest project. Player exploitation technology: Python + GST

FreeBSD (system optimization)

After the ports and src are upgraded, the infrastructure is complete. now let's compile the kernel. Go to the kernel configuration file directory # cd/usr/src/sys/i386/conf # mkdir/root/kernels # cpGENERIC/root/kernels/IM. RD. BJ # ln-s/root/kernels/

Total Pages: 2732 1 .... 2447 2448 2449 2450 2451 .... 2732 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.