In iptables, one NAT server can access the Internet, and the other server cannot access the Internet. However, if one of them is a Linux system, it will be easy. Configure iptables NAT. Step: 1. Set etc/sysctl. net. ipv4.ip. after forward = 0,
Ubuntu10.04 install sun jdk6 1. download JDK: JDK. the Installation manual for www.2cto.com is as follows [plain] Installation Instructions This procedure INSTALLThe Java Development Kit (JDK) for 32-bit Linux and using a self-extracting binary file.
Error libc-client.a: cocould not read symbols :... problem System Environment: centos x86_64 solution/usr/local/imap-2007f/lib/libc-client.a: cocould not read symbols: Bad value into the imap source directory make clean for reinstallation, delete
In Linux, any software accesses the Internet through proxy (non-vpn). In windows, SocksCap32, ProxyCap, FreeCap, and Proxifier can access the Internet through proxy. This blog has previously introduced: http://www.bkjia.com/net/201207/142900.html,
User Management In Ubuntu (3) user management is similar to group management. Ubuntu provides command line tools to manage users and GUI tools to manage users. In comparison, the command line tool is more powerful and flexible. Common User
Setting up Nagios monitoring on Ubuntu is a common system monitoring tool. It provides many basic service monitoring scripts, such as HTTP and MYSQL, with good scalability, you can customize monitoring scripts for specific parameters and alarm
In LINUX, the Vi editor has three modes: Command mode and edit mode. After opening vi in the last line mode, the vi editor uses I, o and a enter the editing mode, Press esc to exit the editing mode, and return to the command mode. Www.2cto.com in
The home disk space is insufficient. Other idle hard disks are from windows and cannot be used directly (Disk format and permissions), such as compiling Android source code. In this way, you need to format the new disk into fat32 and mount it to a
In Linux to view the memory method we generally use the free command: [root @ scs-2 tmp] # free total used free shared buffers cachedMem: 3266180 3250004 16176 0 110652 2668236-/+ buffers/cache: 471116 2795064 Swap: 2048276 80160 1968116
Uninstall jdk in linux. A simple problem occurred all afternoon. Due to the re-Modification of jdk version 1.5 -- 1.6, it was blocked during the uninstallation, www.2cto.com rpm-qa | grep jdk --> jdk-1.6.0_22-fcsrpm-qa | grep java -->
This article mainly discusses how to set up a virtual network system in Linux for class use, and how to simulate Internet teaching through a self-built Intranet system in the classroom. Without going online, the classroom can view the same content
From riusksks blog
I installed Ubuntu in my notebook before, and the installation speed was very fast, but there was a shortage of resources. I didn't need GCC, GCC, rpm, or rpm, and there were other tools, then we use apt-get to download and
Step 1: Use root to log on to linux and start the vnc service;
Step 2: Set export DISPLAY = localhost: 1 (1 indicates that vnc is started on the first tty) based on the port of the vnc. For more information about starting vnc, see Attachment
The file lock is used to check whether a file exists at the beginning of the program running. If yes, the program is running. If no, the file is created using an open statement, close and delete the file when the program exits.
Now there are more and more friends using linux. For Development in linux, environment variables need to be configured first. The following describes three methods to configure environment variables using java environment variables.
1. Modify the/
Linux Shell metacharacters:
^ The first line locator/^ love/matches the line starting with love
$ Line tail locator/love $/match the line ending with love
. Match a single character/l. e/match the line that contains one l followed by two
The following is a shell script to copy it to the path and run it. The original version is from he beiliang. I added the prompt function to facilitate input.
#! /Bin/sh
Case $1 in
Cctv0) mplayer mms: // live.cctv.com/livenews>/dev/null &;;
Cctv1)
1. Create a virtual user database
# Vi/tmp/logins.txt:
Longyufei
1985731
Liushuai
123456
Virtual user information, format:
(Note that there cannot be spaces before and after !)
2. log on to the system as a root user and create a user
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