Difference between pages "Installing a Cron Daemon" and "User:Drobbins"

(Difference between pages)
 
m (Reverted edits by 217.195.202.58 (talk) to last revision by Drobbins)
 
Line 1: Line 1:
== Introduction ==
+
{{Person
Cron daemons allow you to configure certain tasks to be run at specific times. Installing a cron daemon is a good idea because some packages may assume that you have a cron daemon installed and create jobs to update their databases with a cron daemon. There are several different loggers available to Funtoo users:
+
|Full name=Daniel Robbins
* '''{{Package|sys-process/fcron}}''' - "Fcron is a periodical command scheduler  which aims at replacing Vixie Cron, so it implements most of its functionalities." ([http://fcron.free.fr/ Fcron homepage])
+
|Email=drobbins@funtoo.org
* '''{{Package|sys-process/cronie}}''' - "Cronie contains the standard UNIX daemon crond that runs specified programs at scheduled times and related tools. It is based on the original cron and has security and configuration enhancements like the ability to use pam and SELinux." ([https://fedorahosted.org/cronie/ Cronie homepage])
+
|Nick=drobbins
* '''{{Package|sys-process/vixie-cron}}'''
+
|Geoloc=35.0844909, -106.6511367
* '''{{Package|sys-process/incron}}'''
+
|Location name=Albuquerque, New Mexico, United States of America
* '''{{Package|sys-process/dcron}}'''
+
|Roles={{Role
* '''{{Package|sys-process/bcron}}'''
+
|Role type=Staff
* '''{{Package|sys-process/anacron}}'''
+
|Role desc=Benevolent Dictator for Life
 +
|Start date=2008/09/11
 +
}}
 +
|Maintains={{Ebuild
 +
|Ebuild=net-misc/cgminer
 +
|Overlay=Funtoo-overlay
 +
}}{{Ebuild
 +
|Ebuild=x11-drivers/ati-drivers
 +
|Overlay=Funtoo-overlay
 +
}}{{Ebuild
 +
|Ebuild=sys-boot/boot-update
 +
|Overlay=Funtoo-overlay
 +
}}{{Ebuild
 +
|Ebuild=sys-fs/udev
 +
|Overlay=Funtoo-overlay
 +
}}{{Ebuild
 +
|Ebuild=x11-libs/xvba-video
 +
|Overlay=Funtoo-overlay
 +
}}
 +
|Blogs={{Blog
 +
|Name=Hello to You
 +
|URL=http://blog.funtoo.org
 +
|Syndicate=Larry (Planet), Larry (Universe)
 +
}}
 +
}}
 +
Howdy. My [[Daniel Robbins Resume|resume]].
 +
[[File:DanielRobbins.jpg]]
 +
[[File:gsnip.png]]
  
== Installation ==
+
==== Things To Do ====
To install the cron daemon of your choice, run the following command:
+
<console>
+
###i## emerge --ask fcron
+
  
These are the packages that would be merged, in order:
+
* Create new mirror clean-up script.
 +
* grep HOWTO? requested by biberao
  
Calculating dependencies... done!
+
=== Zenoss Snippets ===
[ebuild  N    ] sys-process/cronbase-0.3.2-r1
+
[ebuild  N    ] sys-process/fcron-3.1.2-r2  USE="mta pam readline system-crontab -debug (-selinux)" LINGUAS="-fr"
+
  
Would you like to merge these packages? [Yes/No]##i## yes
+
<pre>
</console>
+
o=dmd.getObjByPath("/zport/dmd/Locations/Funtoo Loft/Desk/Lower Shelf/Right")
 +
</pre>
  
Now enable the cron init script so that is starts when your system boots, and enable the cron daemon:
+
=== NinjaCluster ===
  
<console>
+
* Set up own NS for IPv6, have foo.funtoo.org delegate to it.
###i## rc-update add fcron default
+
* Set up radvd on the master node.
* service fcron added to runlevel default
+
* For VE's, enable IPv6 and have them use stateful address autoconfiguration to get an IPv6 address based on their MAC address.
###i## rc
+
* For each VE, create a DNS entry for their IPv6 address. This will allow users to get to their box directly via IPv6.
* Caching service dependencies ...              [ ok ]
+
* For legacy IPv4, use an ugly port-forwarding solution with socat or haproxy?
* Starting fcron ...                            [ ok ]
+
</console>
+
  
=== System Cron Jobs ===
+
=== OpenVZ HOWTO ===
  
After the cron daemon has been emerged, you may see a message to run <code>emerge --config</code> to configure your cron daemon to process system cron jobs. System cron jobs are scripts that are installed by various packages into the following directories:
+
First, find an unused VEID by typing <tt>ls /vz/private</tt> -- pick the next unused number, such as 109.
 +
Next, find a template by typing <tt>ls /vz/template/cache</tt>.
 +
Now:
  
* <code>/etc/cron.hourly</code>
+
<pre>
* <code>/etc/cron.daily</code>
+
# vzctl create 106 --ostemplate funtoo-openvz-core2_64-funtoo-current-2011-08-22
* <code>/etc/cron.weekly</code>
+
# vzctl set 106 --applyconfig unlimited --save
* <code>/etc/cron.monthly</code>
+
# vzctl set 106 --netif_add eth0,,,,brlan --save
 +
# vzctl set 106 --name oleg --save
 +
# vzctl set 106 --hostname oleg --save
 +
# vzctl start 106
 +
# vzctl enter 106
 +
(in VE) oleg # rc-update add dhcpcd default
 +
(in VE) oleg # rc
 +
</pre>
  
For example, you should find a <code>/etc/cron.daily/man-db</code> script that is installed by the {{Package|sys-apps/man-db}} ebuild. This system cron job's purpose is to update the man cache every day, and it will run only if you enable your cron daemon to manage system cron jobs.
+
Done! The VE now has network access via a private IP address and NAT (bridged.)
  
You may choose to enable your cron daemon so that it runs system cron jobs, or choose not to. Enabling a cron daemon to run system cron jobs will result in a bit more disk and CPU activity on your system, but should ensure that the system runs more optimally most of the time (proper caching of man pages, etc.) It is recommended for most systems, but your system will still function without system cron jobs active.
+
== OTHER TODO ==
  
If you would like to have your system run system cron jobs, use <code>emerge --config</code> as specified in the emerge output:
+
the python eclass design has some problem. For example, twisted depends on zope-interface, and it can be installed. but it may not be built for python-2.7. So the dep will be satisfied, but python still needs a rebuild. Solution would be to have multi-package support (multi-slot), dynamic slot.
  
<console>
+
== 2010 Volkswagen GTI MK6 ==
###i## emerge --config sys-process/fcron
+
Configuring pkg...
+
  
* This is going to set up fcron to execute check_system_crontabs.
+
I own a 2010 Volkswagen GTI. This section contains my personal notes on the car.
* In this configuration, you're no longer free to edit the systab
+
* at your leisure, as it'll be rewritten the moment the crontabs
+
* are modified.
+
  
Rebuilding fcron systab.2013-10-19 21:20:38 
+
Rear seat removal: www.golfmk6.com/forums/showthread.php?t=17927
INFO installing file /tmp/fcrontab.84pova for user systab
+
Ohlins MKV kit: www.worksevo.com/store/product_info.php?cPath=198_266_270&products_id=1749
Modifications will be taken into account right now.</console>
+
  
Your cron daemon is now configured to automatically run system cron jobs.
+
Weights (Euro-spec, from vw.com):
  
[[Category:System]]
+
* Golf 2.5L Manual 2,968 lbs
 +
* Golf 2.5L Manual 3,023 lbs
 +
* Golf TDI Manual = 2,994 lbs
 +
* Golf TDI DSG = 3,041 lbs
 +
* Golf GTI Manual = 3,034 lbs
 +
* Golf GTI DSG = 3,080 lbs
 +
 
 +
Note: VW lists no difference in 2-door and 4-door vehicle weights.
 +
 
 +
=== Golf MK6 DriverGear Springs ===
 +
 
 +
* Golf TDI 4-Door Manual or Golf 2.5 4-Door Manual = 5K4071677A
 +
* Golf TDI 2-Door Manual or Golf 2.5 2-Door Manual = 5K3071677A
 +
* Golf TDI 4-Door DSG = 5K4071677B
 +
* Golf TDI 2-Door DSG = 5K3071677B
 +
 
 +
Note: There are no DriverGear Golf springs made specifically for the GTI.
 +
 
 +
== Modifications ==
 +
 
 +
=== Audi S3 Intercooler ===
 +
 
 +
The Audi S3 intercooler (Audi part number 1K0145803P) can be used to replace the stock VW intercooler, and forums.vwvortex.com/showthread.php?4561165-Well-the-S3-intercooler-fits-the-TSI-just-fine..../page6 is reported to result in very significant power gains that exceed that of a downpipe upgrade. The Audi S3 intercooler, while visually similar to the stock GTI intercooler, is slightly deeper and has significantly more surface area and less restrictive airflow.
 +
 
 +
Total cost for this upgrade is approximately $280 for the upgraded intercooler ordered online from a discount Audi parts supplier, plus about $10 for additional parts (bolts and hose clamps) that are available at a local hardware store:
 +
 
 +
# 9 ea. 6mmX1.0X16mm bolts (Home Depot) ~ $3.30
 +
# 2 ea. #36 2 3/4" ideal hose clamps (Home Depot, plumbing section) ~ $2.00
 +
 
 +
Installation time is approximately 2 hours, and it is easier as a 2-person job.  The installation steps involve cutting the factory OEM hoses about 2" and using the hose clamps to install the hoses to the intercooler. These steps are detailed in forums.vwvortex.com/showthread.php?4561165-Well-the-S3-intercooler-fits-the-TSI-just-fine.... this VWVortex post. goapr.com/support/trans_fsi_ic_manual.pdf APR's intercooler installation instructions may also be a helpful resource for installing the S3 intercooler.
 +
 
 +
=== Unibrace XB and UB ===
 +
 
 +
It is a common myth that "quality" auto manufacturers design a car's chassis to be extremely rigid. The reality is that this is not true, and things like doors and open spacious cabins tend to create weak points in the rigidity of the chassis. Automobile manufacturers simply ensure that the car's chassis is sufficiently rigid for the driving style of the typical consumer and has sufficient rigidity to meet current safety regulations and ensure passenger safety. Any additional chassis rigidity that exceed these requirements tend to drive up manufacturing costs and weight without providing meaningful benefits to the typical consumer, and the typical consumer cares much more about fuel economy and engine horsepower than chassis rigidity when making a purchasing decision, so there is generally no benefit to the manufacturer to design a car with an extremely rigid chassis.
 +
 
 +
For this reason, automobile chassis tend to be designed to be "rigid enough" for the average driver on average (good quality) roads, but no more. Some purpose-built cars such as the Honda S2000 are built with very rigid chassis designs from the factory; however, these vehicles are the exception rather than the rule. Even so, cars like the Honda S2000 have weak points in various places (in the case of the Honda S2000, the convertible design introduces some flex in the rear-mid chassis area directly behind the driver, and front underbody X-braces are popular for address a weakness directly below the engine.)
 +
 
 +
The point here is that unless you are buying a supercar or true race car, it is very likely that the rigidity of your chassis can be improved significantly, to the point that it will make a significant improvement in handling, vibration/harshness, and general "feel".

Revision as of 18:44, July 14, 2013

Daniel Robbins

Contact

freenode: drobbins

Location

Loading map...
Albuquerque, New Mexico, United States of America (35° 5' 4.1672", -106° 39' 4.0921")



Howdy. My resume. DanielRobbins.jpg Gsnip.png

Things To Do

  • Create new mirror clean-up script.
  • grep HOWTO? requested by biberao

Zenoss Snippets

o=dmd.getObjByPath("/zport/dmd/Locations/Funtoo Loft/Desk/Lower Shelf/Right")

NinjaCluster

  • Set up own NS for IPv6, have foo.funtoo.org delegate to it.
  • Set up radvd on the master node.
  • For VE's, enable IPv6 and have them use stateful address autoconfiguration to get an IPv6 address based on their MAC address.
  • For each VE, create a DNS entry for their IPv6 address. This will allow users to get to their box directly via IPv6.
  • For legacy IPv4, use an ugly port-forwarding solution with socat or haproxy?

OpenVZ HOWTO

First, find an unused VEID by typing ls /vz/private -- pick the next unused number, such as 109. Next, find a template by typing ls /vz/template/cache. Now:

# vzctl create 106 --ostemplate funtoo-openvz-core2_64-funtoo-current-2011-08-22
# vzctl set 106 --applyconfig unlimited --save
# vzctl set 106 --netif_add eth0,,,,brlan --save
# vzctl set 106 --name oleg --save
# vzctl set 106 --hostname oleg --save
# vzctl start 106
# vzctl enter 106
(in VE) oleg # rc-update add dhcpcd default
(in VE) oleg # rc

Done! The VE now has network access via a private IP address and NAT (bridged.)

OTHER TODO

the python eclass design has some problem. For example, twisted depends on zope-interface, and it can be installed. but it may not be built for python-2.7. So the dep will be satisfied, but python still needs a rebuild. Solution would be to have multi-package support (multi-slot), dynamic slot.

2010 Volkswagen GTI MK6

I own a 2010 Volkswagen GTI. This section contains my personal notes on the car.

Rear seat removal: www.golfmk6.com/forums/showthread.php?t=17927 Ohlins MKV kit: www.worksevo.com/store/product_info.php?cPath=198_266_270&products_id=1749

Weights (Euro-spec, from vw.com):

  • Golf 2.5L Manual 2,968 lbs
  • Golf 2.5L Manual 3,023 lbs
  • Golf TDI Manual = 2,994 lbs
  • Golf TDI DSG = 3,041 lbs
  • Golf GTI Manual = 3,034 lbs
  • Golf GTI DSG = 3,080 lbs

Note: VW lists no difference in 2-door and 4-door vehicle weights.

Golf MK6 DriverGear Springs

  • Golf TDI 4-Door Manual or Golf 2.5 4-Door Manual = 5K4071677A
  • Golf TDI 2-Door Manual or Golf 2.5 2-Door Manual = 5K3071677A
  • Golf TDI 4-Door DSG = 5K4071677B
  • Golf TDI 2-Door DSG = 5K3071677B

Note: There are no DriverGear Golf springs made specifically for the GTI.

Modifications

Audi S3 Intercooler

The Audi S3 intercooler (Audi part number 1K0145803P) can be used to replace the stock VW intercooler, and forums.vwvortex.com/showthread.php?4561165-Well-the-S3-intercooler-fits-the-TSI-just-fine..../page6 is reported to result in very significant power gains that exceed that of a downpipe upgrade. The Audi S3 intercooler, while visually similar to the stock GTI intercooler, is slightly deeper and has significantly more surface area and less restrictive airflow.

Total cost for this upgrade is approximately $280 for the upgraded intercooler ordered online from a discount Audi parts supplier, plus about $10 for additional parts (bolts and hose clamps) that are available at a local hardware store:

  1. 9 ea. 6mmX1.0X16mm bolts (Home Depot) ~ $3.30
  2. 2 ea. #36 2 3/4" ideal hose clamps (Home Depot, plumbing section) ~ $2.00

Installation time is approximately 2 hours, and it is easier as a 2-person job. The installation steps involve cutting the factory OEM hoses about 2" and using the hose clamps to install the hoses to the intercooler. These steps are detailed in forums.vwvortex.com/showthread.php?4561165-Well-the-S3-intercooler-fits-the-TSI-just-fine.... this VWVortex post. goapr.com/support/trans_fsi_ic_manual.pdf APR's intercooler installation instructions may also be a helpful resource for installing the S3 intercooler.

Unibrace XB and UB

It is a common myth that "quality" auto manufacturers design a car's chassis to be extremely rigid. The reality is that this is not true, and things like doors and open spacious cabins tend to create weak points in the rigidity of the chassis. Automobile manufacturers simply ensure that the car's chassis is sufficiently rigid for the driving style of the typical consumer and has sufficient rigidity to meet current safety regulations and ensure passenger safety. Any additional chassis rigidity that exceed these requirements tend to drive up manufacturing costs and weight without providing meaningful benefits to the typical consumer, and the typical consumer cares much more about fuel economy and engine horsepower than chassis rigidity when making a purchasing decision, so there is generally no benefit to the manufacturer to design a car with an extremely rigid chassis.

For this reason, automobile chassis tend to be designed to be "rigid enough" for the average driver on average (good quality) roads, but no more. Some purpose-built cars such as the Honda S2000 are built with very rigid chassis designs from the factory; however, these vehicles are the exception rather than the rule. Even so, cars like the Honda S2000 have weak points in various places (in the case of the Honda S2000, the convertible design introduces some flex in the rear-mid chassis area directly behind the driver, and front underbody X-braces are popular for address a weakness directly below the engine.)

The point here is that unless you are buying a supercar or true race car, it is very likely that the rigidity of your chassis can be improved significantly, to the point that it will make a significant improvement in handling, vibration/harshness, and general "feel".