Redhat 6.4 When installing the VirtualBox auto-enhance feature, Tip:Building the main Guest additions module FAILEDUnable to find the sources of your current Linux kernel. Specify kern_dir-This time you need to detect whether GCC make Kernel-level kernel-header and other files are installed. Use the following command specifically:Rpm–qa|grep GCCIf not, you need to install the following command:Yum Install GCCFinally, to see if the kernel version is co
/ Wkiom1wl4w3rjtjzaaduanhoda4643.jpg "alt=" Wkiom1wl4w3rjtjzaaduanhoda4643.jpg "/>8. Access to IE Web page in the Web, successfully650) this.width=650; "style=" Float:none; "title=" 14.png "src=" http://s3.51cto.com/wyfs02/M02/6F/B3/ Wkiol1wl40ejfrxwaagbw1vwozi675.jpg "alt=" Wkiol1wl40ejfrxwaagbw1vwozi675.jpg "/>Dnat Construction Process:1. Ensure that the previous steps are done: Apache configures the gateway, iptables turns on routing, iptables two Nic, IIS does not configure the gateway, and
lines of the file contentsTail Hello.exe View the following 10 lines of the file contentsTail-n 5 Hello.exe View the following 5 lines of the file contentsThe file type is determined by the contents of the file, and the suffix of the file is unimportant.File hello.exe### #查看hello. exe files typeFile for view ask Price type command################################1 Kanji for 3 bytes,There is one character (bytes) at the end of each line.Wc-l Test Line count rows-M statistic character number-C Sta
TE Rminal. # The fourth form is similar to the third, except instead of using the # broadcast address, it sends Directquerys t o Each of the hosts in the list # # in all cases, XDM uses the first entry which matches the terminal; # for Indirectquery messages only entries with right hand sides can # match, for Direct and broadcast Query messages, O nly entries without # right hand sides can match. # # * #any host can get a login window ## to hardwire a specific terminal to a specific hos
The first step:Manually mount the Redhat to the virtual machine.Step Two: query whether to install VIM [1] (here is just the mini version installed)Step three: Hang the fileFourth step: Build a Yum sourceFifth Step: Install VimAbout public key for *.rpm are not installed solution "2"Refer to the article "3" for Comments:"1" http://os.51cto.com/art/201001/177866.htm"2" Http://blog.163.com/[email protected]/blog/static/17303755520109265454160/"3" http:/
The server successfully listens to a port (such as 5500), but the outside connection does not come in, telnet its port is not through, the solution is as follows (under the root user):$/sbin/iptables-i input-p tcp--dport 5500-j ACCEPT #开启89端口$/etc/rc.d/init.d/iptables Save #保存配置$/etc/rc.d/init.d/iptables Restart #重启服务See if the port is open$/etc/init.d/iptables StatusTable: FilterChain INPUT (Policy ACCEPT)Num Target prot opt source destination1 ACCEPT TCP--0.0.0.0/0 0.0.0.0/0 TCP DPT:55002 Rh-f
DNS domain name resolution Master Profile Zone profile zone data file and then restart two services
Web-type production view record
Hanging in shared files decompression awstats-7.6
Create a directory for mount points
Hanging on host shared files
Tar zxvf awstats-7.6.tar.gz-c/opt/Extract Files
MV awstats-7.6//usr/local/awstas Easy to manage
Cd/usr/local/awstats/tools configuration file
./awstats_configure.pl execution
Config file path (' None ' to skip Web server Setup):
Environment
RedHat Linux 9 + vwware 8.0 + SSH 3.2.9 + Putty 0.62 + MySQL 3.2
Problem
MySQL connection via JDBC appears com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communications link failure
Com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communications link failure The last packet Successfully received from the server is 276 milliseconds ago.
The last packet sent successfully to the server is milliseconds ago.
When I recently used Redhat Linux5, I encountered the following error using the FDISK command:Bash:fdisk:command not foundFound on the Internet, the solution is as follows:First, the reason for this error is that Fdisk is not in pathTo view path paths:[[Email protected] ~] $echo $PATH/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/baixiaohu/binLocate the Fdisk path:[[Email protected] ~] $whereis fdiskFdisk:/sbin/fdisk/usr/share
/ Wyfs02/m00/8a/a9/wkiom1g2od3jwkxnaagridr3oru542.png-wh_500x0-wm_3-wmp_4-s_2765529799.png "/>In we example, the keepalived configuration file (/etc/keepalived/keepalived.conf) at the LD1 looks like:Lab Environment:System platform: RedHat Linux 6.4 32-bitkernel:2.6.32-358.el6.i686LVS version ipvsadm-1.26-1.src.rpm (http://www.linuxvirtualserver.org/)Keepalived version keepalived-1.3.1.tar.gz (http://www.keepalived.org/download.html)1. Configure lvs+ke
directory will become a group of that directoryIf the user can create directories and files, then the group of directories and files is the group of the DirectoryFor example: In the second line we can see that the testfile file belongs to the Zkunc user, the group belongs to the ZKUNCN group, at this time I use the user zkuncn1 in the testfile file to create a hello file, and then use LS to see, you can see Hello file group is ZKUNCN, because the Testfile directory has SGID permissions, the gro
root identity run, modify the configuration fileVim/usr/bin/google-chromeAdd--no-sandbox--user-data-dir on the last line of the fileSuch as:6. Add Desktop shortcutsCreate a file named Chrome.desktop in/root/Desktop/directoryAdd the following text#!/usr/bin/env Xdg-open[Desktop Entry]Binarypattern=chrome;Mimetype=Name=chromeExec=/usr/bin/google-chromeIcon=/opt/google/chrome/product_logo_32.pngType=applicationTerminal=0Then click on the file on the desktop and it will be a Google shortcutGoogle B
Ls-A # # #列出所有文件 all-L # # #列出文件属性-R # # #第归列出文件-S # # #列出文件大小--size-S # # #按大小排序列出文件-D # # #指定目录本身 Directory. # # #指当前目录.. # # #当前目录的上一级目录Normal user home directory for/home/usernameEx. Student User home directory for/home/studentEx. Root User home directory is/root~ # # #当前目录的家目录~student # # #进入到student用户的家目录CD ~ # # #进入家目录CD ~username # # #进入某以用户家目录CD ~student # # #进入到student用户的家目录CD-# # #当前目录和上一次目录之间跳 (the directory in which the system was previously entered)Mkdir-p/qq/tupian/file-p set up a
PS # # (All) is the process running on the front endPS-A # #shell中的进程-X # #shell processes running in the backgroundCheck the resource occupancy rate to add O, and%Aux is the view process,%cpu,%mem is the resource occupancy rate of the processIt is not ctl+c to stop when running in the background.CTL Z # #打入后台Jobs # #查看后台运行的进程Gedit # #一个文件在创建的时候就让他在后台运行Kill to send a signal to the tool1 Reload # #不停止的情况下, let the process reread the configuration file2 # #ctl C Delete process3 # #内存中鼠标信号8.top co
control protocol, or XDMCP, to communicate with the X server. It allows the X server to obtain the session service from the server running the XDm service.When you use XDM to manage these x tasks, it's a bit more complex to set up. But setting up XDm can get the desktop on the local and other servers. We will describe the methods and steps for configuring XDM on the server below, and the configuration described here allows any XDMCP client to access the Linux Servers desktop environment (which
installing Python3 steps under Redhat1. Download unzip. $ wget https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz$ tar zxvf python-3.4.1.tgz2. Enter the extracted directory to perform the installation configuration$./configureor specify the installation directory$./configure--prefix=/opt/python33. Build$ Make4. Install$ make Install5. Set up a link after installation, so that we can use Python3 directly to run the program, and Python2 distinguish. $ ln-s/opt/python3/bin/python3/usr/bin/pyt
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.