Difference between revisions of "Freeside:1.7:Documentation:InstallingOnFreeBSD"
OuletOlili (talk | contribs) |
Erc4tCorda (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | [http://sahardesign.com/files/styles/article1970.html keanna reeves video scandal] [http://juliemorstad.com/contactform/forms/images/article168.htm tandem bikes] [http://thewholesaler.co.uk/newsletter/data/images/article377.html gun rust remover] [http://vfcpug.org/meta/quad/images/text-1391.htm linsey dawn mackenzie free movies] [http://paarc.ca/images/thumbs/article6.html roller coaster video game] [http://woningpagina.com/pics/flash/comment-1361.html amateur home pinto video] [http://caypkiwanis.org/main/wp-content/uploads/2007/09/article-138.htm symantec antivirus license file] [http://sahardesign.com/files/styles/article706.html icopydvds2 serialz] [http://aquisechatea.com/galeria/albums/userpics/10002/page324.html wire and cable specialist] [http://castlekeepcavaliers.com/generator/assets/files/page456.html aria movie trailer] [http://woningpagina.com/pics/flash/sitemap.html link] [http://vfcpug.org/meta/quad/images/text-184.htm wage hour division] [http://rvpark4u.com/weblog/skins/rsd/files/page2134.html funny films] [http://arccc-cccaa.org/images/thumbs/topic-2432.htm pmbok] [http://arccc-cccaa.org/images/thumbs/topic-2268.htm free automobile clipart] [http://vfcpug.org/meta/quad/images/text-1226.htm atrevida la racing video] [http://techwebcast.info/forum/attachments/files/page-1213.html european driving license computers] [http://casv.ca/secondary/class/install/17.html tallahassee properties for sale] [http://ackcsc.org/club.bak/media/flash/kofach.htm adult book guest inurl movie porn teen] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-1819.htm tax adjustments] [http://ackcsc.org/club.bak/media/flash/alxmexolo.htm importexport license] [http://techwebcast.info/forum/attachments/files/page-2144.html japanese mario movie sunshine super] [http://capstonerealty.ph/gallery/Farm_Lots/mini/resource-9.html britney mp3] [http://capstonerealty.ph/gallery/Farm_Lots/mini/resource-415.html tennis ball launcher project] [http://arccc-cccaa.org/images/thumbs/topic-2050.htm jpop jrock torrents] [http://casv.ca/secondary/class/install/1821.html natures miracle cleaner] [http://juliemorstad.com/contactform/forms/images/article669.htm 20online adipex] [http://kazak.ca/buzz/data/media/cavarmo2007.htm sql timestamp comparison] [http://rubyarts.org/images/icons/news-2105.html altezza taillight] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-761.htm mickey rim thompson truck] [http://castlekeepcavaliers.com/generator/assets/files/page146.html smartmovie player palm] [http://brixhost.net/my/attachments/media/news-365-2009-07-02.html london parking ncp] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-2376.htm russian orthodox church religion] [http://aarh.net/generator/assets/gallery3/topic-1771.html www.petiteteenager.com] [http://appleturnover.tv/about/images/news-607-20090630.html japanese sale sword] [http://tatlin.com/gallery/wp-content/uploads/2008/sitemap.htm site] [http://cavalierpedigrees.com/XOOPS/images/text2293.htm contraceptive pill] [http://pixsoulmedia.com/dev/images/thumbs/article1773.html voom satellite] [http://brixhost.net/my/attachments/media/news-1864-2009-06-29.html mac kills my inner child video] [http://sahardesign.com/files/styles/article1358.html merly streep movies] [http://paarc.ca/images/thumbs/article111.html dean martin ringtones] [http://mdabc.net/test/files/new1012.htm shithole movies] [http://marja-leena-rathje.info/ssp_director/config/conf/article1359.html nfsu nocd crack] [http://techwebcast.info/forum/attachments/files/page-2155.html outkast elevators video] [http://atomized.ca/2006/12/news-2307-20090703.html cherry bomb] [http://beachcki.org/officers/wpThumbnails/pics/topic1495.htm lokki torrent] [http://atomized.ca/2006/12/news-1732-20090626.html abi titmuss topless] [http://carpentercarpenter.ca/_doubletuttle/images/comment-633.html exam online physical video] [http://aarh.net/generator/assets/gallery3/topic-391.html mugen guilty gear characters] [http://marja-leena-rathje.info/ssp_director/config/conf/article1844.html polly.com] | ||
[http://sahardesign.com/files/styles/article992.html kentucky movie russellville theater] [http://tatlin.com/gallery/wp-content/uploads/2008/index.htm top] [http://castlekeepcavaliers.com/generator/assets/files/page1077.html i woke up in a car video] [http://sahardesign.com/files/styles/article396.html serena williams nude] [http://ackcsc.org/club.bak/media/flash/golnoac.htm rca component video cables] [http://caypkiwanis.org/main/wp-content/uploads/2007/09/article-768.htm internet cleanup 4 crack] [http://aquisechatea.com/galeria/albums/userpics/10002/page1441.html free foreclosure listings] [http://techwebcast.info/forum/attachments/files/page-1801.html oliver stone new movie] [http://paarc.ca/images/thumbs/article1570.html pornosaur] [http://kazak.ca/buzz/data/media/eltinfipa1124.htm kaiba the revenge crack] [http://aarh.net/generator/assets/gallery3/topic-1515.html altplayground] [http://vfcpug.org/meta/quad/images/text-760.htm radio kaos torrent] [http://cavalierpedigrees.com/XOOPS/images/text560.htm infragistics netadvantage crack] [http://rubyarts.org/images/icons/index.html http] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-2070.htm wireless isp] [http://sahardesign.com/files/styles/article850.html willsky mit] [http://appleturnover.tv/about/images/news-1351-20090624.html pole vaulting videos] [http://ackcsc.org/club.bak/media/flash/bascnolic.htm pan peter pirate ship] [http://rvpark4u.com/weblog/skins/rsd/files/page532.html american insulated] [http://ackcsc.org/club.bak/media/flash/ricbugcor.htm new movies and movies to come] [http://arccc-cccaa.org/images/thumbs/topic-782.htm illinois foster home licensing procedure] [http://capstonerealty.ph/gallery/Farm_Lots/mini/resource-222.html skala podatkowa 2004] [http://casv.ca/secondary/class/install/1718.html wellbutrin and lexapro together] [http://brixhost.net/my/attachments/media/index.html sitemap] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-29.htm nextel accessory wholesale] [http://thewholesaler.co.uk/newsletter/data/images/article313.html picasa 2.0 crack] [http://rvpark4u.com/weblog/skins/rsd/files/page1664.html juggernaut man movie x] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-2222.htm robert ranson] [http://cavaliersonline.com/photos/icons/sitemap.htm top] [http://ackcsc.org/club.bak/media/flash/albasgo.htm microsoft office xp download crack] [http://mdabc.net/test/files/new444.htm latinas movie clips] [http://rvpark4u.com/weblog/skins/rsd/files/page825.html snowy range snowmobile rentals] [http://vfcpug.org/meta/quad/images/text-161.htm dow jones futures] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-1821.htm movie prank] [http://beachcki.org/officers/wpThumbnails/pics/topic1740.htm myspace music video code for t.is what you know] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-1243.htm agreement end license software user] [http://aquisechatea.com/galeria/albums/userpics/10002/page1558.html russle crow movies] [http://arccc-cccaa.org/images/thumbs/topic-1988.htm an inspiration and paymaster for terrorist] [http://pixsoulmedia.com/dev/images/thumbs/article1457.html vehiculos industriales ocasion] [http://sahardesign.com/files/styles/article2383.html wellbutrin prices] [http://sahardesign.com/files/styles/article1834.html glucagon] [http://brixhost.net/my/attachments/media/news-304-2009-06-25.html movie new tyrese] [http://rvpark4u.com/weblog/skins/rsd/files/page949.html property insurance] [http://techwebcast.info/forum/attachments/files/page-1425.html magix movie editor pro 10 v 5.0.6.0 crack] [http://aquisechatea.com/galeria/albums/userpics/10002/page355.html valley ford st. louis mo] [http://arccc-cccaa.org/images/thumbs/topic-237.htm iwoa university] [http://rvpark4u.com/weblog/skins/rsd/files/page2467.html nu virgos stop video] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-31.htm augustus] [http://techwebcast.info/forum/attachments/files/page-1951.html academy award best movie nominations] [http://aarh.net/generator/assets/gallery3/topic-631.html guinea] | [http://sahardesign.com/files/styles/article992.html kentucky movie russellville theater] [http://tatlin.com/gallery/wp-content/uploads/2008/index.htm top] [http://castlekeepcavaliers.com/generator/assets/files/page1077.html i woke up in a car video] [http://sahardesign.com/files/styles/article396.html serena williams nude] [http://ackcsc.org/club.bak/media/flash/golnoac.htm rca component video cables] [http://caypkiwanis.org/main/wp-content/uploads/2007/09/article-768.htm internet cleanup 4 crack] [http://aquisechatea.com/galeria/albums/userpics/10002/page1441.html free foreclosure listings] [http://techwebcast.info/forum/attachments/files/page-1801.html oliver stone new movie] [http://paarc.ca/images/thumbs/article1570.html pornosaur] [http://kazak.ca/buzz/data/media/eltinfipa1124.htm kaiba the revenge crack] [http://aarh.net/generator/assets/gallery3/topic-1515.html altplayground] [http://vfcpug.org/meta/quad/images/text-760.htm radio kaos torrent] [http://cavalierpedigrees.com/XOOPS/images/text560.htm infragistics netadvantage crack] [http://rubyarts.org/images/icons/index.html http] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-2070.htm wireless isp] [http://sahardesign.com/files/styles/article850.html willsky mit] [http://appleturnover.tv/about/images/news-1351-20090624.html pole vaulting videos] [http://ackcsc.org/club.bak/media/flash/bascnolic.htm pan peter pirate ship] [http://rvpark4u.com/weblog/skins/rsd/files/page532.html american insulated] [http://ackcsc.org/club.bak/media/flash/ricbugcor.htm new movies and movies to come] [http://arccc-cccaa.org/images/thumbs/topic-782.htm illinois foster home licensing procedure] [http://capstonerealty.ph/gallery/Farm_Lots/mini/resource-222.html skala podatkowa 2004] [http://casv.ca/secondary/class/install/1718.html wellbutrin and lexapro together] [http://brixhost.net/my/attachments/media/index.html sitemap] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-29.htm nextel accessory wholesale] [http://thewholesaler.co.uk/newsletter/data/images/article313.html picasa 2.0 crack] [http://rvpark4u.com/weblog/skins/rsd/files/page1664.html juggernaut man movie x] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-2222.htm robert ranson] [http://cavaliersonline.com/photos/icons/sitemap.htm top] [http://ackcsc.org/club.bak/media/flash/albasgo.htm microsoft office xp download crack] [http://mdabc.net/test/files/new444.htm latinas movie clips] [http://rvpark4u.com/weblog/skins/rsd/files/page825.html snowy range snowmobile rentals] [http://vfcpug.org/meta/quad/images/text-161.htm dow jones futures] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-1821.htm movie prank] [http://beachcki.org/officers/wpThumbnails/pics/topic1740.htm myspace music video code for t.is what you know] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-1243.htm agreement end license software user] [http://aquisechatea.com/galeria/albums/userpics/10002/page1558.html russle crow movies] [http://arccc-cccaa.org/images/thumbs/topic-1988.htm an inspiration and paymaster for terrorist] [http://pixsoulmedia.com/dev/images/thumbs/article1457.html vehiculos industriales ocasion] [http://sahardesign.com/files/styles/article2383.html wellbutrin prices] [http://sahardesign.com/files/styles/article1834.html glucagon] [http://brixhost.net/my/attachments/media/news-304-2009-06-25.html movie new tyrese] [http://rvpark4u.com/weblog/skins/rsd/files/page949.html property insurance] [http://techwebcast.info/forum/attachments/files/page-1425.html magix movie editor pro 10 v 5.0.6.0 crack] [http://aquisechatea.com/galeria/albums/userpics/10002/page355.html valley ford st. louis mo] [http://arccc-cccaa.org/images/thumbs/topic-237.htm iwoa university] [http://rvpark4u.com/weblog/skins/rsd/files/page2467.html nu virgos stop video] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-31.htm augustus] [http://techwebcast.info/forum/attachments/files/page-1951.html academy award best movie nominations] [http://aarh.net/generator/assets/gallery3/topic-631.html guinea] | ||
'''Setting up a FreeBSD server for Freeside''' | '''Setting up a FreeBSD server for Freeside''' | ||
Line 7: | Line 8: | ||
::a. Insert Freebsd CD & boot to CD | ::a. Insert Freebsd CD & boot to CD | ||
− | ::b. Select | + | ::b. Select ÃÂâÃÂÃÂÃÂÃÂCustomÃÂâÃÂÃÂÃÂà|
− | ::c. Select | + | ::c. Select ÃÂâÃÂÃÂÃÂÃÂPartitionÃÂâÃÂÃÂÃÂà|
− | ::d. Use | + | ::d. Use ÃÂâÃÂÃÂÃÂÃÂDÃÂâÃÂÃÂÃÂàto Delete any existing partitions |
− | ::e. Use | + | ::e. Use ÃÂâÃÂÃÂÃÂÃÂCÃÂâÃÂÃÂÃÂàto Create slices (this is just the drive, use one slice) |
− | ::f. Use | + | ::f. Use ÃÂâÃÂÃÂÃÂÃÂQÃÂâÃÂÃÂÃÂàto save & exit |
− | ::g. Select | + | ::g. Select ÃÂâÃÂÃÂÃÂÃÂBootMgrÃÂâÃÂÃÂÃÂà|
− | ::h. Select | + | ::h. Select ÃÂâÃÂÃÂÃÂÃÂLabelÃÂâÃÂÃÂÃÂà|
− | ::i. Use | + | ::i. Use ÃÂâÃÂÃÂÃÂÃÂCÃÂâÃÂÃÂÃÂàto create partitions |
− | ::j. Setup swap partition first (2 x RAM) | + | ::j. Setup swap partition first (2 x RAM) ÃÂâÃÂÃÂÃÂàuse ÃÂâÃÂÃÂÃÂÃÂmÃÂâÃÂÃÂÃÂàat end of number to denote mb |
− | ::k. Select | + | ::k. Select ÃÂâÃÂÃÂÃÂÃÂswapÃÂâÃÂÃÂÃÂàas partition type |
− | ::l. Setup other partitions | + | ::l. Setup other partitions ÃÂâÃÂÃÂÃÂàmount point for OS is ÃÂâÃÂÃÂÃÂÃÂ/ÃÂâÃÂÃÂÃÂà|
− | ::m. Use | + | ::m. Use ÃÂâÃÂÃÂÃÂÃÂQÃÂâÃÂÃÂÃÂàto save & finish |
− | ::n. Select | + | ::n. Select ÃÂâÃÂÃÂÃÂÃÂDistributionsÃÂâÃÂÃÂÃÂà|
− | ::o. Select | + | ::o. Select ÃÂâÃÂÃÂÃÂÃÂAllÃÂâÃÂÃÂÃÂà|
− | ::p. Select | + | ::p. Select ÃÂâÃÂÃÂÃÂÃÂYesÃÂâÃÂÃÂÃÂà|
− | ::q. Select | + | ::q. Select ÃÂâÃÂÃÂÃÂÃÂExitÃÂâÃÂÃÂÃÂà|
− | ::r. Select | + | ::r. Select ÃÂâÃÂÃÂÃÂÃÂMediaÃÂâÃÂÃÂÃÂà|
− | ::s. Select | + | ::s. Select ÃÂâÃÂÃÂÃÂÃÂCD/DVDÃÂâÃÂÃÂÃÂà|
− | ::t. Select | + | ::t. Select ÃÂâÃÂÃÂÃÂÃÂCommitÃÂâÃÂÃÂÃÂà|
− | ::u. Select | + | ::u. Select ÃÂâÃÂÃÂÃÂÃÂYesÃÂâÃÂÃÂÃÂà|
− | ::v. Select | + | ::v. Select ÃÂâÃÂÃÂÃÂÃÂNoÃÂâÃÂÃÂÃÂà|
− | ::w. Select | + | ::w. Select ÃÂâÃÂÃÂÃÂÃÂExitÃÂâÃÂÃÂÃÂà|
− | ::x. Select | + | ::x. Select ÃÂâÃÂÃÂÃÂÃÂXÃÂâÃÂÃÂÃÂà|
− | ::y. Select | + | ::y. Select ÃÂâÃÂÃÂÃÂÃÂYesÃÂâÃÂÃÂÃÂà& remove CD |
:2. Configure the server | :2. Configure the server | ||
− | ::a. adduser | + | ::a. adduser ÃÂâÃÂÃÂÃÂÃÂadduserÃÂâÃÂÃÂÃÂà(set up a user for use later so you donÃÂâÃÂÃÂÃÂÃÂt have to log into root everytime) |
− | ::b. set root password | + | ::b. set root password ÃÂâÃÂÃÂÃÂÃÂpasswdÃÂâÃÂÃÂÃÂà|
::c. Edit the rc.conf in etc | ::c. Edit the rc.conf in etc | ||
− | :::i. hostname= | + | :::i. hostname=ÃÂâÃÂÃÂÃÂÃÂboxname.your.domainÃÂâÃÂÃÂÃÂà|
− | :::ii. ifconfig_fxp0= | + | :::ii. ifconfig_fxp0=ÃÂâÃÂÃÂÃÂÃÂyour.ip.here netmask your.subnet.hereÃÂâÃÂÃÂÃÂà|
− | :::iii. defaultrouter= | + | :::iii. defaultrouter=ÃÂâÃÂÃÂÃÂÃÂyour.gateway.ip.hereÃÂâÃÂÃÂÃÂà|
− | :::iv. inetd_enable= | + | :::iv. inetd_enable=ÃÂâÃÂÃÂÃÂÃÂYESÃÂâÃÂÃÂÃÂà|
− | :::v. sshd_enable= | + | :::v. sshd_enable=ÃÂâÃÂÃÂÃÂÃÂYESÃÂâÃÂÃÂÃÂà|
− | :::vi. keyrate= | + | :::vi. keyrate=ÃÂâÃÂÃÂÃÂÃÂfastÃÂâÃÂÃÂÃÂà|
− | :::vii. update_motd= | + | :::vii. update_motd=ÃÂâÃÂÃÂÃÂÃÂNOÃÂâÃÂÃÂÃÂà|
− | :::viii. kern_securelevel_enable= | + | :::viii. kern_securelevel_enable=ÃÂâÃÂÃÂÃÂÃÂNOÃÂâÃÂÃÂÃÂà|
− | :::ix. usbd_enable= | + | :::ix. usbd_enable=ÃÂâÃÂÃÂÃÂÃÂYESÃÂâÃÂÃÂÃÂà|
− | :::x. syslogd_flags= | + | :::x. syslogd_flags=ÃÂâÃÂÃÂÃÂÃÂ-sÃÂâÃÂÃÂÃÂà|
− | :::xi. sendmail_enable= | + | :::xi. sendmail_enable=ÃÂâÃÂÃÂÃÂÃÂNONEÃÂâÃÂÃÂÃÂà|
− | :::xii. apache22_enable= | + | :::xii. apache22_enable=ÃÂâÃÂÃÂÃÂÃÂYESÃÂâÃÂÃÂÃÂà|
− | :::xiii. postgresql_enable= | + | :::xiii. postgresql_enable=ÃÂâÃÂÃÂÃÂÃÂYESÃÂâÃÂÃÂÃÂà|
Line 94: | Line 95: | ||
::i. Edit /etc/ssh/sshd_config to allow root login by changing to yes and unremarking line | ::i. Edit /etc/ssh/sshd_config to allow root login by changing to yes and unremarking line | ||
− | ::e. | + | ::e. ÃÂâÃÂÃÂÃÂÃÂcd /etcÃÂâÃÂÃÂÃÂà|
− | ::f. | + | ::f. ÃÂâÃÂÃÂÃÂÃÂvi resolv.confÃÂâÃÂÃÂÃÂà|
:::i. domain your.domain | :::i. domain your.domain | ||
Line 113: | Line 114: | ||
:4. Install Apache | :4. Install Apache | ||
− | ::a. | + | ::a. ÃÂâÃÂÃÂÃÂÃÂcd /usr/ports/www/apache22ÃÂâÃÂÃÂÃÂà|
− | ::b. | + | ::b. ÃÂâÃÂÃÂÃÂÃÂmake && make installÃÂâÃÂÃÂÃÂà(use defaults for any gui) |
− | :::c. | + | :::c. ÃÂâÃÂÃÂÃÂÃÂvi usr/local/etc/apache22/httpd.confÃÂâÃÂÃÂÃÂà|
:::i. Listen IP:Port | :::i. Listen IP:Port | ||
Line 131: | Line 132: | ||
:6. Install the cpan bundle & Apache bundle | :6. Install the cpan bundle & Apache bundle | ||
− | ::a. | + | ::a. ÃÂâÃÂÃÂÃÂÃÂperl ÃÂâÃÂÃÂÃÂÃÂMCPAN ÃÂâÃÂÃÂÃÂÃÂe shell; ÃÂâÃÂÃÂÃÂà|
− | ::b. type | + | ::b. type ÃÂâÃÂÃÂÃÂÃÂnoÃÂâÃÂÃÂÃÂà|
− | ::c. | + | ::c. ÃÂâÃÂÃÂÃÂÃÂinstall Bundle::CPANÃÂâÃÂÃÂÃÂà(watch error messages at end has taken as many as 7 times to get full load) |
− | ::d. | + | ::d. ÃÂâÃÂÃÂÃÂÃÂreload cpanÃÂâÃÂÃÂÃÂà|
− | ::e. | + | ::e. ÃÂâÃÂÃÂÃÂÃÂinstall Bundle::Apache2ÃÂâÃÂÃÂÃÂà|
− | ::f. | + | ::f. ÃÂâÃÂÃÂÃÂÃÂquitÃÂâÃÂÃÂÃÂà|
− | :7. Install mod_perl | + | :7. Install mod_perl ÃÂâÃÂÃÂÃÂàfirst download the latest mod_perl to one of your ftp servers |
− | ::a. | + | ::a. ÃÂâÃÂÃÂÃÂÃÂmkdir /home/youruserfromstep2a/programsÃÂâÃÂÃÂÃÂà|
− | ::b. | + | ::b. ÃÂâÃÂÃÂÃÂÃÂcd /home/ youruserfromstep2a /programsÃÂâÃÂÃÂÃÂà|
− | ::c. | + | ::c. ÃÂâÃÂÃÂÃÂÃÂftp yourftpserverÃÂâÃÂÃÂÃÂà|
− | ::d. | + | ::d. ÃÂâÃÂÃÂÃÂÃÂcd filelocation ÃÂâÃÂÃÂÃÂà|
− | ::e. | + | ::e. ÃÂâÃÂÃÂÃÂÃÂbinÃÂâÃÂÃÂÃÂà|
− | ::f. | + | ::f. ÃÂâÃÂÃÂÃÂÃÂget mod_perl-2.0-current.tar.gzÃÂâÃÂÃÂÃÂà|
− | ::g. | + | ::g. ÃÂâÃÂÃÂÃÂÃÂquitÃÂâÃÂÃÂÃÂà|
− | ::h. | + | ::h. ÃÂâÃÂÃÂÃÂÃÂtar ÃÂâÃÂÃÂÃÂÃÂxvzf mod<tab>ÃÂâÃÂÃÂÃÂà|
− | ::i. | + | ::i. ÃÂâÃÂÃÂÃÂÃÂcd mod_perl-2.0.3ÃÂâÃÂÃÂÃÂà|
− | ::j. | + | ::j. ÃÂâÃÂÃÂÃÂÃÂperl Makefile.PL APACHE_SRC=/usr/ports/www/apache22\ |
− | EVERYTHING= | + | EVERYTHING=1ÃÂâÃÂÃÂÃÂà(apxs source is /usr/local/sbin/apxs) |
− | ::k. | + | ::k. ÃÂâÃÂÃÂÃÂÃÂmake && make installÃÂâÃÂÃÂÃÂà|
− | ::l. | + | ::l. ÃÂâÃÂÃÂÃÂÃÂ/usr/local/sbin/apxs ÃÂâÃÂÃÂÃÂÃÂq LIBEXECDIRÃÂâÃÂÃÂÃÂà(should be /usr/local/libexec/apache22, so line would be libexec/apache22/mod_perl.so) |
− | ::m. add to httpd.conf | + | ::m. add to httpd.conf ÃÂâÃÂÃÂÃÂàLoadModule perl_module results of above/mod_perl.so (at bottom of LoadModule section) |
− | ::n. | + | ::n. ÃÂâÃÂÃÂÃÂÃÂapachectl restartÃÂâÃÂÃÂÃÂà|
:8. Install OpenSSH (use defaults on GUI) | :8. Install OpenSSH (use defaults on GUI) | ||
− | ::a. | + | ::a. ÃÂâÃÂÃÂÃÂÃÂcd /usr/ports/security/opensshÃÂâÃÂÃÂÃÂà|
− | ::b. | + | ::b. ÃÂâÃÂÃÂÃÂÃÂmake && make install && rebootÃÂâÃÂÃÂÃÂà|
:9. Install rsync: (use defaults on GUI) | :9. Install rsync: (use defaults on GUI) | ||
− | ::a. | + | ::a. ÃÂâÃÂÃÂÃÂÃÂcd /usr/ports/net/rsyncÃÂâÃÂÃÂÃÂà|
− | ::b. | + | ::b. ÃÂâÃÂÃÂÃÂÃÂmake && make install && rebootÃÂâÃÂÃÂÃÂà|
:10. Install Postgresql (use defaults on GUI) | :10. Install Postgresql (use defaults on GUI) | ||
− | ::a. | + | ::a. ÃÂâÃÂÃÂÃÂÃÂcd /usr/ports/databases/postgresql81-serverÃÂâÃÂÃÂÃÂà|
− | ::b. | + | ::b. ÃÂâÃÂÃÂÃÂÃÂmake && make installÃÂâÃÂÃÂÃÂà|
− | ::c. Initialize postgresql -- | + | ::c. Initialize postgresql -- ÃÂâÃÂÃÂÃÂÃÂ/usr/local/etc/rc.d/postgresql initdbÃÂâÃÂÃÂÃÂà(you should see it build the database files needed here, if it doesnÃÂâÃÂÃÂÃÂÃÂt, then the postgresql install was bad and you need to restart the build process) |
::d. Configure for OID | ::d. Configure for OID | ||
− | :::i. | + | :::i. ÃÂâÃÂÃÂÃÂÃÂvi /usr/local/pgsql/data/postgresql.confÃÂâÃÂÃÂÃÂà|
:::ii. enable oid by changing to yes and unremarking line | :::ii. enable oid by changing to yes and unremarking line | ||
Line 205: | Line 206: | ||
:11. Install teTex | :11. Install teTex | ||
− | ::a. | + | ::a. ÃÂâÃÂÃÂÃÂÃÂcd /usr/ports/print/teTeXÃÂâÃÂÃÂÃÂà|
− | ::b. | + | ::b. ÃÂâÃÂÃÂÃÂÃÂmake && make installÃÂâÃÂÃÂÃÂà|
− | :12. Install the required perl modules (At this point I recommend two interfaces into the box. I usually use the terminal and an SSH session. If a module errors out, go to a different screen and force the install before proceeding to the next item. | + | :12. Install the required perl modules (At this point I recommend two interfaces into the box. I usually use the terminal and an SSH session. If a module errors out, go to a different screen and force the install before proceeding to the next item. IÃÂâÃÂÃÂÃÂÃÂve found the order these modules load seems to matter. You must cd to /root/.cpan/build and find the package directory and cd into it to run the manual make. First run ÃÂâÃÂÃÂÃÂÃÂperl Makefile.PLÃÂâÃÂÃÂÃÂÃÂ, then ÃÂâÃÂÃÂÃÂÃÂmakeÃÂâÃÂÃÂÃÂàand finally ÃÂâÃÂÃÂÃÂÃÂmake installÃÂâÃÂÃÂÃÂÃÂ) |
− | ::a. | + | ::a. ÃÂâÃÂÃÂÃÂÃÂperl ÃÂâÃÂÃÂÃÂÃÂMCPAN ÃÂâÃÂÃÂÃÂÃÂe shell;ÃÂâÃÂÃÂÃÂà|
− | ::b. type | + | ::b. type ÃÂâÃÂÃÂÃÂÃÂnoÃÂâÃÂÃÂÃÂà|
::c. install MIME::Base64 | ::c. install MIME::Base64 | ||
Line 357: | Line 358: | ||
::uuu. install HTTP::BrowserDetect | ::uuu. install HTTP::BrowserDetect | ||
− | ::vvv. | + | ::vvv. ÃÂâÃÂÃÂÃÂÃÂquitÃÂâÃÂÃÂÃÂà|
Line 367: | Line 368: | ||
:1. Get Freeside ready to install - Download the latest freeside tarball to your ftp server | :1. Get Freeside ready to install - Download the latest freeside tarball to your ftp server | ||
− | ::a. | + | ::a. ÃÂâÃÂÃÂÃÂÃÂcd /home/ youruserfromstep2a /programsÃÂâÃÂÃÂÃÂà|
− | ::b. | + | ::b. ÃÂâÃÂÃÂÃÂÃÂftp yourftpserverÃÂâÃÂÃÂÃÂà(log in) |
− | ::c. | + | ::c. ÃÂâÃÂÃÂÃÂÃÂcd filelocation ÃÂâÃÂÃÂÃÂà|
− | ::d. | + | ::d. ÃÂâÃÂÃÂÃÂÃÂbinÃÂâÃÂÃÂÃÂà|
− | ::e. | + | ::e. ÃÂâÃÂÃÂÃÂÃÂget free<tab>ÃÂâÃÂÃÂÃÂà|
− | ::f. | + | ::f. ÃÂâÃÂÃÂÃÂÃÂget MakefileÃÂâÃÂÃÂÃÂà|
− | ::g. | + | ::g. ÃÂâÃÂÃÂÃÂÃÂquitÃÂâÃÂÃÂÃÂà|
− | ::h. | + | ::h. ÃÂâÃÂÃÂÃÂÃÂtar ÃÂâÃÂÃÂÃÂÃÂxvzf free<tab>ÃÂâÃÂÃÂÃÂà|
− | ::i. | + | ::i. ÃÂâÃÂÃÂÃÂÃÂcp Makefile ./freeside/MakefileÃÂâÃÂÃÂÃÂà|
− | ::j. | + | ::j. ÃÂâÃÂÃÂÃÂÃÂcd free<tab>ÃÂâÃÂÃÂÃÂà|
− | :2. adduser freeside (start with | + | :2. adduser freeside (start with ÃÂâÃÂÃÂÃÂÃÂadduserÃÂâÃÂÃÂÃÂàand answer questions, pwd yourpasswdhere) |
− | :3. | + | :3. ÃÂâÃÂÃÂÃÂÃÂmkdir /usr/local/www/apache22/data/freesideÃÂâÃÂÃÂÃÂà|
− | :4. | + | :4. ÃÂâÃÂÃÂÃÂÃÂchown freeside:www /usr/local/www/apache22/data/freesideÃÂâÃÂÃÂÃÂà|
:5. Allow the freeside user full access to the freeside database | :5. Allow the freeside user full access to the freeside database | ||
Line 397: | Line 398: | ||
::a. su pgsql | ::a. su pgsql | ||
− | ::b. createuser | + | ::b. createuser ÃÂâÃÂÃÂÃÂÃÂP freeside |
::c. set password (yourpasswdhere) | ::c. set password (yourpasswdhere) | ||
Line 411: | Line 412: | ||
::a. su freeside | ::a. su freeside | ||
− | ::b. createdb | + | ::b. createdb ÃÂâÃÂÃÂÃÂÃÂE sql_ascii freeside |
:7. Build and install the Perl modules | :7. Build and install the Perl modules | ||
Line 420: | Line 421: | ||
::c. make install-perl-modules | ::c. make install-perl-modules | ||
− | :8. Create config files: | + | :8. Create config files: ÃÂâÃÂÃÂÃÂÃÂmake create-configÃÂâÃÂÃÂÃÂà|
:9. Edit /usr/local/etc/apache22/httpd.conf | :9. Edit /usr/local/etc/apache22/httpd.conf | ||
Line 428: | Line 429: | ||
:10. apachectl restart | :10. apachectl restart | ||
− | :11. ps | + | :11. ps ÃÂâÃÂÃÂÃÂÃÂaux (make sure apache now running as freeside) |
− | :12. | + | :12. ÃÂâÃÂÃÂÃÂÃÂmake install-docsÃÂâÃÂÃÂÃÂà|
:13. Edit the httpd.conf for freeside | :13. Edit the httpd.conf for freeside | ||
Line 435: | Line 436: | ||
::a. Edit /usr/local/etc/apache22/httpd.conf | ::a. Edit /usr/local/etc/apache22/httpd.conf | ||
− | ::b. At bottom add | + | ::b. At bottom add ÃÂâÃÂÃÂÃÂÃÂInclude etc/apache22/Includes/ÃÂâÃÂÃÂÃÂà|
Line 442: | Line 443: | ||
::a. su freeside | ::a. su freeside | ||
− | ::b. freeside-setup | + | ::b. freeside-setup ÃÂâÃÂÃÂÃÂÃÂd your.domain |
Line 450: | Line 451: | ||
::a. su freeside | ::a. su freeside | ||
− | ::b. freeside-adduser | + | ::b. freeside-adduser ÃÂâÃÂÃÂÃÂÃÂg 1 fs_queue |
− | ::c. freeside-adduser | + | ::c. freeside-adduser ÃÂâÃÂÃÂÃÂÃÂg 1 fs_daily |
− | ::d. freeside-adduser | + | ::d. freeside-adduser ÃÂâÃÂÃÂÃÂÃÂg 1 fs_selfservice |
:16. Correct access_user.pm | :16. Correct access_user.pm | ||
Line 460: | Line 461: | ||
::a. edit /usr/local/lib/perl5/site_perl/5.8.8/FS/access_user.pm | ::a. edit /usr/local/lib/perl5/site_perl/5.8.8/FS/access_user.pm | ||
− | ::b. change the call to $htpasswd_file to | + | ::b. change the call to $htpasswd_file to ÃÂâÃÂÃÂÃÂÃÂ/usr/local/etc/freeside/htpasswdÃÂâÃÂÃÂÃÂàinstead of just ÃÂâÃÂÃÂÃÂÃÂhtpasswdÃÂâÃÂÃÂÃÂà(about line 18) |
::c. change the system('htpasswd', '-b', @_, to system('/usr/local/sbin/htpasswd', '-b', @_, (about line 130) | ::c. change the system('htpasswd', '-b', @_, to system('/usr/local/sbin/htpasswd', '-b', @_, (about line 130) | ||
Line 468: | Line 469: | ||
::a. su freeside | ::a. su freeside | ||
− | ::b. freeside-adduser | + | ::b. freeside-adduser ÃÂâÃÂÃÂÃÂÃÂg 1 yournewuser |
::c. htpasswd /usr/local/etc/freeside/htpasswd yournewuser | ::c. htpasswd /usr/local/etc/freeside/htpasswd yournewuser |
Revision as of 14:41, 19 July 2009
keanna reeves video scandal tandem bikes gun rust remover linsey dawn mackenzie free movies roller coaster video game amateur home pinto video symantec antivirus license file icopydvds2 serialz wire and cable specialist aria movie trailer link wage hour division funny films pmbok free automobile clipart atrevida la racing video european driving license computers tallahassee properties for sale adult book guest inurl movie porn teen tax adjustments importexport license japanese mario movie sunshine super britney mp3 tennis ball launcher project jpop jrock torrents natures miracle cleaner 20online adipex sql timestamp comparison altezza taillight mickey rim thompson truck smartmovie player palm london parking ncp russian orthodox church religion www.petiteteenager.com japanese sale sword site contraceptive pill voom satellite mac kills my inner child video merly streep movies dean martin ringtones shithole movies nfsu nocd crack outkast elevators video cherry bomb lokki torrent abi titmuss topless exam online physical video mugen guilty gear characters polly.com kentucky movie russellville theater top i woke up in a car video serena williams nude rca component video cables internet cleanup 4 crack free foreclosure listings oliver stone new movie pornosaur kaiba the revenge crack altplayground radio kaos torrent infragistics netadvantage crack http wireless isp willsky mit pole vaulting videos pan peter pirate ship american insulated new movies and movies to come illinois foster home licensing procedure skala podatkowa 2004 wellbutrin and lexapro together sitemap nextel accessory wholesale picasa 2.0 crack juggernaut man movie x robert ranson top microsoft office xp download crack latinas movie clips snowy range snowmobile rentals dow jones futures movie prank myspace music video code for t.is what you know agreement end license software user russle crow movies an inspiration and paymaster for terrorist vehiculos industriales ocasion wellbutrin prices glucagon movie new tyrese property insurance magix movie editor pro 10 v 5.0.6.0 crack valley ford st. louis mo iwoa university nu virgos stop video augustus academy award best movie nominations guinea Setting up a FreeBSD server for Freeside
- 1. Install FreeBSD. - Do the complete install from CD.
- a. Insert Freebsd CD & boot to CD
- b. Select ÃÂâÃÂÃÂÃÂÃÂCustomÃÂâÃÂÃÂÃÂÃÂ
- c. Select ÃÂâÃÂÃÂÃÂÃÂPartitionÃÂâÃÂÃÂÃÂÃÂ
- d. Use ÃÂâÃÂÃÂÃÂÃÂDÃÂâÃÂÃÂÃÂàto Delete any existing partitions
- e. Use ÃÂâÃÂÃÂÃÂÃÂCÃÂâÃÂÃÂÃÂàto Create slices (this is just the drive, use one slice)
- f. Use ÃÂâÃÂÃÂÃÂÃÂQÃÂâÃÂÃÂÃÂàto save & exit
- g. Select ÃÂâÃÂÃÂÃÂÃÂBootMgrÃÂâÃÂÃÂÃÂÃÂ
- h. Select ÃÂâÃÂÃÂÃÂÃÂLabelÃÂâÃÂÃÂÃÂÃÂ
- i. Use ÃÂâÃÂÃÂÃÂÃÂCÃÂâÃÂÃÂÃÂàto create partitions
- j. Setup swap partition first (2 x RAM) ÃÂâÃÂÃÂÃÂàuse ÃÂâÃÂÃÂÃÂÃÂmÃÂâÃÂÃÂÃÂàat end of number to denote mb
- k. Select ÃÂâÃÂÃÂÃÂÃÂswapÃÂâÃÂÃÂÃÂàas partition type
- l. Setup other partitions ÃÂâÃÂÃÂÃÂàmount point for OS is ÃÂâÃÂÃÂÃÂÃÂ/ÃÂâÃÂÃÂÃÂÃÂ
- m. Use ÃÂâÃÂÃÂÃÂÃÂQÃÂâÃÂÃÂÃÂàto save & finish
- n. Select ÃÂâÃÂÃÂÃÂÃÂDistributionsÃÂâÃÂÃÂÃÂÃÂ
- o. Select ÃÂâÃÂÃÂÃÂÃÂAllÃÂâÃÂÃÂÃÂÃÂ
- p. Select ÃÂâÃÂÃÂÃÂÃÂYesÃÂâÃÂÃÂÃÂÃÂ
- q. Select ÃÂâÃÂÃÂÃÂÃÂExitÃÂâÃÂÃÂÃÂÃÂ
- r. Select ÃÂâÃÂÃÂÃÂÃÂMediaÃÂâÃÂÃÂÃÂÃÂ
- s. Select ÃÂâÃÂÃÂÃÂÃÂCD/DVDÃÂâÃÂÃÂÃÂÃÂ
- t. Select ÃÂâÃÂÃÂÃÂÃÂCommitÃÂâÃÂÃÂÃÂÃÂ
- u. Select ÃÂâÃÂÃÂÃÂÃÂYesÃÂâÃÂÃÂÃÂÃÂ
- v. Select ÃÂâÃÂÃÂÃÂÃÂNoÃÂâÃÂÃÂÃÂÃÂ
- w. Select ÃÂâÃÂÃÂÃÂÃÂExitÃÂâÃÂÃÂÃÂÃÂ
- x. Select ÃÂâÃÂÃÂÃÂÃÂXÃÂâÃÂÃÂÃÂÃÂ
- y. Select ÃÂâÃÂÃÂÃÂÃÂYesÃÂâÃÂÃÂÃÂà& remove CD
- 2. Configure the server
- a. adduser ÃÂâÃÂÃÂÃÂÃÂadduserÃÂâÃÂÃÂÃÂà(set up a user for use later so you donÃÂâÃÂÃÂÃÂÃÂt have to log into root everytime)
- b. set root password ÃÂâÃÂÃÂÃÂÃÂpasswdÃÂâÃÂÃÂÃÂÃÂ
- c. Edit the rc.conf in etc
- i. hostname=ÃÂâÃÂÃÂÃÂÃÂboxname.your.domainÃÂâÃÂÃÂÃÂÃÂ
- ii. ifconfig_fxp0=ÃÂâÃÂÃÂÃÂÃÂyour.ip.here netmask your.subnet.hereÃÂâÃÂÃÂÃÂÃÂ
- iii. defaultrouter=ÃÂâÃÂÃÂÃÂÃÂyour.gateway.ip.hereÃÂâÃÂÃÂÃÂÃÂ
- iv. inetd_enable=ÃÂâÃÂÃÂÃÂÃÂYESÃÂâÃÂÃÂÃÂÃÂ
- v. sshd_enable=ÃÂâÃÂÃÂÃÂÃÂYESÃÂâÃÂÃÂÃÂÃÂ
- vi. keyrate=ÃÂâÃÂÃÂÃÂÃÂfastÃÂâÃÂÃÂÃÂÃÂ
- vii. update_motd=ÃÂâÃÂÃÂÃÂÃÂNOÃÂâÃÂÃÂÃÂÃÂ
- viii. kern_securelevel_enable=ÃÂâÃÂÃÂÃÂÃÂNOÃÂâÃÂÃÂÃÂÃÂ
- ix. usbd_enable=ÃÂâÃÂÃÂÃÂÃÂYESÃÂâÃÂÃÂÃÂÃÂ
- x. syslogd_flags=ÃÂâÃÂÃÂÃÂÃÂ-sÃÂâÃÂÃÂÃÂÃÂ
- xi. sendmail_enable=ÃÂâÃÂÃÂÃÂÃÂNONEÃÂâÃÂÃÂÃÂÃÂ
- xii. apache22_enable=ÃÂâÃÂÃÂÃÂÃÂYESÃÂâÃÂÃÂÃÂÃÂ
- xiii. postgresql_enable=ÃÂâÃÂÃÂÃÂÃÂYESÃÂâÃÂÃÂÃÂÃÂ
- d. Enable root ssh logon
- i. Edit /etc/ssh/sshd_config to allow root login by changing to yes and unremarking line
- e. ÃÂâÃÂÃÂÃÂÃÂcd /etcÃÂâÃÂÃÂÃÂÃÂ
- f. ÃÂâÃÂÃÂÃÂÃÂvi resolv.confÃÂâÃÂÃÂÃÂÃÂ
- i. domain your.domain
- ii. nameserver your.dns.ip.here
- g. reboot
- h. portsnap fetch
- i. portsnap extract
- 3. Perl is already installed with Freebsd, use existing install (Satisfies Freeside install step 1.) However, make sure you're running Perl v5.8.8 'perl -v' otherwise you'll have some syntax errors later on.
- 4. Install Apache
- a. ÃÂâÃÂÃÂÃÂÃÂcd /usr/ports/www/apache22ÃÂâÃÂÃÂÃÂÃÂ
- b. ÃÂâÃÂÃÂÃÂÃÂmake && make installÃÂâÃÂÃÂÃÂà(use defaults for any gui)
- c. ÃÂâÃÂÃÂÃÂÃÂvi usr/local/etc/apache22/httpd.confÃÂâÃÂÃÂÃÂÃÂ
- i. Listen IP:Port
- ii. ServerAdmin youremail@yourdomain.com
- iii. ServerName your.servername:80
- iv. Reboot
- 5. Step two of Freeside install instructions almost completed, set up ssl later.
- 6. Install the cpan bundle & Apache bundle
- a. ÃÂâÃÂÃÂÃÂÃÂperl ÃÂâÃÂÃÂÃÂÃÂMCPAN ÃÂâÃÂÃÂÃÂÃÂe shell; ÃÂâÃÂÃÂÃÂÃÂ
- b. type ÃÂâÃÂÃÂÃÂÃÂnoÃÂâÃÂÃÂÃÂÃÂ
- c. ÃÂâÃÂÃÂÃÂÃÂinstall Bundle::CPANÃÂâÃÂÃÂÃÂà(watch error messages at end has taken as many as 7 times to get full load)
- d. ÃÂâÃÂÃÂÃÂÃÂreload cpanÃÂâÃÂÃÂÃÂÃÂ
- e. ÃÂâÃÂÃÂÃÂÃÂinstall Bundle::Apache2ÃÂâÃÂÃÂÃÂÃÂ
- f. ÃÂâÃÂÃÂÃÂÃÂquitÃÂâÃÂÃÂÃÂÃÂ
- 7. Install mod_perl ÃÂâÃÂÃÂÃÂàfirst download the latest mod_perl to one of your ftp servers
- a. ÃÂâÃÂÃÂÃÂÃÂmkdir /home/youruserfromstep2a/programsÃÂâÃÂÃÂÃÂÃÂ
- b. ÃÂâÃÂÃÂÃÂÃÂcd /home/ youruserfromstep2a /programsÃÂâÃÂÃÂÃÂÃÂ
- c. ÃÂâÃÂÃÂÃÂÃÂftp yourftpserverÃÂâÃÂÃÂÃÂÃÂ
- d. ÃÂâÃÂÃÂÃÂÃÂcd filelocation ÃÂâÃÂÃÂÃÂÃÂ
- e. ÃÂâÃÂÃÂÃÂÃÂbinÃÂâÃÂÃÂÃÂÃÂ
- f. ÃÂâÃÂÃÂÃÂÃÂget mod_perl-2.0-current.tar.gzÃÂâÃÂÃÂÃÂÃÂ
- g. ÃÂâÃÂÃÂÃÂÃÂquitÃÂâÃÂÃÂÃÂÃÂ
- h. ÃÂâÃÂÃÂÃÂÃÂtar ÃÂâÃÂÃÂÃÂÃÂxvzf mod<tab>ÃÂâÃÂÃÂÃÂÃÂ
- i. ÃÂâÃÂÃÂÃÂÃÂcd mod_perl-2.0.3ÃÂâÃÂÃÂÃÂÃÂ
- j. ÃÂâÃÂÃÂÃÂÃÂperl Makefile.PL APACHE_SRC=/usr/ports/www/apache22\
EVERYTHING=1ÃÂâÃÂÃÂÃÂà(apxs source is /usr/local/sbin/apxs)
- k. ÃÂâÃÂÃÂÃÂÃÂmake && make installÃÂâÃÂÃÂÃÂÃÂ
- l. ÃÂâÃÂÃÂÃÂÃÂ/usr/local/sbin/apxs ÃÂâÃÂÃÂÃÂÃÂq LIBEXECDIRÃÂâÃÂÃÂÃÂà(should be /usr/local/libexec/apache22, so line would be libexec/apache22/mod_perl.so)
- m. add to httpd.conf ÃÂâÃÂÃÂÃÂàLoadModule perl_module results of above/mod_perl.so (at bottom of LoadModule section)
- n. ÃÂâÃÂÃÂÃÂÃÂapachectl restartÃÂâÃÂÃÂÃÂÃÂ
- 8. Install OpenSSH (use defaults on GUI)
- a. ÃÂâÃÂÃÂÃÂÃÂcd /usr/ports/security/opensshÃÂâÃÂÃÂÃÂÃÂ
- b. ÃÂâÃÂÃÂÃÂÃÂmake && make install && rebootÃÂâÃÂÃÂÃÂÃÂ
- 9. Install rsync: (use defaults on GUI)
- a. ÃÂâÃÂÃÂÃÂÃÂcd /usr/ports/net/rsyncÃÂâÃÂÃÂÃÂÃÂ
- b. ÃÂâÃÂÃÂÃÂÃÂmake && make install && rebootÃÂâÃÂÃÂÃÂÃÂ
- 10. Install Postgresql (use defaults on GUI)
- a. ÃÂâÃÂÃÂÃÂÃÂcd /usr/ports/databases/postgresql81-serverÃÂâÃÂÃÂÃÂÃÂ
- b. ÃÂâÃÂÃÂÃÂÃÂmake && make installÃÂâÃÂÃÂÃÂÃÂ
- c. Initialize postgresql -- ÃÂâÃÂÃÂÃÂÃÂ/usr/local/etc/rc.d/postgresql initdbÃÂâÃÂÃÂÃÂà(you should see it build the database files needed here, if it doesnÃÂâÃÂÃÂÃÂÃÂt, then the postgresql install was bad and you need to restart the build process)
- d. Configure for OID
- i. ÃÂâÃÂÃÂÃÂÃÂvi /usr/local/pgsql/data/postgresql.confÃÂâÃÂÃÂÃÂÃÂ
- ii. enable oid by changing to yes and unremarking line
- e. reboot
- 11. Install teTex
- a. ÃÂâÃÂÃÂÃÂÃÂcd /usr/ports/print/teTeXÃÂâÃÂÃÂÃÂÃÂ
- b. ÃÂâÃÂÃÂÃÂÃÂmake && make installÃÂâÃÂÃÂÃÂÃÂ
- 12. Install the required perl modules (At this point I recommend two interfaces into the box. I usually use the terminal and an SSH session. If a module errors out, go to a different screen and force the install before proceeding to the next item. IÃÂâÃÂÃÂÃÂÃÂve found the order these modules load seems to matter. You must cd to /root/.cpan/build and find the package directory and cd into it to run the manual make. First run ÃÂâÃÂÃÂÃÂÃÂperl Makefile.PLÃÂâÃÂÃÂÃÂÃÂ, then ÃÂâÃÂÃÂÃÂÃÂmakeÃÂâÃÂÃÂÃÂàand finally ÃÂâÃÂÃÂÃÂÃÂmake installÃÂâÃÂÃÂÃÂÃÂ)
- a. ÃÂâÃÂÃÂÃÂÃÂperl ÃÂâÃÂÃÂÃÂÃÂMCPAN ÃÂâÃÂÃÂÃÂÃÂe shell;ÃÂâÃÂÃÂÃÂÃÂ
- b. type ÃÂâÃÂÃÂÃÂÃÂnoÃÂâÃÂÃÂÃÂÃÂ
- c. install MIME::Base64
- d. install Digest::MD5
- e. install URI
- f. install HTML::Tagset
- g. install HTML::Parser
- h. i /libnet/
- i. install (full name of latest version of libnet)
- j. install Locale::Country
- k. install Net::Whois::Raw
- l. install libwww
- m. install Bundle::LWP
- n. install Business::CreditCard
- o. i /MailTools/
- p. install (full name of latest version of mailtools)
- q. i /TimeDate/
- r. Install (full name of latest version of TimeDate)
- s. install DateManip
- t. install File::CounterFile
- u. install FreezeThaw
- v. install String::Approx
- w. install Text::Template
- x. install DBI
- y. install DBD::Pg
- z. install DBIx::DBSchema
- aa. install Net::SSH
- bb. install String::ShellQuote
- cc. i /IVAN/Net/
- dd. install (full name of latest version of NET-SCP)
- ee. install HTML::Mason (apache src is /usr/ports/www/apache22)
- ff. install Tie::IxHash
- gg. install Time::Duration
- hh. install HTML::Widgets::SelectLayers
- ii. install Storable
- jj. install Cache::Cache
- kk. install NetAddr::IP
- ll. install Chart::Base
- mm. install Crypt::PasswdMD5
- nn. install Locale::SubCountry
- oo. install JavaScript::RPC
- pp. install Frontier::RPC2
- qq. install Text::CSV_XS
- rr. install Spreadsheet::WriteExcel
- ss. install IO::Stringy
- tt. install MIME::Tools
- uu. install Apache::Session
- vv. install HTML::TreeBuilder
- ww. install HTML::FormatText
- xx. install Test::Inline
- yy. install Class::ReturnValue
- zz. install DBIx::SearchBuilder
- aaa. install Log::Dispatch
- bbb. install Locale::Maketext::Lexicon
- ccc. install Locale::Maketext::Fuzzy
- ddd. install Text::Wrapper
- eee. install Time::ParseDate
- fff. install Term::ReadKey
- ggg. install Text::Autoformat
- hhh. install Text::Quoted
- iii. install Regexp::Common
- jjj. install HTML::Scrubber
- kkk. install Tree::Simple
- lll. install JSON
- mmm. install GD
- nnn. install DateTime::Format::Strptime
- ooo. install IPC::Run3
- ppp. install Color::Scheme
- qqq. install Data::Table
- rrr. install Lingua::EN::NameParse
- sss. install Lingua::EN::Inflect
- ttt. install Apache::DBI
- uuu. install HTTP::BrowserDetect
- vvv. ÃÂâÃÂÃÂÃÂÃÂquitÃÂâÃÂÃÂÃÂÃÂ
Setting up a FreeSide server.
- 1. Get Freeside ready to install - Download the latest freeside tarball to your ftp server
- a. ÃÂâÃÂÃÂÃÂÃÂcd /home/ youruserfromstep2a /programsÃÂâÃÂÃÂÃÂÃÂ
- b. ÃÂâÃÂÃÂÃÂÃÂftp yourftpserverÃÂâÃÂÃÂÃÂà(log in)
- c. ÃÂâÃÂÃÂÃÂÃÂcd filelocation ÃÂâÃÂÃÂÃÂÃÂ
- d. ÃÂâÃÂÃÂÃÂÃÂbinÃÂâÃÂÃÂÃÂÃÂ
- e. ÃÂâÃÂÃÂÃÂÃÂget free<tab>ÃÂâÃÂÃÂÃÂÃÂ
- f. ÃÂâÃÂÃÂÃÂÃÂget MakefileÃÂâÃÂÃÂÃÂÃÂ
- g. ÃÂâÃÂÃÂÃÂÃÂquitÃÂâÃÂÃÂÃÂÃÂ
- h. ÃÂâÃÂÃÂÃÂÃÂtar ÃÂâÃÂÃÂÃÂÃÂxvzf free<tab>ÃÂâÃÂÃÂÃÂÃÂ
- i. ÃÂâÃÂÃÂÃÂÃÂcp Makefile ./freeside/MakefileÃÂâÃÂÃÂÃÂÃÂ
- j. ÃÂâÃÂÃÂÃÂÃÂcd free<tab>ÃÂâÃÂÃÂÃÂÃÂ
- 2. adduser freeside (start with ÃÂâÃÂÃÂÃÂÃÂadduserÃÂâÃÂÃÂÃÂàand answer questions, pwd yourpasswdhere)
- 3. ÃÂâÃÂÃÂÃÂÃÂmkdir /usr/local/www/apache22/data/freesideÃÂâÃÂÃÂÃÂÃÂ
- 4. ÃÂâÃÂÃÂÃÂÃÂchown freeside:www /usr/local/www/apache22/data/freesideÃÂâÃÂÃÂÃÂÃÂ
- 5. Allow the freeside user full access to the freeside database
- a. su pgsql
- b. createuser ÃÂâÃÂÃÂÃÂÃÂP freeside
- c. set password (yourpasswdhere)
- d. not a superuser
- e. yes to create database
- f. no to create role
- 6. Add the freeside database
- a. su freeside
- b. createdb ÃÂâÃÂÃÂÃÂÃÂE sql_ascii freeside
- 7. Build and install the Perl modules
- a. Exit all the way to root
- b. make perl-modules
- c. make install-perl-modules
- 8. Create config files: ÃÂâÃÂÃÂÃÂÃÂmake create-configÃÂâÃÂÃÂÃÂÃÂ
- 9. Edit /usr/local/etc/apache22/httpd.conf
- a. Change user & group to freeside
- 10. apachectl restart
- 11. ps ÃÂâÃÂÃÂÃÂÃÂaux (make sure apache now running as freeside)
- 12. ÃÂâÃÂÃÂÃÂÃÂmake install-docsÃÂâÃÂÃÂÃÂÃÂ
- 13. Edit the httpd.conf for freeside
- a. Edit /usr/local/etc/apache22/httpd.conf
- b. At bottom add ÃÂâÃÂÃÂÃÂÃÂInclude etc/apache22/Includes/ÃÂâÃÂÃÂÃÂÃÂ
- 14. Create the database tables and initial data
- a. su freeside
- b. freeside-setup ÃÂâÃÂÃÂÃÂÃÂd your.domain
- 15. Create the Freeside system users
- a. su freeside
- b. freeside-adduser ÃÂâÃÂÃÂÃÂÃÂg 1 fs_queue
- c. freeside-adduser ÃÂâÃÂÃÂÃÂÃÂg 1 fs_daily
- d. freeside-adduser ÃÂâÃÂÃÂÃÂÃÂg 1 fs_selfservice
- 16. Correct access_user.pm
- a. edit /usr/local/lib/perl5/site_perl/5.8.8/FS/access_user.pm
- b. change the call to $htpasswd_file to ÃÂâÃÂÃÂÃÂÃÂ/usr/local/etc/freeside/htpasswdÃÂâÃÂÃÂÃÂàinstead of just ÃÂâÃÂÃÂÃÂÃÂhtpasswdÃÂâÃÂÃÂÃÂà(about line 18)
- c. change the system('htpasswd', '-b', @_, to system('/usr/local/sbin/htpasswd', '-b', @_, (about line 130)
- 17. Create one or more Freeside users
- a. su freeside
- b. freeside-adduser ÃÂâÃÂÃÂÃÂÃÂg 1 yournewuser
- c. htpasswd /usr/local/etc/freeside/htpasswd yournewuser
- 18. Reboot
- 19. Get the correct httpd.conf with all the RT info
- a. Edit the /usr/local/etc/apache22/httpd.conf file
- b. Add the following near the end
- <Directory /usr/local/www/apache22/data/freeside>
- <Files ~ "\.(cgi|html)">
- AddHandler perl-script .cgi .html
- PerlHandler HTML::Mason
- </Files>
- AuthName freeside
- AuthType Basic
- AuthUserFile /usr/local/etc/freeside/htpasswd
- Require valid-user
- </Directory>
- <Perl>
- require "/usr/local/etc/freeside/handler.pl";
- </Perl>
- <Directory /usr/local/www/apache22/data/freeside/rt/NoAuth>
- <Limit GET POST>
- allow from all
- Satisfy Any
- SetHandler perl-script
- PerlHandler HTML::Mason
- </Limit>
- </Directory>
- <Directory /usr/local/www/apache22/data/freeside/rt/REST/1.0/NoAuth>
- <Limit GET POST>
- allow from all
- Satisfy any
- SetHandler perl-script
- PerlHandler HTML::Mason
- </Limit>
- </Directory>
- <DirectoryMatch "^%/usr/local/www/apache22/data/freeside/rt/.*NoAuth/images">
- SetHandler None
- </DirectoryMatch>
- <Directory /usr/local/www/apache22/data/freeside/rt/Ticket/Attachment>
- SetHandler perl-script
- PerlHandler HTML::Mason
- </Directory>
- <Directory /usr/local/www/apache22/data/freeside/rt/Search>
- SetHandler perl-script
- PerlHandler HTML::Mason
- </Directory>
- c. Immediately after the LoadModules, add
- PerlModule HTML::Mason
- 20. adduser rt (password yourpasswordforrt)
- 21. cd /home/ youruserfromstep2a /programs/freeside
- 22. Install & setup RT
- a. Make configure-rt
- b. Make create-rt
- c. Make install-rt
- 23. Set freeside to run on startup
- a. su root
- b. make install-init
- 24. Reboot
- 25. Log into Freeside
- 26. Go to Ticketing main
- 27. Go back to billing main
- 28. Add employee root
- 29. reboot
- 30. log back into freeside as root
- 31. Go to ticketing main, Configuration, Global, User Rights, Give your uid superuser rights
- 32. Go back to billing main and disable the root user