New pages

Jump to navigation Jump to search
New pages
Hide registered users | Hide bots | Show redirects
  • 18:04, 28 March 2024Reset WSL (hist | edit) ‎[188 bytes]Wikiadmin (talk | contribs) (Created page with "All run from powershell (with admin access) Show what distro you have wsl -l Clear the distro wsl --unregister Ubuntu Then run wsl -l Install using.. wsl.exe --install Ubuntu")
  • 01:55, 25 March 2024Backup using RSYNC 24.04 (hist | edit) ‎[1,367 bytes]Wikiadmin (talk | contribs) (Created page with "Now we create a little script to backup via RSYNC nano /srv/backup/backup.sh You will need to create the appropriate backup locations for the script to use. <pre> #!/bin/bash # ===================================================================== # Script to Rsync backup # # V1.00 2024-03-20 Initial Release (Scotty) # ===================================================================== source_file="backup" date=$(date +"%Y-%m-%d") new_filename="${source_file%.*}_${...")
  • 18:09, 19 March 2024Webmin Installation 24.04LTS (hist | edit) ‎[1,621 bytes]Wikiadmin (talk | contribs) (Created blank page)
  • 23:40, 12 March 2024MediaWiki Installation 24.04LTS (hist | edit) ‎[0 bytes]Wikiadmin (talk | contribs) (Created page with "Install the required packages, apt-get install imagemagick php7.0-intl php7.0-curl php7.0-gd php7.0-mbstring php7.0-mysql Edit the media wiki apache file. nano /etc/mediawiki/apache.conf Uncomment to enable media wiki. Alias /wiki /var/lib/mediawiki Enable the apache rewrite module a2enmod rewrite Restart Apache service apache2 restart Download and install mediawiki <pre> cd /opt/ wget https://releases.wikimedia.org/mediawiki/LATEST VERSION/mediawiki-LATE...")
  • 23:39, 12 March 2024Amanda File Recovery 24.04LTS (hist | edit) ‎[2,281 bytes]Wikiadmin (talk | contribs) (Created page with "Configuration We'll be using amrecover(8) to recover files from backup. Before we can recover files, a little more configuration is in order. Amrecover is technically a client tool, and contacts the server to "pull" the recovery down to the client. You'll recall this is the reverse of the backup situation, where the server contacts the client to ask for its data. As such, we'll need to configure the client to talk to the server. Put the following in /etc/amanda/amanda-cl...")
  • 23:38, 12 March 2024Amanda Backup Server Installation 24.04LTS (hist | edit) ‎[4,065 bytes]Wikiadmin (talk | contribs) (Created page with "A simple backup solution. Nice backup formats (tarballs) and the ability to restore when it all goes wrong. Amanda is in the standard ubuntu repository. apt install amanda-server apt install amanda-client As part of the install a user is created for the service to run under in Ubuntu's case this is "backup" remember that for later. Now we need to set up some directories. mkdir -p /opt/amanda/holding mkdir -p /opt/amanda/state mkdir -p /opt/amanda/state/{curinf...")
  • 23:38, 12 March 2024Next Cloud Installation 24.04LTS (hist | edit) ‎[6,801 bytes]Wikiadmin (talk | contribs) (Created page with "https://docs.nextcloud.com/server/12/admin_manual/installation/index.html == Prerequisites == Set up DNS (CNAME) to point to your nextcloud server. scottcloud.scottworld.net CNAME ---> Solaris Also make sure it is set internally (if we are using split DNS) ==Set up some directories== Create a directory to hold the nextcloud files .. make this outside the standard WWW readable dirrectory mkdir /opt/nextcloud/ Create a directory (outside of your WWW to hold the...")
  • 23:37, 12 March 2024Open VPN Install 24.04LTS (hist | edit) ‎[1,520 bytes]Wikiadmin (talk | contribs) (Created page with " apt install openvpn copy back the etc files from the openvpn backup including all the RSA params etc. systemctl enable openvpn@solaris systemctl enable openvpn@solarisgaming service openvpn start Add a static route on the main router so the OpenVPN traffic can route for the 10. network <pre> Network Subnet mask Gateway 10.3.0.0 255.255.255.0 192.168.3.200 </pre> Make sure the OpenVPN server has IP forwarding turned on. nano /etc/sysctl.d/localforwarding...")
  • 23:36, 12 March 2024Teamspeak Server Installation 24.04LTS (hist | edit) ‎[2,929 bytes]Wikiadmin (talk | contribs) (Created page with "First, create a new user with your desired name, we will use the name "teamspeak" for this guide. adduser --disabled-login teamspeak Get the latest TeamSpeak 3 server files for 64-bit Linux. Check their website, a new version may be available. https://teamspeak.com/en/downloads/#server wget http://dl.4players.de/ts/releases/3.2.0/teamspeak3-server_linux_amd64-3.2.0.tar.bz2 Extract the archive. tar xvf teamspeak3-server_linux_amd64-3.2.0.tar.bz2 Move the extrac...")
  • 23:35, 12 March 2024Plex Media Server installation 24.04LTS (hist | edit) ‎[1,696 bytes]Wikiadmin (talk | contribs) (Created page with "To enable the Plex Media Server repository on Ubuntu only a few terminal commands are required. From a terminal window run the following two commands: echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add - The Ubuntu & Debian repository is about to be changed. This change is per the requirements for Ubuntu 17 + 18. It adds the now-requi...")
  • 23:34, 12 March 2024Samba Installation 24.04LTS (hist | edit) ‎[3,169 bytes]Wikiadmin (talk | contribs) (Created page with "Install Samba and the required services. apt-get install samba Stop the samba service service smbd stop First we will create a samba user and set a password for Windows users to authenticate. If we want multiple users we can repeat this process. adduser --disabled-login suser sudo smbpasswd -a suser Now we will create a group to assign to the various shares we are going to create for admin access (read write) groupadd -g 10000 smbaadmins We now need to add...")
  • 23:33, 12 March 2024Transmission Daemon Installation 24.04LTS (hist | edit) ‎[908 bytes]Wikiadmin (talk | contribs) (Created page with "Install the backend bittorent client apt-get install transmission-daemon Close the running daemon (otherwise your settings will be overwritten) service transmission-daemon stop Now edit the file nano /etc/transmission-daemon/settings.json Change the following values "rpc-username": "sysadmin", "rpc-whitelist": "10.3.200.*", "download-dir": "/srv/data/torrents", "incomplete-dir": "/srv/data/torrents", "rpc-password": "<password here>", "rpc-username": "sy...")
  • 23:32, 12 March 2024PhpMyadmin Installation 24.04LTS (hist | edit) ‎[1,901 bytes]Wikiadmin (talk | contribs) (Created page with "== Install PHPmyAdmin. == OK lets install a web interface into the MySql Server, as this makes administration much easier sudo apt-get install phpmyadmin Select the web server(s) that you have installed (usually APACHE2) Go in and set the root password for MySql if you have not done so already. You can test this now http://your.server.com/phpmyadmin go and log in with the root password OOOPS You’ve installed phpMyAdmin but cannot log in using the root accou...")
  • 23:31, 12 March 2024Apache Configuration 24.04LTS (hist | edit) ‎[4,264 bytes]Wikiadmin (talk | contribs) (Created page with "== Apache Tweaks == First we are going to move the document root of the apache webserver to be something more sensible, do this before we start installing any more web related things. First Disable the default site... a2dissite 000-default.conf Now copy the default config to a new one which we will make the new default. sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/solaris-default.conf Now edit this new default config na...")
  • 23:29, 12 March 2024Configure MySQL 24.04LTS (hist | edit) ‎[1,335 bytes]Wikiadmin (talk | contribs) (Created page with "If you want to allow access to your MYSQL database from any other host rather than the LOCAL server you will have to tell MySQL to bind to the external ip address rather than the local TCP stack... 127.0.0.1 (which is the default) service mysql stop sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf Modify the line bind-address = 127.0.0.1 (change 127.0.0.1 to 192.168.3.200 the externally bound IP address) Move the default database directory off the system disk da...")
  • 23:27, 12 March 2024LAMP Stack Installation 24.04LTS (hist | edit) ‎[1,689 bytes]Wikiadmin (talk | contribs) (Created page with "A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server with PHP and MySQL database. The site data is stored in a MySQL database, and dynamic content is processed by PHP. In this guide, we will install a LAMP stack on an Ubuntu 18.04 server. ==Apache Web Server Install== The A...")
  • 23:27, 12 March 2024Certificate Provisioning 24.04LTS (hist | edit) ‎[5,661 bytes]Wikiadmin (talk | contribs) (Created page with "Certificate Authority Security Certificates Install the required packages: apt install certbot python3-certbot-dns-ovh Create an OVH Consumer Key using the following details: Site: https://api.ovh.com/createToken/?GET=/domain/zone→‎&POST=/domain/zone/*&PUT=/domain/zone/*&DELETE=/domain/zone/: record/* Script name: certbot Script description: ACME client for security certificates Validity: Unlimited You may need to use the OVH "Userid" rather than email -...")
  • 23:26, 12 March 2024Configure KVM 24.04LTS (hist | edit) ‎[1,121 bytes]Wikiadmin (talk | contribs) (Created page with "Certificate Authority Security Certificates Install the required packages: apt install certbot python3-certbot-dns-ovh Create an OVH Consumer Key using the following details: Site: https://api.ovh.com/createToken/?GET=/domain/zone→‎&POST=/domain/zone/*&PUT=/domain/zone/*&DELETE=/domain/zone/: record/* Script name: certbot Script description: ACME client for security certificates Validity: Unlimited You may need to use the OVH "Userid" rather than email -...")
  • 22:21, 12 March 2024Fail2ban installation 24.04LTS (hist | edit) ‎[1,102 bytes]Wikiadmin (talk | contribs) (Created page with "OK lets bolt down a bit against brute force SSH attacks from the internet idiots, before we go any further. <pre> sudo apt-get install fail2ban sudo service fail2ban stop </pre> The fail2ban service keeps its configuration files in the /etc/fail2ban directory. There is a file with defaults called jail.conf. Since this file can be modified by package upgrades, we should not edit this file in-place, but rather copy it so that we can make our changes safely. We need to c...")
  • 22:19, 12 March 2024Logwatch Installation 24.04LTS (hist | edit) ‎[5,526 bytes]Wikiadmin (talk | contribs) (Created page with "== Logwatch == Logwatch is a handy utility that can parse the system logs and send you details of system errors or issues with the server. Lets stick this on and set it up to mail the logs to an email address daily. sudo apt-get install logwatch As part of the installation, logwatch will install the postfix mailer which we need to configure on install. We will choose the option '''satellite system''' Set the System mail name = your solaris.scottworld.net<br> Wh...")
  • 22:15, 12 March 2024Dynamic DNS setup 24.04LTS (hist | edit) ‎[2,821 bytes]Wikiadmin (talk | contribs) (Created page with "My ISP provider allows an interface with their DNS via ddclient protocol. We will use the ddclient on the server to update DNS every time the external IP changes. Install the ddclient sudo apt-get install ddclient At the installation questions choose Other Dynamic DNS server www.ovh.com Protocol dyndns2 Username scottworld.net-solaris You can answer through the questions.... check the /etc/ddclient.conf file for settings below. Edit the /etc/ddclient.c...")
  • 22:05, 12 March 2024DHCP Server Installation 24.04LTS (hist | edit) ‎[6,296 bytes]Wikiadmin (talk | contribs) (Created page with "We will now set up a DHCP Server and configure it to hand out a specific range of addresses and update DNS (once we set it up) Install the DHCP server package. sudo apt-get install isc-dhcp-server It will fail on startup as it is not configured yet. service isc-dhcp-server stop Configure the interface to listen on nano /etc/default/isc-dhcp-server Change the parameter for "interfaces" INTERFACES="br0" (in our case we use br0 as we are using a bridge) Config...")
  • 22:04, 12 March 2024Time server chrony Installation 24.04LTS (hist | edit) ‎[267 bytes]Wikiadmin (talk | contribs) (Created page with "Install chrony apt install chrony Edit the config nano /etc/chrony/chrony.conf <pre> # Welcome to the chrony configuration file. See chrony.conf(5) for more # information about usuable directives. # This will use (up to): # - 4 sources from ntp.ubuntu.com which some are ipv6 enabled # - 2 sources from 2.ubuntu.pool.ntp.org which is ipv6 enabled as well # - 1 source from [01].ubuntu.pool.ntp.org each (ipv4 only atm) # This means by default, up to 6 dual-stack and...")
  • 21:49, 12 March 2024Bind9 (DNS) Installation 24.04LTS (hist | edit) ‎[9,432 bytes]Wikiadmin (talk | contribs) (Created page with "This will configure split DNS. This will allow you to create a local DNS zone "scottworld.net" which will handle all local requests. It will be an extension of scottworld.net which is the registered domain. Requests for scottworld.net hosts (and other traffic) that are not local are forwarded out to the internet. Install bind. apt install bind9 Shut down the service for configuration service bind9 stop == Update bind to use IP 4 addresses only == This will preven...")
  • 21:41, 12 March 2024The Ultimate Ubuntu Server Install 24.04LTS (hist | edit) ‎[10,720 bytes]Wikiadmin (talk | contribs) (Created page with "<h2>Noble Numbat</h2> == Main Installation == The main installation is slightly different in 22.04LTS, insert the Ubuntu Server (LTS 22.04LTS Live) installation CD/USB/DVD and follow the onscreen instructions. If you don’t understand the questions asked by the installer put the keyboard down and switch everything thing off and go back to being a user. You will be asked to select. Language Keyboard Type of Ubuntu Install - Choose "Install Ubuntu" Network Configu...")
  • 21:01, 3 January 2024ESPHome (hist | edit) ‎[3,974 bytes]Wikiadmin (talk | contribs) (Created page with "Useful YAML scripts for ESPHome")