The use of Digitalocean for a long time, a few days ago in the compilation of PHP when the process was killed situation, after my spit and communicate with others found that the reason for the memory exhaustion. In fact, because the MySQL process at that time consumed a lot of memory, and then feel the need to manually add swap (swap partition), so as not to compile any later when the process is K.On Linux swap (swap partition), similar to the virtual
How to install and access CentOS 7 Remote Desktop on VPS
Q: I want to install CentOS desktop in VPS and can remotely access the GUI desktop from my home. Is there any suggestions for setting and accessing CentOS Remote Desktop on VPS?
How to work remotely or remotely with elasticity is becoming increasingly popular in the technical field. One technology behind th
Error: not found in any of your drives. Please insert the CentOS disc and press OK to retryReason:The status of the optical drive is disconnected due to the use of a VM and the use of the disc detection feature.Workaround:Primarily at the beginning of the installation, the following options are available:If the unfortunate choice is OK, then directly to the lower right corner of the optical drive icon select Connect, as follows:When installing
First open GitHub's Phalcon source address: Https://github.com/phalcon/cphalcon
There are installation steps, as follows
1. Installation tool: sudo yum install php-devel pcre-devel gcc make
2. Download Phalcon Source: Git clone git://github.com/phalcon/cphalcon.git, after download, you can check your desired version of Phalcon by using Git.
3. Go to the relevant subdirectory to install: CD Cphalcon/build.sudo./install
You may experience the following installation failure problem
*php version to
DigitalOcean has been used for a long time. a process was killed when PHP was compiled a few days ago. After I spoke with others, I found that the memory was exhausted. In fact, it was because the MySQL process at that time consumed a lot of memory, and later felt it was necessary to manually add Swap (Swap partition), so as to avoid the process being K when compiling or something later. About Swap in Linux
Digit
One, download
wget http : / / Nginx . org / Download/nginx - 1 . 9 . - . Tar . GZ
Two, unzip
TAR-XVF nginx-1. 9 . - . Tar . GZ
Three, the configuration into the decompression directory
. / Configure - - prefix = / usr/ Local / Nginx -1.9.14
Four, installation if there is no error, execute the installation command
Make
Make install
5, Site Configuration
Enter/usr/local/nginx-1.9.14/conf
Configure nginx.conf
Six, common mistakes
403:
instance, the site files are uploaded by Java users, extracte
PHP official update is very diligent. A few days to see, and updated. So upgrade the VPS PHP chant. The compiler ran running with the following error:cc:internal error:killed (program CC1)obviously this is a compilation process that was killed by the system, and I've encountered this many times when I tested the lamp one-click installation script. The reason is that memory is too small to cause. Today, this error occurs when compiling a 256MB-Ram VPS. Usually, in the x64 system small memory VPS
Description
Current operating system: CentOS 4.x 64-bit
To achieve the purpose:
Upgrade CentOS 4.x to CentOS 5.x latest version online via Yum command
One, upgrade CentOS 4.x to CentOS 4.9 version
Cd/etc/yum.repos.d/# into the direc
Recently, we started to connect Linode and DigitalOcean VPS. the Linux systems provided in these products are the "least secure ", so I want to see if the GNOME desktop can be installed, and then connect to the terminal desktop with xrdp desktop.Security and desktop environments
Yum itself provides the groupinstall method for the security kit. First, run the following commands to check which KIT groups are available:
yum grouplist | more
The names of
connection VPN, for example, iOS.
The above L2TP one-button installation package is also based on Openswan + XL2PTD source code compiled, I was also reference GKP build VPN, at that time with the 64-bit CentOS 6.2, has been unsuccessful. Now the space moved, I simply put the Linode system reinstall the 32-bit CentOS 5.6来 do the experiment.
Based on Ipsec-tools installationSome say there is a problem with
Upgrading from CentOS 6 to CentOS 7
In just a few weeks after the release of Red Hat Enterprise 7, CentOS7 was also released, and included the equally exciting features as red hat. In addition to the long-awaited systemd and popular Docker, this release also makes it possible for the system to automatically update from version 6 to version 7 without installing the image file. Although the upgrade still need
CentOS common file operation commands and centos commandsSummary of common CentOS file operation commands
I can say that I am a newbie in linux, and I often forget some commands, especially some operations on files. I often need to read the previous notes, today, I posted the "common file operation commands for CentOS"
Upgrade CentOS 4.x to CentOS 5.x
Note:
Current operating system: CentOS 4.x 64-bit
Purpose:
Use the yum command to upgrade CentOS 4.x to the latest CentOS 5.x version.
1. Upgrade CentOS 4.x to
In the initial environment settings, we can use Yum as a resident service to automatically update the system. However, the default server is an official site, which is far away from Chinese users and is extremely fast. However, you can modify the corresponding configuration file of Yum to update the system at high speed. The method is as follows:
Modify/etc/yum. Repos. d/CentOS-Base.repo to change the image site address to the site address in China.
Disable the CentOS 6 and CentOS 7 firewalls.
CentOS6.5 view the Firewall Status:
1
[Linuxidc @ localhost ~] $ Service iptable status
Display result:
1 2 3 4 5
[Linuxidc @ localhost ~] $ Service iptable status Redirecting to/bin/systemctl status iptable. service ● iptable. service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead) -- indicates that the
Add Swap to CentOS
DigitalOcean has been used for a long time. A process was killed when PHP was compiled a few days ago. After I spoke with others, I found that the memory was exhausted. In fact, it was because the MySQL process at that time consumed a lot of memory, and later felt it was necessary to manually add Swap (Swap partition), so as to avoid the process being K when compiling or something later.
Well, my lack of knowledge of network protocols and IP configuration has left me here for almost a day to fix it. It can be said that basically the network encountered problems I have met. Here, make a note of the correct steps to configure the network for CentOS. Hope that the future less detours.The first thing I would like to say is that I am installing the Centos6.3 version on VMware, and I am installing it in a way that does not have a graphical
BodyFirst, VMware Introduction:VMware is a Virtual PC software that can create a new hardware environment on an existing operating system, equivalent to simulating a new PC to actually run two separate operating systems on a single machine.Key Features of VMware:
Two or more operating systems can be used on the same PC without the need to differentiate or re-boot;
The native system can communicate with the virtual machine system network;
You can set and modify the hardware envir
Upgrade CentOS 6.5 to CentOS 7
CentOS7 has been released, and I have been trying to test it on it. I have never had a chance. I can finally feel CentOS7 this time. CentOS6.5 has been used for some time, but since its kernel version remains at 2.6.32, it is decided to upgrade to CentOS7.
By the way, we upgraded the kernel to the latest 3.15.
After the upgrade, the disk suddenly has no space. When querying th
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.