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

uhost.nl: €10/month/1GB RAM/100GB storage/5TB bandwidth/1Gbps/KVM/Netherlands

uhost.nl is a Dutch merchant that mainly provides...

Quadcone 3GB RAM Xen VPS Los Angeles Review

Details : Quadcone: $5.3/month/3GB memory/50GB sp...

PHP-based file sharing website (QuickTransfer)

Similar to Firefox Send, it is easy to set up, su...

HostHatch: $17/year/512MB memory/250GB space/1TB traffic/KVM/Los Angeles

HostHatch, an old-fashioned hosting provider, has...

binarylane: $7.3/month/512MB/20GB SSD/200GB bandwidth/KVM/Australia

Binarylane, an Australian hosting provider, was e...

drserver: $8.48/year/256MB memory/5GB SSD space/250GB bandwidth/Xen/Dallas

drserver, a stable merchant. Cyber ​​Monday deals...

Backup Spider: $1.08/year/10GB storage/500GB bandwidth

Backup Spider, which claims to have been founded ...