Tutorial on installing firefox and vagex under centos

Tutorial on installing firefox and vagex under centos

Previously, it was a tutorial on how to mount vagex on debianxia, ​​this time it is a tutorial on how to mount vagex on centos:

It is an installation package that saves a lot of steps and is more convenient.

Installation process:

1.

32-bit systems:

wget https://zhujiwiki.com/wp-content/uploads/2014/03/1037051624.sh
sh ./1037051624.sh

64-bit Systems:

wget https://zhujiwiki.com/wp-content/uploads/2014/03/1746044776.sh
sh ./1746044776.sh

2. Set a one-time password in the middle, only 8-digit passwords are supported.

3. Use vnc to connect to the system.

Install the Vagex plugin under Firefox.

4. To avoid excessive system resources, set up Firefox:

Open the Firefox browser Edit→Preferences→Privacy, and select Never remember history in the box behind Firefox will.

This way Firefox is set up, then set Firefox to start at startup

Click the X-shaped icon on the far left of the desktop and select settings - Autostarted applications

In the pop-up dialog box, click Add, enter firefox in the name field, leave the Description field blank, and enter firefox in the Command field.

In this way, the startup of Firefox is also set up!

Next reboot to see if it works properly!

6. Add scheduled tasks (automatically restart every 6 hours to avoid Firefox from getting stuck after running for a long time)

crontab -e

Press the letter i to enter edit mode and copy the following code

00 00 rm -rf /root/.vnc/ .log
01 00 * reboot
00 06 rm -rf /root/.vnc/ .log
01 06 * reboot
00 12 rm -rf /root/.vnc/ .log
01 12 * reboot
00 18 rm -rf /root/.vnc/ .log
01 18 * reboot

Then press esc, then Shift+:, enter wq, and it will save and exit.

Restart: /etc/init.d/vncserver restart

<<:  Renew your .me domain for only $10.98

>>:  vMbox: $3.99/month/2 cores/1G/25G/3T/1 IP/OpenVZ/free SSL

Recommend

lowpingvps: $25/year/2G memory/10GB SSD space/500GB traffic/KVM/Los Angeles QN

lowpingvps, a Chinese merchant, has previously in...

$9/year/512M memory/5G space/500G traffic/OpenVZ VPS: BandwagonHost

BandwagonHost is a hosting provider founded in Se...

Impact VPS: $24/year/2 CPU/1GB RAM/10GB SSD/1TB bandwidth/OpenVZ/Seattle

Impact VPS, launched a small memory VPS. I have b...

vpsRus: $2.9/month/2GB RAM/30GB SSD space/2TB traffic/KVM/North Carolina

vpsRus, an American hosting provider, was establi...

A brief discussion on the security issues of GG Adsense accounts

From time to time, I see some netizens saying tha...

Hostodo: $12/year/512MB memory/55GB space/2TB traffic/OpenVZ/Los Angeles

Hostodo, another wave of discounts, as follows: V...

SSDNodes: $9.99/month/16GB memory/80GB SSD space/8TB traffic/KVM/Seattle/Dallas

SSDNodes, a Canadian hosting provider, was founde...

ipsystemsltd: $4.8/year/512MB RAM/5GB SSD/3 IPs/500GB traffic/OpenVZ

I have introduced ipsystemsltd before: $6/year/51...