5/27/2023 0 Comments Go installpkg# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED # notice, this list of conditions and the following disclaimer. Redistributions of this script must retain the above copyright # permitted provided that the following conditions are met: # Redistribution and use of this script, with or without modification, is Don't forget to change the value of the MYEXTIP variable to your own fixed ip. If you administer your VPN from a location with a fixed ip, the following firewall script might be helpful. There are hackers using distributed compromised networks to hack open ports on the internet. See also the comment a few paragraphs earlier about openssl which affects ssh as well. You just have to cat /var/log/messages to see all those nasty hackers trying to ssh into your system within minutes of your system being installed. You can install DenyHosts using sbopkg, but you will still have to follow the instructions to configure it for slackware. You can get a good how-to on configuring it here. This allows you to block brute force password attacks on ssh. Make sure to read the readme's and info files for any dependancies you need to install first.Ī strongly recommended package is DenyHosts. Sbopkg will allow you to sync with the repository, and allow you to search slackbuilds, and build them, downloading the source as required, and then install them. To create and install packages not included with slackware, you may find sbopkg useful. See the slackware documentation project for info about setting up and running slackware. httpd (apache), sendmail, mysql (mariadb), saslauthd once you have configured the various server software config files. You will also need to remember this change when merging config files after any further security updates to sshĪnd make executable the rc. If you want to be able to log in directly as root (with password) you will need to update /etc/ssh/sshd_config by changing the #PermitRootLogin prohibit-password line to Since security updates which came out in early 2016, the default for sshd is to block root password logins. Rsync -azP -delete ::/pub/slackware/slackware-14.2/patches/packages/ /slackdisk/patches/packagesĪt any later time which will fetch all the security updated packages to your local drive, where you can then review (and install) them. Now to format the new partition ext3 (for ext2, just miss out the -j ) Finally press w to write the changes and quit fdisk.Accept the default start position and end position, then press t and then 2 and then 82 to set the second partition as a swap file.accept the default start position, and for the size + XGB where X is (storage purchased) - (2 x system RAM) in GB.type fdisk -l to check the drive of the virtual machine.To avoid having to sudo everything type sudo su.partitioning drives and obtaining the install files Partitioning the drive When you are happy with the virtual disk allocation, you can get back to the xen-shell prompt and continue.įor this install we are assuming at least 10GB of space allocated to the first virtual disk /dev/xvda To view and change the arrangement of virtual drives made up out of your purchased disk space. This installation guide ignores /dev/xdb entirely. xvda (the main amount) and xvdb (an amount equal to the ram you have allocated) for swap. Log in to xen shell (using putty from windows, or ssh from linux or mac)īy default bitfolk allocate two virtual disks for your virtual machine. If you have less than 15gb or more of storage you will not be able to retain the installation packages on your virtual drive, there simply isn't enough space. That is left to you in the usual slackware way. The space used can obviously be reduced by not installing things like X, or servers that are not going to be used, but this how-to doesn't assume what you will or won't use. The default recommended install for slackware is everything except for kdei, ref for which you usually just install your locale. Installing Slackware 14.2 (32bit) on a bitfolk vps Before you start 1.7.3 Protecting your ssh login from hackers.Configuring grub and network so pygrub can boot your os Recording network settings and changing init to handle the xen console 1.3.3 Because we are not using the slackware main setup installer, we will have to manually do a little bit of extra configuration. 1.3.2 Setting up the file structure and getting the install files.partitioning drives and obtaining the install files 1 Installing Slackware 14.2 (32bit) on a bitfolk vps.
0 Comments
Leave a Reply. |