How To Install Cpan Modules Without Internet Access
How To Install Cpan Modules Without Internet Access
Installing ASSP spamfilter on Ubuntu Server 1. LTSThis article describes how to install ASSP on Ubuntu Server 1. LTS. If you find it useful please consider making a donation by clicking the Pay. Pal button on the right or just click some ads here. Thanks An update to this article is available here ASSP on Debian 8Ubuntu 1. Part 1 Introduction. Part 2 Installation. Part 3 Managing the server. Part 4 Working with ASSPPart 5 Troubleshooting. Sources. Part 1 Introduction. ASSP is an open source spam filter that can be deployed as a relaying proxy between a mail server and the internet. ASSP is not an MTA it cannot send mail itself. Well be using a locked down version of Postfix as a local MTA however any MTA will do, for example your isps relay server or Microsoft Windows Server SMTP service. Strategies. ASSP uses a growing set of spam filtering strategies that can each either block an incoming e mail entirely or assign a score to it. In the end of the array of strategies all scores are added up and actions can be based on it or the end users may set their own filter actions. For example discard any mail with an 8. Dont do anything with 2. An autowhitelisting system prevents incoming mail senders from being scanned for spam so once a user has sent an e mail to an external contact that contact will never be considered spam. Outgoing mail is added to the Bayesian and Markov statistical corpuses. Once the Bayesian and Markov databases have acquired enough data they can quite reliably distinguish spam from ham. Virusscanner. Clam. AV or any local virusscanner can be integrated to scan mail for viruses. Web interface. A web interface allows configuring and managing ASSP. It offers extensive statistics, insight in smtp traffic and an automated investigation page to check wether a certain e mail would or would not be considered spam and if so why exactly. And more. It offers dnsbl methods, uribl, backscatter detection, an e mail based end user spam reporting interface, virusscanning, very extensive header analitics, attachment blocking, supports regular expressions for all values, optionally file based lists, greylisting, spf, dmarc, srs, Helo and sender validation, and more. ASSP is a full featured, highly customizable, enterprise strength spamfilter. About this page and my site. Standard Modules. The following modules are included as standard with release 1. Webmin. You can also download and reinstall any modules from this page that. In this article, we will describe how to install cPanel and WHM on RHELCentOS 7 and cover initial configurations to manage cPanel and WHM. How To Install Cpan Modules Without Internet Access' title='How To Install Cpan Modules Without Internet Access' />Whenever I start my cpan using perl MCPAN eshell I get the following message Sorry, we have to rerun the configuration dialog for CPAN. I am trying to install a Perl module within Strawberry Perl on Windows 7. Im running the below command and am getting a slew of messages I dont understand. It. I sincerely apologize for the way I had to maim my screenshots by watermarking them. Other articles from my site have been blatantly copied and pasted on other sites without any credit. If I ever catch whoever does this Ill personally come to their house and reset their router. Network environment. Well be installing ASSP in a network with the example. The mailserver is Domino 6. Yeah, I know this is ancient. Send me screenshots and Ill put them up. Since ASSP will be deployed as a relay server any mailserver will do. Domain name example. ASSP spamfilter. 1. Domino mailserver. Secondary mailserver. Part 2 Installation. Mail flow. Incoming mail is received by the spamfilter. The filter divides spam from ham and forwards one or both to the mailserver. The mailsever redistributes the mail to the receivers mailboxes. Outgoing mail is added to the Bayesian and Markov statistiscal corpuses and the whitelist. Operating system Ubuntu Server 1. LTSIn theory any system supporting Perl is able to host ASSP. Ive ran it on Windows, Linux and Free. BSD. In practice Linux is by far the easiest system to set it up on. Active. State produces the commercial Active. Perl for Microsoft Windows. The Business Edition costs US 9. They make a Community Edition which is crippled and in my opinion unusable for ASSP. The Enlightened Perl Organisation creates a free of charge Strawberry Perl. Last time I tried it it was incomplete and not very compatible with CPAN. That may have improved and by all means try and run it on Windows if you like. I invite you to share your experience in the comment section under this article. Ubuntu 1. 4. 0. 4 LTS supports Perl out of the box. Both are free of charge. Canonical offers commercial support packages for Ubuntu community support is provided free of charge and generally very good. Ubuntu 1. 4. 0. 4 LTS is guaranteed to receive support until the end of 2. The version were installing is Ubuntu 1. Trusty LTS 6. 4bit. On installation I chose Basic Ubuntu server. Open. SSH server. Samba file server. If at any point you need to add or remove parts of the installation run tasksel. Well use Samba for easy access from Windows clients to the rather file based layout of the ASSP installation. It isnt necessary for ASSP management, merely a convenience. Upon completion of the installation run aptitude update aptitude dist upgrade. MTA Postfix. Postfix is our MTA of choice because its easy to install, old and proven and safe. Well have it listen for outgoing mail on port 1. ASSP will be running on. To install aptitude install postfix. When asked choose the default Internet Site configuration. When asked for the System mail name fill out your domain name. Like the installer sais if a mail address on the local host is fooexample. In the file etcpostfixmaster. Check Postfixs maximum message size setting postconf grep messagesizelimit. Keep in mind that this size will be composed of the header size body size attachment size anything else that is sent along with the mail. If you need to be able to send attachments up to 2. MB in size set messagesizelimit to something a bit higher than 2. MB, for example 2. MB. In the file etcpostfixmain. Secure so only the ASSP server may use Postfix in main. Look for the value mydestination and remove your mail domain From. Create the file etcpostfixtransport and add to it example. Load the transport file in Postfix and reload Postfix postmap transport. Virus scanner Clam. AVInstall Clam. AV by running aptitude install clamav clamav daemon. Edit Clam. AVs config file etcclamavclamd. Socket type UNIX TCP will probably also work but it says a socket file is safer. Local UNIX socket clamd will listen on varrunclamavclamd. Just make sure you enter this exact value in the ASSP web interface under Clam. AV and File. Scan Port or file socket for Clam. AV Av. Clamd. Port. User to run clamav daemon as clamav. Groups for clamav daemon clamav. Make sure Fresh. Clam is scheduled to download new virus definitions periodically. Check etcclamavfreshclam. Webmin. You can have freshclam check for db updates every hour Checks 2. If you set the following values in etcclamavfreshclam. Checks 9. 6 DNSDatabase. Info current. cvd. Database. Mirror db. XY. clamav. net. Database. Mirror database. clamav. Replace XY with your country code. Restart the Freshclam service service clamav freshclam restart. Source http www. Optional webbased management tool Webmin. Its always an option to manage the server with Webmin. Webmin is a webbased administration tool for servers. It runs fine on Ubuntu. Create the file etcaptsources. Download and install the repos key. Update the repository cache and install. Source http www. It is not necessary for the administration of the ASSP server to run Webmin. You can manage the server more completely from the command line but sometimes Webmin is just handy. Webmin is completely optional. You will find Webmin on port 1. Use your own credentials to log in. Ether. Calc. Ether. Calc. Ether. Calc is a web spreadsheet. Your data is saved on the web, and people can edit the same document at the same time. Everybodys changes are instantly reflected on all screens. Work together on inventories, survey forms, list management, brainstorming sessions and more Create Spreadsheet Terms of Service Privacy Policy. Ether. Calc is Free Software it runs on GNULinux, Free. BSD, Mac OS X and Windows. Please download and install Node. If youd like to install for all users on a system, try sudo with npm install g. If a Redis service is running on the same host, Ether. Calc will prefer it over file based storage to improve performance. Installation instructions on the Sandstorm platform is available here. We also provide a Docker package. Ether. Calc can be installed on a Cloudron using the Ether. Calc app. Following is the Social. Calc chapter from The Architecture of Open Source Applications, released into the public domain under the CC0 decalaration. If you would like to purchase the book, all royalties will be donated to Amnesty International. The history of spreadsheets spans more than 3. The first spreadsheet program, Visi. Calc, was conceived by Dan Bricklin in 1. The original concept was quite straightforward a table that spans infinitely in two dimensions, its cells populated with text, numbers, and formulas. Formulas are composed of normal arithmetic operators and various built in functions, and each formula can use the current contents of other cells as values. Although the metaphor was simple, it had many applications accounting, inventory, and list management are just a few. Nfl Game Package For Computer. The possibilities were practically limitless. All these uses made Visi. Calc into the first killer app of the personal computer era. In the decades that followed successors like Lotus 1 2 3 and Excel made incremental improvements, but the core metaphor stayed the same. Most spreadsheets were stored as on disk files, and loaded into memory when opened for editing. Collaboration was particularly hard under the file based model. Each user needed to install a version of the spreadsheet editor. E mail ping pong, shared folders, or setting up a dedicated version control system all added bookkeeping overhead. Change tracking was limited for example, Excel does not preserve history for formatting changes and cell comments. Updating formatting or formulas in templates required painstaking changes to existing spreadsheet files that used that template. Fortunately, a new collaboration model emerged to address these issues with elegant simplicity. It is the wiki model, invented by Ward Cunningham in 1. Wikipedia in the early 2. Instead of files, the wiki model features server hosted pages, editable in the browser without requiring special software. Those hypertext pages can easily link to each other, and even include portions of other pages to form a larger page. All participants view and edit the latest version by default, with revision history automatically managed by the server. Inspired by the wiki model, Dan Bricklin started working on Wiki. Calc in 2. 00. 5. It aims to combine the authoring ease and multi person editing of wikis with the familiar visual formatting and calculating metaphor of spreadsheets. The first version of Wiki. Calc had several features that set it apart from other spreadsheets at the time Plain text, HTML, and wiki style markup rendering for text data. Wiki style text that includes commands to insert links, images, and values from cell references. Formula cells may reference values of other Wiki. Calc pages hosted on other websites. Ability to create output to be embedded in other web pages, both static and live data. Cell formatting with access to CSS style attributes and CSS classes. Logging of all edit operations as an audit trail. Wiki like retention of each new version of a page with roll back capability. Wiki. Calc 1. 0s internal architecture and information flow were deliberately simple, but nevertheless powerful. The ability to compose a master spreadsheet from several smaller spreadsheets proved particularly handy. For example, imagine a scenario where each salesperson keeps numbers in a spreadsheet page. Each sales manager then rolls up their reps numbers into a regional spreadsheet, and the VP of sales then rolls up the regional numbers into a top level spreadsheet. Each time one of the individual spreadsheets is updated, all the roll up spreadsheets can reflect the update. If someone wants further detail, they simply click through to view the spreadsheet behind the spreadsheet. This roll up capability eliminates the redundant and error prone effort of updating numbers in multiple places, and ensures all views of the information stay fresh. To ensure the recalculations are up to date, Wiki. Calc adopted a thin client design, keeping all the state information on the server side. Each spreadsheet is represented on the browser as a lt table element editing a cell will send an ajaxsetcell call to the server, and the server then tells the browser which cells need updating. Unsurprisingly, this design depends on a fast connection between the browser and the server. When the latency is high, users will start to notice the frequent appearance of Loading messages between updating a cell and seeing its new contents as shown below. This is especially a problem for users interactively editing formulas by tweaking the input and expecting to see results in real time. Moreover, because the lt table element had the same dimensions as the spreadsheet, a 1. DOM objects, which strains the memory resource of browsers, further limiting the size of pages. Due to these shortcomings, while Wiki. Calc was useful as a stand alone server running on localhost, it was not very practical to embed as part of web based content management systems. In 2. 00. 6, Dan Bricklin teamed up with Socialtext to start developing Social. Calc, a ground up rewrite of Wiki. Calc in Javascript based on some of the original Perl code. This rewrite was aimed at large, distributed collaborations, and sought to deliver a look and feel more like that of a desktop app. Other design goals included Capable of handling hundreds of thousands of cells. Fast turnaround time for edit operations. Client side audit trail and undoredo stack. Better use of Javascript and CSS to provide full fledged layout functionality. Cross browser support, despite the more extensive use of responsive Javascript. After three years of development and various beta releases, Socialtext released Social. Calc 1. 0 in 2. 00. Lets now take a look at the architecture of the Social. Calc system. Social. Calcs main interface looks like this Its class diagram is as below Compared to Wiki. Calc, the servers role has been greatly reduced. Its only responsibility is responding to HTTP GETs by serving entire spreadsheets serialized in the save format once the browser receives the data, all calculations, change tracking and user interaction are now implemented in Javascript. The Javascript components were designed with a layered MVC ModelViewController style, with each class focusing on a single aspect. Sheet is the data model, representing an in memory structure of a spreadsheet. It contains a dictionary from coordinates to Cell objects, each representing a single cell. Empty cells need no entries, and hence consume no memory at all. Cell represents a cells content and formats.