archive-org.com » ORG » F » FREENAS.ORG

Total: 927

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Django | FreeNAS Community
    305 Rand Jan 14 2014 Showing threads 1 to 3 of 3 Thread Display Options Sort threads by Last message time Thread creation time Title alphabetical Number of replies Number of views First message likes Order threads in Descending order Ascending order Loading You must log in or sign up to post here Show Ignored Content Your name or email address Do you already have an account No create an

    Original URL path: https://forums.freenas.org/index.php?forums/django.11/&order=title (2016-02-01)
    Open archived version from archive

  • Modifying freenas pictures and ixtreme logo | FreeNAS Community
    code they can fork it and maintain it themselves LOL Honestly I don t know how you d remove the logo But even if I did I m not sure I d tell you how The only reason someone would want to remove the logo is for illegal purposes Click to expand it is because they are working so hard on a NAS system and has worked a lot on Freenas now all we want is to change the language to national language to make it easier to work with it and because we don t want any other company to take ownership of what we did we want to change the logo to imply that our company did it and Now I am the manager of this project and I really need help saman Oct 2 2012 7 Offline saman Member Since Sep 9 2012 Messages 4 Message Count 4 Likes Received 0 Trophy Points 1 saman Oct 2 2012 jgreco said No it s not Sometimes people remove unnecessary graphical elements to make things fit on a display or modify them with something they find more appealing Anyways it is not illegal to take FreeNAS and do almost anything with it It s distributed under the BSD license Kirk famously summarized this you had copyright which is what the big companies use to lock everything up you had copyleft which is free software s way of making sure they can t lock it up and then Berkeley had what we called copycenter which is take it down to the copy center and make as many copies as you want The license reads Code text Redistribution and use in source and binary forms with or without modification are permitted provided that the following conditions are met 1 Redistributions of source code must retain the above copyright notice this list of conditions and the following disclaimer 2 Redistributions in binary form must reproduce the above copyright notice this list of conditions and the following disclaimer in the documentation and or other materials provided with the distribution The license doesn t preclude you from removing logos It only really prevents you from removing the existing copyright notices and related materials With that said I m going to note that iXsystems has trademarked FreeNAS which means that if someone did want to go and release a variation of some sort it would be dangerous and hazardous to call it FreeNAS or to include the iXsystems logo which might imply that the variant was sanctioned in some form In other words someone who is aware of the legalities of the situation and maybe wants to roll their own distribution maybe to make their own NAS product it s not illegal for them to do so but it is legally dangerous for them to call it FreeNAS or to use the iXsystems logo With that having been said I m going to note that anyone who has to ASK about how to do this is unlikely to be doing anything major I mean really web browser hover View Image Info well look there they are the file names are freenas logo png and ix logo png now how hard was that Click to expand thanks for your complete description Isn t it the purpose of open source programs to make the deployment of your own also we don t want to change everything just change default language and add our own logo we appreciate ixsystems for their masterpiece in making freenas how should I do this how to make these changes and recompile it I m a programmer but it is my first time with freebsd and freenas and the way of it is compiling can you help me saman Oct 2 2012 8 Offline tingo FreeNAS Aware Member Since Nov 5 2011 Messages 137 Message Count 137 Likes Received 2 Trophy Points 18 Occupation FTE Location Oslo Norway tingo Oct 3 2012 saman said how should I do this how to make these changes and recompile it I m a programmer but it is my first time with freebsd and freenas and the way of it is compiling can you help me Click to expand How far have you got Do you know the default build process in FreeBSD in other words make world Have you gotten the source code for FreeNAS Have you read the instructions in it Torfinn tingo Oct 3 2012 9 Offline cyberjock Forum Guard Dog Admin Member Since Mar 25 2012 Messages 18 609 Message Count 18 609 Likes Received 1 444 Trophy Points 113 cyberjock Oct 9 2012 Saman If you intend to sell your modified version of FreeNAS either as software alone or as a complete software hardware solution I highly recommend your company consult with a lawyer to make sure you aren t doing anything illegal You may need to include special phrasing terminology in the license agreement The last thing you want is a customer to get upset because they paid for something they think they should have gotten for free since FreeNAS is free They may burst your bubble out of spite Just looking out for your interests Hardware recommendations RAID5 RAIDZ1 is dead Read my guide It answers common questions newbies to FreeNAS have Only you can prevent flame wars Read the FreeNAS manual SpoilerTarget Show My Main System FreeNAS 9 3 STABLE whatever is the latest Intel Xeon E3 1230v2 Supermicro X9SCM F 32GB DDR3 ECC 1600 RAM 32GB SATA DOM Cyberpower 1500AVR Ten WD Red WD60EFRX NAS Hard Drives RAIDZ2 40 9TB usable space 10GbE Chelsio adapter cyberjock Oct 9 2012 10 Offline joeschmuck Old Man Member Since May 28 2011 Messages 4 043 Message Count 4 043 Likes Received 306 Trophy Points 83 Occupation Electrical Engineer Data Analysis and Management Location Northern Virginia joeschmuck Oct 9 2012 My two cents are if you re going to take someones work and re badge it and call it your own that

    Original URL path: https://forums.freenas.org/index.php?threads/modifying-freenas-pictures-and-ixtreme-logo.8820/ (2016-02-01)
    Open archived version from archive

  • Customizing View Disks Tab | FreeNAS Community
    but the others are listed below and I feel I need to do something in the notifier py for certain and maybe the class Disk Model in models py gui middleware notifier py gui storage forms py gui storage models py gui storage views py 4 get serial is in gui storage models py and I added the following at line 464 Code text def get temperature self n notifier return n temperature from device n identifier to device self disk identifier 5 serial from device is in multiple locations gui middleware notifier py gui services migrations 0029 iscsi name changing py gui services migrations 0035 device extents changing py gui services migrations 0036 identify dextents serial or devname py gui services migrations 0043 iscsi extents py gui storage models py gui storage migrations 0008 auto add field disk disk identifier py gui storage migrations 0012 name changing py 6 I added to gui services migrations 0036 identify dextents serial or devname py at line 17 and yes I know I m still using serial for the value and that is fine right now I need to get a value any value on the View Disks tab Code text def temperature from device self devname p1 Popen usr local sbin smartctl i dev s devname stdout PIPE output p1 communicate 0 search re search r Serial Number t s P serial output re I re M if search return search group temperature return None 7 I tried adding code to gui middleware notifier py and duplicating the serial from device but changing the first line to the following but nothing good happened it would generate errors in several modules when restarting Django Code text def temperature from device self devname So this is where I am confused I ll end up working on this some more tomorrow but right now it s time to turn off the computer I still have a mailbox I need to rebuild Jerks came by and beat up the mailboxes in my neighborhood Mine survived but many didn t Cheers Mark SpoilerTarget Show FreeNAS System FreeNAS 9 3 Stable AMD FX 4300 3 8GHz CPU Asus M5A78L M USB3 Intel NIC EXPI9301CTBLK PCI E 16GB Kingston DDR3 ECC 1333 RAM Patriot Xporter XT Rage 8GB USB Flash Drive Six WD Red WD20EFRX NAS Hard Drives RAIDZ2 7 3TB usable space All wrapped up in a Cooler Master HAF 912 case APC Back UPS Pro BR1000G SpoilerTarget Show Sophos UTM Unified Threat Management Sophos 9 3xxx Intel Core 2 Duo E8500 CPU Gigabyte GA P45T ES3G 8GB RAM 500GB 2 5 Laptop drive RAID Capacity Calculator or Biduleohm RAID Calculator Decode Your S M A R T Data joeschmuck Apr 13 2013 7 Offline cyberjock Forum Guard Dog Admin Member Since Mar 25 2012 Messages 18 609 Message Count 18 609 Likes Received 1 444 Trophy Points 113 cyberjock Apr 13 2013 Maybe I m completely out to lunch here I have no idea how much of an undertaking this is and its probably going to show before the end of this paragraph but why not just have a separate page with all of your attributes Inject an extra button on the View Disks page that redirects to your new page and then enjoy your new blank page to do with as you please Hardware recommendations RAID5 RAIDZ1 is dead Read my guide It answers common questions newbies to FreeNAS have Only you can prevent flame wars Read the FreeNAS manual SpoilerTarget Show My Main System FreeNAS 9 3 STABLE whatever is the latest Intel Xeon E3 1230v2 Supermicro X9SCM F 32GB DDR3 ECC 1600 RAM 32GB SATA DOM Cyberpower 1500AVR Ten WD Red WD60EFRX NAS Hard Drives RAIDZ2 40 9TB usable space 10GbE Chelsio adapter cyberjock Apr 13 2013 8 Offline joeschmuck Old Man Member Since May 28 2011 Messages 4 043 Message Count 4 043 Likes Received 306 Trophy Points 83 Occupation Electrical Engineer Data Analysis and Management Location Northern Virginia joeschmuck Apr 14 2013 The reason I chose the View Disks tab was because it already shows all the hard drives and it was easy to add a few new columns and steal from the serial number code I would think that would be easier and I wouldn t have to recreate too much stuff And adding a new button to open a new tab might be easy for someone who knows how to do it here I m at a loss so I took the best option I though I had I wanted to work on a different approach today but after reflecting on it It just might screw up my pool I was thinking about adjusting the serial number section until I could enter a static value Hum I might be able to do that with a VM The problem with a VM is I don t get serial number data for the VM drives maybe I could induce one If I find that section of the code maybe I ll figure it out but right now I m not very hopeful Like I said the code is a mess compared to my younger days of programming but it works apparently fine so the end results are great It would be nice to have a breakdown of all the code and it s functions I am trying to create a general list but there is a lot of code SpoilerTarget Show FreeNAS System FreeNAS 9 3 Stable AMD FX 4300 3 8GHz CPU Asus M5A78L M USB3 Intel NIC EXPI9301CTBLK PCI E 16GB Kingston DDR3 ECC 1333 RAM Patriot Xporter XT Rage 8GB USB Flash Drive Six WD Red WD20EFRX NAS Hard Drives RAIDZ2 7 3TB usable space All wrapped up in a Cooler Master HAF 912 case APC Back UPS Pro BR1000G SpoilerTarget Show Sophos UTM Unified Threat Management Sophos 9 3xxx Intel Core 2 Duo E8500 CPU Gigabyte GA P45T ES3G 8GB RAM 500GB 2 5 Laptop drive RAID

    Original URL path: https://forums.freenas.org/index.php?threads/customizing-view-disks-tab.12256/ (2016-02-01)
    Open archived version from archive

  • Modifying/Adding to GUI | FreeNAS Community
    to merge the changes into a running system or look at adding it to the source but that probably isn t a good idea if you re using nightlies I think the easiest is zipping it all up for people using 8 02 and having a script backup the existing stuff and replace it with the modified stuff I ve still got a bit more to do because jails don t have pid s and the notifier code uses pgrep which doesn t find jails unless you use lj but I ve almost got it A lot of stuff is pre configured for a webserver unison bittorrent and a couple other things to be added in later on ProtoSD Nov 14 2011 9 Offline joeschmuck Old Man Member Since May 28 2011 Messages 4 043 Message Count 4 043 Likes Received 306 Trophy Points 83 Occupation Electrical Engineer Data Analysis and Management Location Northern Virginia joeschmuck Nov 15 2011 Thanks for all the help For the database is that something that is easily adjusted prior to compiling FreeNAS I new notifier py was involved but couldn t figure out how to execute any code in there button commanded that is SpoilerTarget Show FreeNAS System FreeNAS 9 3 Stable AMD FX 4300 3 8GHz CPU Asus M5A78L M USB3 Intel NIC EXPI9301CTBLK PCI E 16GB Kingston DDR3 ECC 1333 RAM Patriot Xporter XT Rage 8GB USB Flash Drive Six WD Red WD20EFRX NAS Hard Drives RAIDZ2 7 3TB usable space All wrapped up in a Cooler Master HAF 912 case APC Back UPS Pro BR1000G SpoilerTarget Show Sophos UTM Unified Threat Management Sophos 9 3xxx Intel Core 2 Duo E8500 CPU Gigabyte GA P45T ES3G 8GB RAM 500GB 2 5 Laptop drive RAID Capacity Calculator or Biduleohm RAID Calculator Decode Your S M A R T Data joeschmuck Nov 15 2011 10 Offline ProtoSD FreeNAS Guru Member Since Jul 1 2011 Messages 3 358 Message Count 3 358 Likes Received 8 Trophy Points 38 Location Leaving FreeNAS ProtoSD Nov 15 2011 For the database is that something that is easily adjusted prior to compiling FreeNAS Click to expand I need to look into that more at the source level I know when you do an upgrade it automatically updates the database but for doing this is just a couple of lines of SQL to add stuff to the database at the command line and that s it If you want to add a popup window with settings for your new service then there s a bit more to add to the database etc I was thinking for minidlna of using the On Off button to start stop minidlna and making the wrench icon do the rebuild you asked about I ve still got a little more to go before I get to that point though I was thinking I can just make a patch file to make the changes after backing up the originals database I haven t tried any nightlies so I don t know what might have changed with the GUI ProtoSD Nov 15 2011 11 Offline joeschmuck Old Man Member Since May 28 2011 Messages 4 043 Message Count 4 043 Likes Received 306 Trophy Points 83 Occupation Electrical Engineer Data Analysis and Management Location Northern Virginia joeschmuck Nov 15 2011 I have a few questions but I ll hold them until you re finished I think a how to guide would be great here It would show people how they could implement these types of changes That would be considerable work if you took that on as well As for the rebuild I think that is the key but in my experience you must stop minidlna first and then start it with the R option Mark SpoilerTarget Show FreeNAS System FreeNAS 9 3 Stable AMD FX 4300 3 8GHz CPU Asus M5A78L M USB3 Intel NIC EXPI9301CTBLK PCI E 16GB Kingston DDR3 ECC 1333 RAM Patriot Xporter XT Rage 8GB USB Flash Drive Six WD Red WD20EFRX NAS Hard Drives RAIDZ2 7 3TB usable space All wrapped up in a Cooler Master HAF 912 case APC Back UPS Pro BR1000G SpoilerTarget Show Sophos UTM Unified Threat Management Sophos 9 3xxx Intel Core 2 Duo E8500 CPU Gigabyte GA P45T ES3G 8GB RAM 500GB 2 5 Laptop drive RAID Capacity Calculator or Biduleohm RAID Calculator Decode Your S M A R T Data joeschmuck Nov 15 2011 12 Offline ProtoSD FreeNAS Guru Member Since Jul 1 2011 Messages 3 358 Message Count 3 358 Likes Received 8 Trophy Points 38 Location Leaving FreeNAS ProtoSD Nov 15 2011 I have a few questions but I ll hold them until you re finished Click to expand Mark Ask away it might be easier for me to find the answer while I ve still got my head in it or at least know what to look for to try and answer them I don t know python or javascript although I can usually figure stuff out When I used to do coding it was either C or Perl with a sprinkle of other stuff I never really cared for object oriented programming I will absolutely do a HowTo I didn t get much accomplished today as I occasionally get periods of migraines that last from several days to several weeks and I can t even look at a screen long enough to concentrate Hopefully if I can work this out and do a HowTo so it will take some pressure off the developers and they can work on the good stuff and keep the mobs satisfied until they finish ProtoSD Nov 15 2011 13 Offline agehring Member Since Sep 11 2011 Messages 10 Message Count 10 Likes Received 1 Trophy Points 3 agehring Nov 20 2011 Based on my work which is still in progress your rc scripts need to get their data from the database and use that data to create modify the configuration file for you daemon for example

    Original URL path: https://forums.freenas.org/index.php?threads/modifying-adding-to-gui.2969/ (2016-02-01)
    Open archived version from archive

  • Modifying/Adding to GUI | Page 2 | FreeNAS Community
    replace or drop delete database tables and or fields This is what takes place in the second reboot after an upgrade Once upon a time not too long ago the initial database used to be hardcoded and that database was used for initial installs and configuration reset but nowadays it s produced on the fly during the build and also when running config reset So that file that from modified 0001 initial py shouldn t in reality be modified otherwise the database schema won t persist properly for upgrades IIRC william can correct me if I m totally wet here This in a nutshell from a 20k foot view sort of describes how the GUI stuff works Now for the question everyone s wondering WTF does notifier do how does the middleware work and how do I make my shiny buttons do things There are a couple considerations to make 1 Configuration generation and service loading at boot 2 Configuration generation and service re loading at runtime There are two big pieces to this puzzle 1 The ix rc scripts 2 notifier The ix rc scripts are the scripts which generally poke at the database and do the grunt work of spitting out configuration in a manner that s suitable for either a running service or the base system s t the system does what the user requested Optionally there are some ix scripts that invoke other rc scripts example ix activedirectory etc but this kind of design is discouraged because it obfuscates the actual problem that the hack is attempting to resolve Now for notifier paraphrased notifier was never intended to be what it is today paraphrased notifier needs a rewrite What notifier does today 1 Manages services see the start stop restart reload etc routines 2 Storage querying and management 3 It houses the upgrade and servicepack shim logic 4 It goes and pokes around the base system in other ways that would make the dojango code more of a mess e g determining whether or not kernel modules were loaded what version of ZFS is running in the background etc 5 A lot more fun stuff I m not mentioning here Word to the wise Don t stick too many things in notifier or you ll more than likely end up shuffling stuff around unnecessarily stick them in a separate file and import them at the top of notifier similar to this Code text gui service mysql blurb classmethod def start mysql obj obj system usr sbin service mysqld quietstart classmethod def restart mysql obj obj system usr sbin service mysqld restart Code text gui middleware notifier blurb class Notifier from service mysql import start mysql restart mysql reload mysql And stick to the design pattern in the start stop restart logic This pollute s notifiers namespace but it s less invasive and until notifier does just IPC this is the only way to go to keep your local changes sane Create an ix or whatever script

    Original URL path: https://forums.freenas.org/index.php?threads/modifying-adding-to-gui.2969/page-2 (2016-02-01)
    Open archived version from archive

  • Dojo Toolkit | FreeNAS Community
    of replies Number of views First message likes Order threads in Descending order Ascending order Loading You must log in or sign up to post here Show Ignored Content Your name or email address Do you already have an account No create an account now Yes my password is Forgot your password Stay logged in FreeNAS Community Home Forums FreeNAS Forum Development Download Latest 9 3 1 STABLE Home Forums

    Original URL path: https://forums.freenas.org/index.php?forums/dojo-toolkit.12/&order=title (2016-02-01)
    Open archived version from archive

  • [How to] install a syslog server jail | FreeNAS Community
    cores 4 threads 4 MB cache Socket FM2 RAM 8GB 1333 2 x 4GB Corsair 667 DDR3 DIMM 64b ECC Gfx Integrated AMD Radeon HD 7000 series graphics in A series APU HD 6 x 3 TB WD Red SATA 600 buffer 64 MB cache Boot 1 x Kingston SSDNow S200 Solid state drive 30 GB intern 2 5 9 5 mm SATA 600 Pools 1 x ZFS2 on 6 x 3TB 10 5 TB available PSU Be quiet Pure Power L8 300W ATX12V 2 3 80 PLUS Bronze 300 Watt Case Fractal Design Node 304 OS Freenas 9 3 Nas5 MB ASRock C2750D4I mini ITX 2 x Gigabit LAN 12 x SATA CPU onboard Intel Atom C2750 Octa Core RAM 16GB 1333 4 x 4GB Corsair Vengeance DDR3 Gfx onboard ASPEED AST2300 HD 1 x 1 5 TB 4 x 2TB WD Red 3 x 3TB WD Red SATA 600 Boot Crucial M500 Solid state drive 120 GB SATA 600 Pools 1 x JBoD on 1 x 1 5TB 1 3 TB available 1 x ZFS1 on 4 x 2TB 5 2 TB available 1 x ZFS1 on 3 x 3TB 5 3 TB available PSU LC Power LC200SFX V3 21 SFX12V 230 Volt AC V 200 Watt Case SilverStone DS380 OS Freenas 9 3 Succubus MB GA MA790FXT UD5P CPU AMD Phenom II X4 910e 2 6 GHz RAM 16GB 1600 4 x 4 GB Corsair Vengeance DDR3 1600 PC3 12800 Gfx dunno some low power extremely low cost old card Controller Adaptec RAID 6805T Intel Raid expander RES2CV360 36 Port SAS SATA 6Gb HD 24 x 4TB WD Red Boot 2 x SSD 60GB 450 450 V300 7mm SA3 KIN Raid 1 Mirrored via Controller Pools 2 x ZFS3 on 12 x 4TB 11 1 hotspare 2 x 27 5 TB available PSU 700W Corsair PSU to be replaced by 300 W if possible tests soon Case Norco RPC 4224 OS Freenas 9 3 Total available storage 85 5 TB Osiris May 12 2015 5 Offline kjnicoletti Member Since May 2 2015 Messages 1 Message Count 1 Likes Received 3 Trophy Points 3 kjnicoletti May 23 2015 First let me say thank you Without this write up I most likely never would got my syslog server up and running That said I hope this doesn t offend you I found your instructions confusing there are a lot of unnecessary steps and some steps that didn t work at all Steps to configure phpMyAdmin and LogAnalyzer seem to be left out all together In the interest of helping out here are my streamlined instructions based off your writeup I have tested these instructions extensively in a VM with the latest FreeBSD stable install ISO My steps below follow your concept of a total newbguide Overview Install AMP Apache MySQL PHP and optionally PHPMyAdmin Replace syslogd with rsyslogd configure rsyslogd to send events to MySQL Install LogAnalyzer configure LogAnalyzer to pull events from MySQL An AMP server is the basis for many packages in the nix world so these instructions may help you for other projects as well https en wikipedia org wiki LAMP software bundle You should have FreeNAS jail root and jail IP configuration defined properly before following these instructions http doc freenas org 9 3 freenas jails html jails configuration Jail Setup Create jail named syslog in FreeNAS Web GUI accept all the default settings ssh to FreeNAS find the JID for syslog and switch to the jail Code text jls jexec JID tcsh You should have a root syslog prompt now Optional Install nano feel free to use the text editor of your choice Code text pkg install y nano Optional Enable ssh directly to the jail Code text nano etc rc conf change line to sshd enable YES remove duplicate hostname syslog Code text nano etc ssh sshd config uncomment and change line to PermitRootLogin yes change jail root password in this tutorial I will use qazWSX for the password Code text passwd root start the ssh daemon Code text service sshd start ssh to syslog jail directly Fetch the latest ports repository and extract Code text portsnap fetch extract Install Apache Apache is a popular open source web server Code text cd usr ports www apache24 make install clean BATCH yes Configure Apache to run at boot Code text echo apache24 enable YES etc rc conf Start Apache Code text service apache24 start The error Could not reliably determine the server s fully qualified domain name is normal at this point Test connection to http jail IP address You should see It Works web page Configure Apache Code text nano usr local etc apache24 httpd conf Find these lines and change them Code text ServerName syslogserver local DirectoryIndex index html index php Add these lines to end of the file Code text FilesMatch php SetHandler application x httpd php FilesMatch FilesMatch phps SetHandler application x httpd php source FilesMatch Alias phpmyadmin usr local www phpMyAdmin Directory usr local www phpMyAdmin Options None AllowOverride None Require all granted Directory Save the file and exit nano Restart Apache Code text service apache24 restart The error Could not reliably determine the server s fully qualified domain name goes away Install MySQL MySQL is a popular open source database server Code text cd usr ports databases mysql56 server make install clean BATCH yes Configure MySQL to run at boot Code text echo mysql enable YES etc rc conf Start MySQL Code text service mysql server start Add a root user to MySQL MySQL logins are separate from FreeBSD logins so this could be completely different For this tutorial I am keeping it the user name and password as the OS login Feel free to substitute your own password Code text usr local bin mysqladmin u root password qazWSX Install PHP PHP is a server side scripting language for web development Code text cd usr ports lang php56 make install clean BATCH yes cd usr ports www mod php56 make install clean BATCH yes cd usr ports databases php56 pdo mysql make install clean BATCH yes Configure PHP Copy the sample configuration ini and modify it Code text cp usr local etc php ini development usr local etc php ini nano usr local etc php ini Find these lines about halfway through the file Uncomment and modify them You should use your own timezone https php net manual en timezones php Code text extension php mbstring so extension php pdo mysql so date timezone America Chicago Test PHP Create a new file Code text nano usr local www apache24 data test php Add these lines to the file Code text php phpinfo Restart Apache Code text service apache24 restart Test connection to http jail IP address test php You should see a detailed information page on Apache and PHP Optional Install phpMyAdmin phpMyAdmin is a graphic interface to administer MySQL It s not necessary for this tutorial but may be useful later You can also skip this for now and install it later Code text cd usr ports databases phpmyadmin make install clean BATCH yes Configure phpMyAdmin Code text mkdir usr local www phpMyAdmin config chmod o w usr local www phpMyAdmin config chmod o r usr local www phpMyAdmin config inc php service apache24 restart Open http jail IP address phpmyadmin setup Select New server Select the Authentication tab Under the Authentication type choose http from the drop down list using HTTP Auth to sign in into phpMyAdmin will avoid storing login password credentials directly in config inc php Remove root from the User for config auth Select Apply You will be returned you to the Overview page where you should see a new server listed Select Save in the Overview page Saves configuration as usr local www phpMyAdmin config config inc php Move newly created config so php uses it Code text mv usr local www phpMyAdmin config config inc php usr local www phpMyAdmin Open http jail IP address phpmyadmin and login to test root qazWSX Config directory is no longer needed Remove it as well as the read permission added previously Code text rm r usr local www phpMyAdmin config chmod o r usr local www phpMyAdmin config inc php Install rsyslog rsyslog is a drop in replacement for syslog with additional features Code text cd usr ports sysutils rsyslog8 make install clean Select MYSQL MySQL output module for rsyslog and then select OK accept defaults for all other options Replace syslogd with rsyslogd Code text etc rc d syslogd stop echo syslogd enable NO etc rc conf echo rsyslogd enable YES etc rc conf ln s usr local etc rc d rsyslogd etc rc d rsyslog Create the rsyslog database Code text mysql u root p enter password qazWSX In the mysql prompt enter the following commands change the password on the last line if you are not using qazWSX Code text CREATE DATABASE Syslog USE Syslog CREATE TABLE SystemEvents ID int unsigned not null auto increment primary key CustomerID bigint ReceivedAt datetime NULL DeviceReportedTime datetime NULL Facility smallint NULL Priority smallint NULL FromHost varchar 60 NULL Message text NTSeverity int NULL Importance int NULL EventSource varchar 60 EventUser varchar 60 NULL EventCategory int NULL EventID int NULL EventBinaryData text NULL MaxAvailable int NULL CurrUsage int NULL MinUsage int NULL MaxUsage int NULL InfoUnitID int NULL SysLogTag varchar 60 EventLogType varchar 60 GenericFileName VarChar 60 SystemID int NULL CREATE TABLE SystemEventsProperties ID int unsigned not null auto increment primary key SystemEventID int NULL ParamName varchar 255 NULL ParamValue text NULL grant all privileges on Syslog to root identified by qazWSX with grant option ctrl c to quit mysql Configure rsyslog Code text nano usr local etc rsyslog conf paste following into the new blank file change the subnet on line 4 to match your network change the password on the last line if you are not using qazWSX Code text ModLoad immark provides MARK message capability ModLoad imuxsock provides support for local system logging ModLoad ommysql load MySQL functionality AllowedSender UDP 192 168 1 0 24 depends on your subnet obviously for TCP use module load imtcp needs to be done just once input type imtcp port 514 for UDP use module load imudp needs to be done just once input type imudp port 514 ActionFileDefaultTemplate RSYSLOG TraditionalFileFormat RepeatedMsgReduction on WorkDirectory var spool rsyslog FileOwner root FileGroup wheel FileCreateMode 0777 DirCreateMode 0755 Umask 0022 PrivDropToUser root PrivDropToGroup wheel IncludeConfig etc rsyslog d conf ommysql 127 0 0 1 Syslog root qazWSX Start rsyslog check to see it is working Code text service rsyslog start mysql u root p enter the password qazWSX enter the following query Code text USE Syslog SELECT FROM SystemEvents should get back 3 4 records ctrl c to quit mysql Install LogAnalyzer LogAnalyzer is a web interface for browsing the syslog server database Code text cd usr ports sysutils loganalyzer make install clean DEFAULT VERSIONS php 56 Select PHP MYSQL MySQL database support PHP extension and then select OK accept defaults for all other options Create a symbolic link for LogAnalyzer in Apache Code text ln s usr local www loganalyzer usr local www apache24 data loganalyzer Configure LogAnalyzer Create the config file make it writeable Code text touch usr local www loganalyzer config php chmod 666 usr local www loganalyzer config php Restart Apache Code text service apache24 restart Open the configuration wizard at http jail IP address loganalyzer Click the link Click here to install Adiscon LogAnalyzer During the setup wizard ignore the error lines Deprecated preg replace The e modifier is deprecated scroll all the way down to the bottom and you will see the configuration wizard Select Next until you get to First Syslog Source First Syslog Source Set Name of the Source to MySQL Syslog Database Set Source Type to Database PDO Leave Select View set to Syslog Fields the default setting Leave Database Storage Engine set to Mysql Server the default setting Leave Table type set to MonitorWare the default setting Leave Database Host set to localhost the default setting Set Database Name to Syslog Set Database Tablename to SystemEvents Set Database User to root Set Database Password to qazWSX Leave Enable Row Counting set to No the default setting Select Next Select Finish and you should see a working LogAnalyzer page and no Deprecated errors At this point I recommend adding log cleanup jobs as explained in the OP section 6 Again thanks for your OP this is just meant to compliment the OP and make it easier for someone who has limited knowledge of installing and configuring FreeBSD ports kjnicoletti May 23 2015 6 Visseroth GrumpyBear and UdoB like this Offline Osiris Newbie Member Since Aug 15 2013 Messages 50 Message Count 50 Likes Received 1 Trophy Points 8 Occupation IT Pro Location Antwerp Belgium Osiris May 27 2015 None taken kjnicoletti Your updated version of the guide looks nice I ll update my first post and refer to yours Nas1 QNAP TS 412 Turbo NAS HD 4 x 3TB WD Red SATA 600 buffer 64 MB cache Pools Raid5 8 2TB available Nas3 MB ASRock FM2A85X ITX CPU AMD A10 6700 3 7 GHz 4 cores 4 threads 4 MB cache Socket FM2 RAM 8GB 1333 2 x 4GB Corsair 667 DDR3 DIMM 64b ECC Gfx Integrated AMD Radeon HD 7000 series graphics in A series APU HD 6 x 3 TB WD Red SATA 600 buffer 64 MB cache Boot 1 x Kingston SSDNow S200 Solid state drive 30 GB intern 2 5 9 5 mm SATA 600 Pools 1 x ZFS2 on 6 x 3TB 10 5 TB available PSU Be quiet Pure Power L8 300W ATX12V 2 3 80 PLUS Bronze 300 Watt Case Fractal Design Node 304 OS Freenas 9 3 Nas5 MB ASRock C2750D4I mini ITX 2 x Gigabit LAN 12 x SATA CPU onboard Intel Atom C2750 Octa Core RAM 16GB 1333 4 x 4GB Corsair Vengeance DDR3 Gfx onboard ASPEED AST2300 HD 1 x 1 5 TB 4 x 2TB WD Red 3 x 3TB WD Red SATA 600 Boot Crucial M500 Solid state drive 120 GB SATA 600 Pools 1 x JBoD on 1 x 1 5TB 1 3 TB available 1 x ZFS1 on 4 x 2TB 5 2 TB available 1 x ZFS1 on 3 x 3TB 5 3 TB available PSU LC Power LC200SFX V3 21 SFX12V 230 Volt AC V 200 Watt Case SilverStone DS380 OS Freenas 9 3 Succubus MB GA MA790FXT UD5P CPU AMD Phenom II X4 910e 2 6 GHz RAM 16GB 1600 4 x 4 GB Corsair Vengeance DDR3 1600 PC3 12800 Gfx dunno some low power extremely low cost old card Controller Adaptec RAID 6805T Intel Raid expander RES2CV360 36 Port SAS SATA 6Gb HD 24 x 4TB WD Red Boot 2 x SSD 60GB 450 450 V300 7mm SA3 KIN Raid 1 Mirrored via Controller Pools 2 x ZFS3 on 12 x 4TB 11 1 hotspare 2 x 27 5 TB available PSU 700W Corsair PSU to be replaced by 300 W if possible tests soon Case Norco RPC 4224 OS Freenas 9 3 Total available storage 85 5 TB Osiris May 27 2015 7 Offline Scharbag FreeNAS Aware Member Since Feb 1 2012 Messages 181 Message Count 181 Likes Received 10 Trophy Points 18 Occupation Enginerd Location Surface of Hoth Scharbag May 27 2015 Of course I have no luck with Apache Code text Checking if p5 Locale gettext already installed Registering installation for p5 Locale gettext 1 05 4 as automatic pkg static Unable to access file usr ports devel p5 Locale gettext work stage usr local lib perl5 site perl mach 5 16 auto Locale gettext gettext so No such file or directory pkg static Unable to access file usr ports devel p5 Locale gettext work stage usr local lib perl5 site perl mach 5 16 Locale gettext pm No such file or directory pkg static Unable to access file usr ports devel p5 Locale gettext work stage usr local lib perl5 site perl man man3 Locale gettext 3 gz No such file or directory fake pkg Error code 74 Stop in usr ports devel p5 Locale gettext build depends Error code 1 Stop in usr ports misc help2man build depends Error code 1 Stop in usr ports devel autoconf build depends Error code 1 Stop in usr ports www apache24 Fuddle de dee FreeNAS 9 3 Tyan S5512WGM2NR integral 9211 8i v20IT Supermicro AOC USAS2 L8i 9211 8i v20IT Intel RES2SV240 SAS Expander LSI LSISAS2x Intel Xeon E3 1230V2 32GB ECC DDR3 Norco 4220 with Corsair 750W Power Supply 21TB production pool 7 3TB Seagate ST3000DM001 and 5 4TB Seagate ST4000DM000 in 2x6 RaidZ2 16TB backup pool 6 4TB Seagate ST4000DM000 in RaidZ1 2 Intel 80GB SSD system pool 2 Crucial 480GB SSD used for VBox Scharbag May 27 2015 8 Offline Osiris Newbie Member Since Aug 15 2013 Messages 50 Message Count 50 Likes Received 1 Trophy Points 8 Occupation IT Pro Location Antwerp Belgium Osiris Jun 2 2015 Scharbag said Of course I have no luck with Apache Fuddle de dee Click to expand Did you upgrade pkg Code text portsnap fetch extract cd usr ports ports mgmt pkg make deinstall clean cd usr ports ports mgmt pkg make install clean BATCH yes pkg update pkg upgrade Nas1 QNAP TS 412 Turbo NAS HD 4 x 3TB WD Red SATA 600 buffer 64 MB cache Pools Raid5 8 2TB available Nas3 MB ASRock FM2A85X ITX CPU AMD A10 6700 3 7 GHz 4 cores 4 threads 4 MB cache Socket FM2 RAM 8GB 1333 2 x 4GB Corsair 667 DDR3 DIMM 64b ECC Gfx Integrated AMD Radeon HD 7000 series graphics in A series APU HD 6 x 3 TB WD Red SATA 600 buffer 64 MB cache Boot 1 x Kingston SSDNow S200 Solid state drive 30 GB intern 2 5 9 5 mm SATA

    Original URL path: https://forums.freenas.org/index.php?threads/how-to-install-a-syslog-server-jail.30357/#post-260940 (2016-02-01)
    Open archived version from archive

  • How-To Guides | FreeNAS Community
    in the forums in an applicable section It will be moved to this section by a moderator if deemed appropriate Discussions 38 Messages 779 Latest How To Properly setup FreeNAS 9 2 1 5 to use Active Directory folder file user permissions Morphius Jan 28 2016 at 11 10 AM RSS Configuration Specific configuration scenarios e g software or client configuration If you have a guide post it in the forums in an applicable section It will be moved to this section by a moderator if deemed appropriate Discussions 129 Messages 1 689 Latest How To Giving Plugins Write Permissions to Your Data TheDubiousDubber Jan 31 2016 at 1 37 PM RSS Hardware Instructions for setting up specific hardware If you have a guide post it in the forums in an applicable section It will be moved to this section by a moderator if deemed appropriate Discussions 10 Messages 419 Latest How To Fail a guide to things not to do Mirfster Jan 30 2016 at 3 54 PM RSS Jails Specific configuration scenarios within jails or undocumented uses for using jails on FreeNAS Discussions 54 Messages 3 568 Latest How to install OpenVPN inside a jail in FreeNAS 9 2 1 6 with access to remote hosts via NAT Scareh Jan 31 2016 at 11 21 PM RSS Useful Scripts Scripts that provide additional functions that may be desirable Discussions 8 Messages 324 Latest How to install DuckDNS org a how to guide icsy7867 Jan 29 2016 at 8 32 PM RSS Sort by Title Start Date Replies Views Last Message Locked Sticky THE HOW TO GUIDES ARE NOT A PLACE FOR YOUR QUESTIONS pirateghost Dec 9 2013 Replies 0 Views 4 876 pirateghost Dec 9 2013 Thread Display Options Sort threads by Last message time Thread creation time

    Original URL path: https://forums.freenas.org/index.php?forums/how-to-guides.13/&order=title (2016-02-01)
    Open archived version from archive