I recently moved to a new house in a new town with a new job, my immediate thought was to set up my computers right this time (instead of the one overtaxed desktop I had running multiple VM's to serve the LAN with various services.) To accomplish this I'm going to connect 6-7PCs + miscellaneous devices to a main server where I will provide tor'd or regular connections, home security services. HowTo - Install & Setup Slackware Linux Current 15.0Slackware is the oldest living Linux distribution and is moving forward, despite financial troubles. LxPupSc is available in both 32-bit and 64-bit flavours and is a version of LxPup built using Woof-CE with components from Slackware-Current, Ponce.cc, and Puppy Slacko-14.2. There are separate forum threads for LxPupSc and for LxPupSc64 LxPupSc downloads are hosted at SourceForge. Order the latest version of Slackware Linux on CD-ROM (6 CDs in all), or the whole distribution on a single DVD from The Slackware Store. Or, you can get your Slackware ISOs through BitTorrent using our torrents page. Or again, you can download the complete Slackware distribution from one of our mirrors.
This was my initial synopsis of the desired server
Server Design Plan
Overview/Scope
The Server should serve as a multifunctional in house hub which is capable of, but not limited to, Network Traffic Management, Firewall/Proxy Services, Web Services, VPN Services, IP Camera Management, Media Streaming, Multi Client Backup, Virtual Machine Hosting, and Mass Storage of Client Data.
As it will only be expected to serve 3 primary workstations and as many as 8 secondary clients, being an in-home server, the overall requirements should remain relatively low in comparison to most enterprise servers.
Slackware Based Linux
Hardware
Slackware Os
Motherboard/Processor/Memory Reqs.
64-bit X4 Processor >= 3.2GHz
>= 16 Gb DDR 3 1600
PCIe 3.0
USB 3.0 / eSATA
SATA III
AMD-V / Intel VT (Virtualization Capability)
Networking Reqs.
>= X2 Gigabit Ethernet Adapters
Storage Reqs.
>= 1 128GB SATA III SSD
>= 3 1TB SATA III HDD*
1 3.5” Multi-Drive RAID Enclosure (must correspond to HDDs)
*These disks may be greater in size than 1TB and greater in number than 3, and may or may not be SSD’s, but they should ideally be identical
Power Reqs.
>= 400 watt PSU (main unit)
Cooling Reqs.
>= 2 250mm Fans
>= 2 120mm Fans
Software
Operating System
Slackware 64-bit Linux Server
Services
dhcp-3 (Network Management)
iptables (Firewall)
Tor (Proxy)
Kippo (SSH Honeypot)
LAMP Server (Web)
OpenVPN (VPN)
ZoneMinder (IP Camera Management)
Plex (Media Server)
rsync (Backup)
KVM (Virtual Machine Hosting)
NFS (Mass Storage)
SSH (Administration)
SFTP (Administration)
Other Packages
/Slackware-64/D Package (Compilers & Dev Tools)
/Slackware-64/K Package (Linux Kernel Source)
multilib gcc & glibc (multi library support for 32-bit & 64-bit programs)
Implementation
Arrangement/Configuration
The main board, components, & primary SSD will reside in a single chassis/rack enclosure. The secondary network storage/backup hard disk array will be in a separately powered and cooled enclosure and connect with either an eSATA or USB 3.0 Depending on RAID hardware election. We will also mount/arrange various network devices and provide a system for surge protection and eventually temperature and voltage monitoring as well as a battery backup for the entire system.
Network Configuration
The major network components consist of the Cable Modem, one or more Gigabit Switch(es), one or more Wireless Access Point(s), CAT6e Ethernet Cables, several RJ45 Wall Plates, the Server, and multiple Client Devices.
The Physical Arrangement will bring the internet connection through a wired connection from the Cable Modem into the servers 1st NIC Device and out from the 2nd NIC Device into the switch, the switch will in turn be wired to the WAPs and Wall plates where it will subsequently provide access to the Client Devices through both wired and wireless connections. The use of CAT6e and Gigabit devices will ensure maximum internet throughput and LAN connection speed.
The Logical Arrangement of the network will have the server’s 1st NIC Device Acquire the external IP Address from the Cable Modem and Create one or more Domain(s) (DHCP) which will allow for the routing of traffic to multiple devices through the use of a static gateway IP assigned to the 2nd NIC Device and the assignment of internal IP Addresses of downstream devices. All traffic routed through the Server (In & Out) will be filtered through the Firewall, and depending on the connection, a proxy service.
Services
Slackware Latest
DHCP | The Domain Host Controller Protocol provides a service which can create any number of domains and subdomains for the sake of routing internet signal and creating LAN structure. |
iptable | Provides specific instructions as to what traffic is allowed or disallowed based on address, port, authentication, and/or traffic pattern based rules. |
TOR | The Onion Router Proxy will allow any clients connecting through it to appear to be connected from the location of the remote node server rather than their own MAC & IP Address and provide user with a level of anonymity. |
Kippo | Kippo SSH Honeypot, is a primarily outward facing... |
Remove this page from your book
Table of Contents
An overview of HOWTO articles that may or may not have a relation to Slackware.
Application or hardware HOWTO's are welcome too.
If you want your article to appear in one of the sub-groups, visit the sub-group page and use the New Page button on that page.
Inspired? Want to write a HOWTO page yourself?Type a new page name (no spaces - use underscores instead) and start creating! You are not allowed to add pages
Note that your article may be moved to the appropriate sub-group
How-To Category Directories
Page | Description |
---|---|
HOWTO articles - Cloud | HOWTO articles - CloudCloud is the buzz word of these days. We have a series of articles that will help you understand what cloud services are, how they can work in your advantage, and how you can run Slackware in the cloud.Commercial Cloud Services |
HOWTO articles - Databases | HOWTO articles - DatabasesThis section contains how to articles intended to guide users to setup and maintain various database systems on Slackware based systems.Overview of Slackware Administration HOWTOS----------howtos topic_page |
HOWTO articles - Emulators | HOWTO articles - EmulatorsLinux users often grew up using other computer Operating Systems and playing their games on Consoles. After making the switch to a Linux based desktop, no one is keeping you from enjoying those old environments, because emulator software has been written for a great many of those old platforms. Looking for a way to play your old Commodore games? Or MS DOS? Or Atari, ZX Spectrum, or |
HOWTO articles - General Administration | HOWTO articles - General AdministrationThis section contains How-To articles for system administration tasks that exist in multiple Linux and Unix based distributionsOverview of Slackware Administration HOWTOS----------howtos topic_page |
HOWTO articles - Hardware | HOWTO articles - HardwareThis section contains How-To articles for hardware drivers and configurations including virtualization and emulation platforms.Architecture Specific HOWTOSOverview of Hardware HOWTOS----------howtos topic_page |
HOWTO articles - Miscellaneous | HOWTO articles - MiscellaneousThis section contains how to articles which do not fit within any of the other main HOWTO categories.Overview of Slackware Miscellaneous HOWTOS----------howtos topic_page |
HOWTO articles - Multimedia | HOWTO articles - MultimediaThis section contains how to articles intended to guide users to setup and maintain multimedia apps on Slackware based systems.Overview of Slackware Multimedia HOWTOS----------howtos topic_page |
HOWTO articles - Network Services | HOWTO articles - Network ServicesThis section contains how to articles intended to guide users to setup and maintain various network services on Slackware based systems.Overview of Slackware Network Services HOWTOShowtos topic_page |
HOWTO articles - Security | HOWTO articles - SecuritySecuring your computer is an ongoing process. The following guides will help you secure your Slackware installation, be it for server, workstation or laptop needs. Make sure you subscribe to the slackware-security mailing list. All security announcements since 1999 are available on |
HOWTO articles - Slackware Administration | HOWTO articles - Slackware AdministrationAlthough Slackware tries to limit distribution specific tools compared to other distributions, there are a few cases where specific tasks are unique to Slackware. This section contains those special cases. |
HOWTO articles - Software | HOWTO articles - SoftwareThis section contains How-To articles for software that does not fit into the following categories: * Slackware Admin * General Admin * Cloud * Databases * Emulators * Multimedia * Network Services * Security * Window ManagersOverview of Slackware Administration HOWTOS----------howtos topic_page |
HOWTO articles - Window Managers | HOWTO articles - Window ManagersThis section contains how to articles intended to guide users to setup and maintain window managers on Slackware based systems.Overview of Slackware Administration HOWTOS----------howtos topic_page |
Slackware Iso
Non-Categorized HOWTOS
Slackware Mirrors
Page | Description |
---|---|
Anatomy Of a Slackbuild | Anatomy Of a SlackbuildPreambleI guess all Slackware users will have used at sometime a SlackBuild script in order to create a package of software that could be easily and cleanly installed and removed later if needed. My experience was that I ran the SlackBuild script to create a package and never actually looked at the code it contained until one day the source version did not match that stated in the script. |
Web Dev primarily HTML and PHP | Web Dev primarily HTML and PHPI'm going to give an overview of web development for users of Slackware.It's going to be from the perspective of approaches for a budding web developer who uses Slackware, the problems you might face due to using Slackware Linux and an eclectic look at what tools are available to help you, starting simplest first. |
Biff's Slackware Tips for Noobs | Biff's Slackware Tips for NoobsIntroductionI was going to call this page 'Slackware for Dummies' however there's a book of the same name on Amazon :-(. I've accumulated a few bits and pieces that I feel are useful for people starting out in Slackware but which are too small to warrant their own HOWTOs. If you feel I should break anything out into its own HOWTO please add comments in the discussion section. Please also be aware that some of this is about opinion, and just one person's opin… |
Checking a Slackware Version | Checking a Slackware VersionTo check which version of Slackware you are running, we have two means that are widely used and practical, the first is to read the slackware-version file, which is located in the /etc/ directory. For this you can run the |
How to connect mysql client over SSH tunnel to Mariadb server | How to connect mysql client over SSH tunnel to Mariadb serverFor setting up your working Mariadb server, read this howto.You may want to connect clients to the database server over network securely. Instead of using TLS (which is available natively) for this, the same can also be achieved by tunneling over SSH by following the below steps. |
Devastator, Scroll Lock and I3WM keyboard | Devastator, Scroll Lock and I3WM keyboardI recently received a donation from cryptographic friend Ayr, a Devastator CM-STORM keyboard from Cooler Master.A keyboard that is beautiful, soft and enjoyable to use. However I faced a very annoying problem on my I3wm. Because it is a keyboard that has LEDs, its function works through Scroll Lock. |
The Cross Syntax Cheat Sheet: DokuWiki versus AsciiDoc Markups | The Cross Syntax Cheat Sheet: DokuWiki versus AsciiDoc MarkupsIntroductionAt time of writing, SlackDocs uses a DokuWiki engine to convert the wiki pages (plain text including markup) to xhtml text.Converting the DokuWiki markup to AsciiDoc markup can ease the work of translators of DokuWiki pages, as the application po4a, that allows to produce PO files ready for translation, can handle the AsciiDoc markup but not the DokuWiki markup. |
Enabling Sudo on Slackware | Enabling Sudo on SlackwareSudo, substitute user of (Super User) or Super user of (acting as super user) has a big role on UNIX Likes systems, sudo allows ordinary users to temporarily get privileges from another user, widely used for the privileges of the superuser root. |
Get acquainted with Slackware | Get acquainted with SlackwareIntroductionThis document is intended to allow people who have already used another “Unix-like” system to get quickly acquainted withSlackware. We assume that the reader: * knows the main Unix commands and the associated concepts, |
How-to translate a document in AsciiDoc format | How-to translate a document in AsciiDoc formatIntroductionAccording to its Home Page: ' AsciiDoc is a text document format for writing notes, documentation, articles, books, ebooks, slideshows, web pages, man pages and blogs. AsciiDoc files can be translated to many formats including |
Internationalization and localization of shell scripts | Internationalization and localization of shell scriptsPresentationPurpose, scope and intended audienceThis document is intended to help developers, maintainers and translators to write/maintain/translate internationalized then localized shell scripts, using the tools provided by GNU gettext. |
Linux HOWTOs | Linux HOWTOsThe Linux HOWTOs are a collection of documents which cover specific subjects related to GNU/Linux. Most LinuxHOWTOs are not tailored to a specific distribution, therefore they are very useful for Slackware Linux users. The linux-howtos package in the “f” software set contains the HOWTO collection. After installing this package the HOWTOsare available from the /usr/doc/Linux-HOWTOs/ directory. Slackware Linux also contains a small collection ofLinux-related FAQs (FAQs are docume… |
LXC (Linux Containers) | LXC (Linux Containers)IntroductionLinux Containers, or LXC, is operating system-level method for running multiple separate isolated Linux installations (containers) on a single host. Rather than simulating the computer hardware as in true virtualization, LXC uses the cgroups and namespaces functionalities of the host's Linux kernel to provide strong isolation of the container. It is an intermediate solution between chroots and full virtualization, having a small impact on system resource usa… |
Policy based routing | Policy based routingBy default networks packets are routed based on their destination address.Linux supports routing policies, and this allows you to have multiple routing tables and make routing decisions based on other variables.IPIPIPIPIP |
How to run OpenXenManager On Slackware | How to run OpenXenManager On Slackware( known to work with Slackware64 14.2) 1) Install Python from Slackware packages. 2) Install pygtk from Slackware packages (not needed for -current) 3) Install configobj from Slackbuilds. 4) Install gtk-vnc from Slackbuilds, use version 0.7.0, and get the corresponding slackbuild from git. |
Proxying Emails to Your Local Mail Relay Server | Proxying Emails to Your Local Mail Relay ServerThere may be times where you may need to send emails from a machine, that can not do so directly nor thought your local SMTP relay and you have no easy way out for mending the causes. Let's examine some scenarios that would allow you to work around the problem. |
Script with autostart function and output to defined console. | Script with autostart function and output to defined console.There is instruction, how to do script output to console 2,3, or another, and autostart them on computer switch on.In that case we cannot put script start in /etc/rc.d/rc.local file, as always, because in that stage agetty, and consoles not activated, and therefore, script at that stage cannot do output to non-existing at that time, console, therefore, we put it in crontab with special preffix: |
Slackware Docker Image Overview | Slackware Docker Image OverviewSlackware docker images are available in the docker image registry. They can be found in hub.docker.com/r/vbattsBuilding the imagesYou can clone the git repository from github.com/vbatts/slackware-docker Currently, using the installer bootstrap, the mkimage-slackware.sh |
HOWTO articles - Miscellaneous | HOWTO articles - MiscellaneousThis section contains how to articles which do not fit within any of the other main HOWTO categories.Overview of Slackware Miscellaneous HOWTOS----------howtos topic_page |
Variables in bash | Variables in bashUnderstand the concept of a variable and how to do every process to create your own.What is a variable?A variable as its name implies is to store varied content in a memory location / space, instead of using numbers to make your call, we use tags / names! This makes it easier to make the call, isn't it? Shell variables can receive any content! from a simple string / text, numbers, output status of a command and return output. |
Slackware as a VMWare Guest | Slackware as a VMWare GuestIntroductionThese instructions apply to ESXi 5.5. It's highly likely they also apply to other versions of VMWare, unfortunately you have a lot to choose from taking into account Workstation, Fusion and even Player and I can't test them all. These instructions refer to Slackware 64-bit 14.2 as the guest, and assume Fluxbox WM. |
Configuring Wireless With wpa_cli | Configuring Wireless With wpa_cliThis article is for folks who are choosing not to use NetworkManager for their wireless.If you are running FluxBox or some other lightweight window manager, you may find it useful to configure wireless in the manner described below. |
Slackware as a Xen DomU Guest | Slackware as a Xen DomU GuestIntroductionThis document explains how to create a guest virtual machine for a Xen environment using HVM (with PV drivers) virtualisation mode. Such a VM could be used on AWS (Amazon Web Services) or with an on-premise Xen setup but has the added advantage that it will still boot into Desktop virtualisation software like VirtualBox, KVM, VMWare as it uses a conventional MBR. There is no requirement to use Grub and we can stick with the familiar LILO. |