Linux is a free-to-use and free-to-propagate Unix-like operating system, a POSIX and Unix-based multiuser, multitasking, multi-threaded and multi-CPU operating system. It can run major UNIX tools software, applications, and network protocols. It
method one using the Hostnamectl command[Email protected] ~]# Hostnamectl set-hostname personal-serverMethod Two: Modify the configuration file/etc/hostname save exit[email protected] ~]# Vi/etc/hostnamepersonal-server
[email protected] ~]# cd/etc/sysconfig/network-scripts[[email protected] ~] #ls//ifcfg-ens** for the network configuration file we need to modifyusing the VIM command (vi command can also), to configure the file, we need to modify bootproto= "static"
Direct Post command:Vi/etc/sysconfig/network-scripts/ifcfg-eth0 only retains the following content:Type= "Ethernet"bootproto= "Static"Name= "Eth0"Device= "Eth0"onboot= "Yes"Ipaddr= ""Prefix= ""Gateway= "" rm -f /etc/udev/rules.d/70* rm -f /etc/
First, firewall open 21 portSecond, the creation of the FTP user, after creating the user in the/etc/passwd is presented in this way: Ftpuser:x:1008:1008::/var/www/html:/sbin/nologinThird, yum list |grep vsftpd find the package name and install it
#下载tomcat压缩包到/usr/local/tomcat/and unzip to the current directoryMkdir-p/usr/local/tomcatCd/usr/local/tomcatwget http://mirrors.hust.edu.cn/apache/tomcat/tomcat-9/v9.0.12/bin/apache-tomcat-9.0.12.tar.gzTAR-ZXVF apache-tomcat-9.0.12.tar.gz#编辑startup.
I have always encountered a problem recently. I have avoided it several times. Today I am making a decision to solve it.
Problem:
I want to fix the network adapter eth0 IP address, you can modify the
The following is an overview of centos from lupaworld.
Http://wiki.lupaworld.com/index.php/Centos What is centos?
Centos is one of the many Linux release kits. The centos developed by CAOs is fully compatible with RHEL after Red Hat charges its
Reference address:
Http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
The list of rpmforge Dag packages is here
Http://apt.sw.be/redhat/el5/en/i386/dag/RPMS/
In order to avoid copyright issues, centos does not have an
A. Check whether sudo is installed.
# Rpm-Qa | grep sudo
B. Modify the/etc/sudoers file and add a sudo user.
# Define do-F/etc/sudoers
C. After root all = (all) All, add
Tom all = (all) All
Defaults: tomtimestamp_timeout =-1, runaspw
//
I use the Subversion installed by the root user through Yum: Yum-y install Subversion
After installation ~ There is a hidden folder under the directory. You can see it is named. Subversion through LS-a. There is a servers file under the Directory,
The default setting is openjdk 1.7. the hivedb compilation does not seem to be 1.5, but it does not work./tmp/hivedb-master/src/main/Java/org/hivedb/META/persistence/hivebasicdatasource is reported. java: [13,7] error: hivebasicdatasource is not
Note: centos cannot enter the logon interface. It stays on the blue interface with a mouse or arrow. This is also true for restarting. The system is centos5.4 and is used as a server. Because the service needs to be set to start and run the
1. XXX is not in the sudoers file
Edit/etc/group and add XXX to the wheel group. For example, "Wheel: *: 0: Root, XXX"Run export do and set % wheel all = (all) nopasswd: All
Ii. Install the video card driver:
The procedure is as follows:1. Check
NetworkManagerAutomatically switch between multiple network connections. If your computer has Wireless WiFi and multiple network connection types of Ethernet, you can choose to enable it.After it is enabled, it overwrites/etc/resolv. conf and adds
Reprinted from http://blog.csdn.net/chenjieb520/article/details/7316268
I recently used a package (libpcap) when developing a project. This package can be used for underlying parsing of network streams, but when I want to use this package for
The first time I installed the server version of Linux, the first time I installed Linux in raid1, I encountered n many headaches during the installation process, which is also expected. Now I will share with you the installation process. I hope
Original link http://blog.csdn.net/davil_dev/article/details/6792229? Reload
Operating system installed on centos6 64-bit liveos
1. Confirm hardware information
1.1 first, check that the system contains the appropriate tools, packages, header
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