. Bash_pfofile and. bash_logout and. bashrc files

In Linux,. bash_profile,. bash_logout, and. bashrc files have special meanings for bash. When a user logs on or calls another bashshell, they provide a method to automatically establish the logon account environment and allow various commands to be

Use logrotate to manage iptables logs

Reading Tips: The logs in the Linux firewall are very helpful for debugging rules. you can see where the packages are going, what rules are processed, what rules are processed, and what kind of packages are processed. The following describes how to

Basic iptables configuration method

The system is installed by default. if not, run yuminstall-yiptables to start serviceiptablesstart or/etc/init. d/iptablesstart run the following command to view the iptables configuration: iptables-L-n or directly View/etc/sysconfig/iptables-config

Enable the CentOS system to close the firewall and open specific ports

I have mentioned that the newly purchased server of the company uses CentOS5.5. after deploying Tomcat, I found that I entered 114. 80. *. *: 8080 (ip: 8080), but the default Tomcat homepage cannot be displayed. Because it was previously deployed in

Configure static routes in iptables to use dual-network access

Iptables + static routing configuration of dual-network access author: unknown ----------------------------------------------------------------- iptables-tnat-APOSTROUTING-s192.168.0.0/24-jMASQUERADEiproutereplacede Iptables+ Configure dual-Internet

Basic use of iptables firewall

Iptables is a good firewall software in Linux, this article describes how to install iptables, add and clear rules, open specified ports, and shield basic applications of iptables in CentOS, such as specified ip addresses and ip segments. 1. install

How to install and configure the FastDFS distributed file system in CentOS

FastDFS is an open-source lightweight distributed file system that manages files, including file storage, file synchronization, and file access (file upload and download, it solves the problems of large-capacity storage and load balancing. It is

Iptables setting script

# Http://www.cs.princeton.edu /~ Jns/security/iptables/index.html # PreparedbyJamesC. Stephen # (jns@gfdl.noaa.gov )#! /Bin/bash # Loadappropriatemodules. modprobeip_table # http://www.cs.princeton.edu/~jns/security/iptables -Fiptables -Xiptables

How to configure iptables firewall logs

Configure the syslogd configuration file/etc/syslog. for details about the conf record level, you can view the file syslog. conf generally has the following levels: debug, info, notice, warning, warn, err, error, crit, alert, emerg, panic. Among

Use iptables to protect the email server

This document is intended for beginners of iptables. If you have just learned the principles and basic syntax of iptables, but you still do not know how to actually use this tool in the online server environment, read this article. Iptables's two

How to configure nat forwarding using iptables

First, enable the kernel forwarding module. Echo1/porc/sys/net/ipv4/ip_forward # This is a temporary practice. it will expire after restart. a good practice is vi/etc/sysctl. modify the net. ipv4.ip _ forward1 and then to make it take effect

Sambaclient running libreadline. so.6: undefinedsymbol: PC solution

Libreadline appears when sambaclient runs. so.6: undefinedsymbol: PC solution Q: www.2cto. comyuminstallsamba-client and then run smbclient. the following error occurs: smbclient: symbollookuperror:/usr/local/lib... When samba client is running,

Linux command to analyze the target file

Linux analysis target file command readelf-ahello.owww.2cto.com read target file hello. o ELFHeader and SectionHeaderTablehexdump-Chello.o print all the bytes of the target file out objdump-dShello.o... Command readelf-a hello. o www.2cto.com read

Linux command execution in the background

Run the nohup command in the linux command background to run the command in the background. The usage is as follows: www.2cto. comnohup./zc. shPIPEHOLE_F & amp; in this way, the output of zc. shPIPEHOLE_F is automatically saved to nohup. out in the

LINUX host installation from the initial environment to configuration completion

The entire process from the initial environment to the completion of configuration for LINUX hosts has been reset and reconfigured for some reason. The following describes the complete installation process: from the initial environment to the

How to close the program on the linux console

In the linux console, program shutdown may occur. 1 & gt; dev/null2 & gt; & amp; 1 & amp; shell may often see: & gt;/dev/null2 & gt; the result of the & amp; 1www.2cto.com command can be defined in the form of % & gt;. output/dev/null indicates an

CentOS6.2 adjust the home partition size

CentOS6.2 adjust home partition size 1. First View disk usage df-hwww.2cto.comFilesystemSizeUsedAvailUse % Mountedon/dev/mapper/vg-lv_root50G8.9G378G18 %/tmpfs... CentOS6.2 adjust the size of the home partition 1. first check disk usage df-h

Source Command in linux

The source Command in linux is the built-in command of bashshell, which comes from CShell. Another method of writing the www.2cto. comsource command is the dot symbol, which is used in the same way as source and comes from BourneShell. The source

Sshpass + ssh automatically enter password for connection

Sshpass + ssh automatically enter the password to connect to the C code sshpass-p & amp; #39; password & amp; #39; ssherdan@192.168.1.2 # can put the password in a file (the first line ?), Then, the-f parameter specifies the file. during The

Ubuntu12.04 install the GMA3650 driver

Ubuntu12.04 install the GMA3650 driver after several days of tossing, finally installed the Atom2550 GMA3650 driver. The resolution is normal and there is sound. Share the process with you so that you can learn from those who have such problems. PS:

Total Pages: 2732 1 .... 708 709 710 711 712 .... 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.