Set up an FTP server using CentOS and set up ftp using centos1. Install vsftpdYum install vsftpd2. Edit iptablesVi/etc/sysconfig/iptables-A input-m state -- state NEW-m tcp-p tcp -- dport 21Service iptables restart3. Configure vsftpdVi/etc/vsftpd. confAnonymous_enable = NO // you are not allowed to access anonymous users.4. Add an ftp userVi/etc/vsftpd. confChroot_list_enable = YESChroot_list_file =/etc/vsftpd/chroot_list5. Add the ftp user home direc
Export JVM memory information on CentOS, and export jvm memory from centosFirst, check the Tomcat process Id:
[root@iZ25Z ~]# ps aux | grep javawww 2111 4.0 23.5 1637648 452756 ? Sl 10:12 4:35 /usr/java/jdk1.7.0_80/bin/java -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties ... We can see that the Tomcat process Id is 2111, and then use the JDK built-in tool jmap to export the memory information in the entire JV
installed on CentOS6.4 is 1.0 by default.
So what can we do with SSH? Why do Linux programmers have to learn to use SSH?
Before SSH is available, if we want to share files on Linux and Windows operating systems, we simply mount the optical drive to the Linux system, or you can share files by installing the Samba server (CentOS (11) -- installation and configuration of the Samba server under CentOS6.4). If you want to upload and download files, you ne
/langpacks.conf has been saved as /etc/yum/pluginconf.d/langpacks.conf.rpmsave
[root@localhost ~]# rpm -e PackageKit-yum-1.0.7-5.el7.x86_64 --nodeps
#Retested, no more
[root@localhost ~]# rpm -qa | grep yum
# can use the way of xargs, the shell command knows more, or can save energy
[root@localhost ~]# rpm -qa | grep yum |xargs rpm -e --nodeps
————————————————
Copyright statement: This article is the original article of CSDN blogger "x6_9x", following the CC 4.0 BY-SA copyright agreement, pleas
After Centos6.2 is installed, we often need to update the system. Normally, we use Centos official sources directly. However, if you use official sources in China to find that the connection speed is slow, you can consider using the 163 source to complete system updates more quickly. The following Fengxin network will teach you how to change the Centos 163 source, and perform the following operations after
Version: CentOS 6.4Framework: x86_64Update Time: updated every 5 hours1. First back up/etc/yum. repos. d/CentOS-Base.repo[Root @ localhost ~] # Mv/etc/yum. repos. d/CentOS-Base.repo/etc/yum. repos. d/CentOS-Base.repo.bak
2. Download the repo file of the corresponding version and put it in/etc/yum. repos. d/(back up the
6.0
5.4
Address: http://www.linuxde.net/2011/10/1578.html
October 31, 2011 by Tian Ming | 2 comments | 1,267 viewsBecause RedHat Yum online updates are charged, you cannot use them if you have not registered them, that is, you cannot install software online. In this case, do you want to use the RedHat system and install software online using the yum source?There is a solution. Please read it down!1. Delete the original Yum source of RedHat.
# Rpm-AQ | grep Yum | xargs rpm-e
In the process of learning Docker, the download image speed is particularly slow, because the Docker hub does not deploy a server or CDN in the country, coupled with the speed of the domestic network and other reasons, the image download is very time-consuming. To overcome the cross-ocean network latency, one of the most effective ways to quickly and efficiently download Docker images is to use a domestic Docker image source. Here's how to use the 163 image source to speed up the method.
To
Previous use of Ubuntu more, but server requirements, decided to start learning CentOS1. Desktop width is not adaptive after installing CentOSIf you are using GNOME, click the menu "System--Preferences Display, adjust the resolution2.Centos installed Firefox, the original response is very slowExtract# cd/usr/local# su-c "Tar zxvf/home/wandering/firefox-2.0.0.5.tar.gz"Replace# which Firefox/usr/bin/firefox# mv/usr/bin/firefox/usr/bin/firefox-1.5.0.9# l
even a distribution application, and upgrades, installs, deletes, and so on based on the calculated software dependency, this reduces the dependencies problem that Linux users have always suffered. At this point, yum and APT are the same. APT is originally used by Deb software management of Debian, but now it can also use RPM under RedHat.
Yum is mainly used to conveniently add, delete, and update RPM packages. It automatically solves the dependency problem of packages and facilitates managemen
subset of even a distribution of application interactions, and to perform related upgrades, installations, deletions, etc. based on the calculated software dependencies, reducing the Linux The user has always had a headache dependencies problem. At this point, yum and apt are the same. Apt was originally used by Debian's deb-type software management, but it can now use the RPM of Redhat.
Yum main function is more convenient to add/remove/update RPM package, automatically solve the de
After Centos 6.2 is installed, we often need to update the system. Normally, the Centos official source is directly used, however, if you use official sources in China to find that the connection speed is very slow, you can use 163 sources to complete system updates more quickly.
The following fengxin network will teach you how to change the Centos 163 source and
1. Copy all centos Yum files, but actually only use base files.
[Root @ server yum. Repos. d] # lsCentOS-Base.repo CentOS-Debuginfo.repo. B CentOS-Media.repo. B server. Repo. B
2. Check the file and learn the following points:
Enabled = 0 do not enable this yum;
[Root @ server yum. Repos. d] # Cat CentOS-Base.repo#
The difference between CentOS and Ubuntu
CentOS (Community ENTerprise operating System) is one of the Linux distributions that is compiled from the source code released by Red Hat ENTerprise Linux in accordance with open source rules. Because of the same source code, some servers that require a high degree of stability are used by CentOS instead of the commercia
1. Network Configuration
(1) command configuration
# Ifconfig eth0 192.168.0.2 netmask 255.255.255.0 // ip address, subnet mask
# Route add default gw 192.168.0.1 dev eth0 // Gateway
# Hostname centos // computer name
(2) file configuration
Modify the configuration file of the corresponding Nic IP Address
# Vi/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE = eth0 (describe the DEVICE alias for the NIC, for example, it is eth0 in the ifcfg-eth0 file)
07:12:49 | category: centos | Tag: None | font size subscription
Centos 18:30:19 read 1000 comments 3 font size: LargeSmallThis tutorial is a simple configuration process of my own system, including (official and private) source configuration, common software (Firefox, Eva chat, BT download deluge, listen to audacious and movie mplayer) installation process. I hope this will be a reference for new people. B
There are two ways to install Yum:
1. Download the RPM package of yum for direct Installation
Http://centos.ustc.edu.cn/centos/5.4/ OS /i386/CentOS/yum-3.2.22-20.el5.centos.noarch.rpm
Http://centos.ustc.edu.cn/centos/5.4/ OS /i386/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
After downloading to a
Here are two ways to install Yum:
First, download the Yum RPM Package Direct installation
http://centos.ustc.edu.cn/centos/5.4/os/i386/CentOS/yum-3.2.22-20.el5.centos.noarch.rpm
http://centos.ustc.edu.cn/centos/5.4/os/i386/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
After downloading to a directory, exe
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.