CentOS installed essential - basic settings and missing files

  
 

The main reason is that CentOS will be installed in the virtual machine every time, and it will be recorded later.

Pure basic settings, such as local SecureCRT can connect to CentOS in the virtual machine.

Complex non-basic settings can be found in: Linux Command Highlights


Setting up the network

Automatic connection

#cat /etc/sysconfig /network-scripts/ifcfg-eth0 ONBOOT=yes


Restart NIC

#service network restart

--------- ---------------------------------

Install missing files

Download upload Command

rz: command not found

# yum install lrzsz


If the yum source is not directly downloaded to the local

#yum Localinstall file


Download rpm

#rpm -i file

----------------- --------------------------

Install telnet

#yum -y install telnet

--------------------------------------------

Install lua

#yum -y install lua

#yum -y install lua-devel


-------- ------------------------------------

Install gcc to compile C language

cc: command not found

#yum gcc


#yum -y install gcc

Note: -y indicates installation directly select yes

--------------------------------------------

che Cking for C++ compiler default output file name... configure: error: C++ compiler cannot create executablesSee `config.log' for more details.

#yum install gcc gcc-c++

-- ------------------------------------------

phpize Tips

Cannot find autoconf. Please check your autoconf installation and the$PHP
_AUTOCONF environment variable. Then, rerun this script.

# wget http://ftp. Gnu.org/gnu/autoconf/autoconf-2.62.tar.gz# tar -zvxf autoconf-2.62.tar.gz# cd autoconf-2.62/# ./configure && make && make install

----------------------------------------------< Br>

Install rzsz

#yum install lrzsz

--------------------------- ------------------

getcwd: cannot access the parent directory's workaround

The getcwd command cannot locate the current working directory. Generally speaking, because you cd to a directory and rm the directory, you will report getcwd when you execute some service scripts. Just cd to any actual directory to execute the command. The reason for this phenomenon is that the current user does not have the executable permissions of the current directory

-------------------------- --------------------

Copyright © Windows knowledge All Rights Reserved