Basic rsync notes

Here are some basic rsync notes. Always remember… rsync interprets a directory with no trailing slash as copy this directory, and a directory with a trailing slash as copy This will put the contents of “foo” inside of “bar”: This command will put the directory “foo” inside of “bar” Remember…rsync interprets a directory with no … Read more

Create an Instance Error

When I try and create a new instance in openstack, I get an error. Here is the error: Edit the nova.conf file. Search for “block_device_allocate_retries=60.” Change from 60 to 300 Also, check this variable. 3 seems to work but you may adjust. Save and exit. Retry creating a new instance. In a CirrOS image, the … Read more

How to Configure OpenStack Network to Enable Access to OpenStack Instances

This tutorial will guide you on how you can configure OpenStack networking service in order to allow access from external networks to OpenStack instances. Modify Network Interface Configuration. First we need to create an OVS bridge and modify our physical network interface to bind as a port to OVS bridge. Navigate to network interfaces directory … Read more

Download a file with curl

Often we use wget but here we are going to use curl to download a file Here we download the file “konimex-neofetch-epel-7.repo” to the directory /etc/yum.repos.d/konimex-neofetch-epel-7.repo The -o is where to out put Curl help

Install Samba on CentOS 7

Install Samba Once the installation is completed, start the Samba services and enable them to start automatically on system boot: The smbd service provides file sharing and printing services and listens on TCP ports 139 and 445. The nmbd service provides NetBIOS over IP naming services to clients and listens on UDP port 137.

Install ZFS on CentOS 7.9

Here ya go! Now go to: http://download.zfsonlinux.org/epel/ Find the zfs-release version Mine is zfs-release.el7_9.noarch.rpm Install ZFS repository should be added. There are two ways ZFS module can be loaded to the kernel, DKMS and kABI. The difference between these is that if you install DKMS based ZFS module, and then for some reason you update … Read more

Install Openstack on CentOS7

OpenStack is a free and open-source software platform which provides IAAS (infrastructure-as-a-service)for public and private clouds. OpenStack platform consists of several inter-related projects that control hardware, storage, networking resources of a datacenter, such as: Compute, Image Service, Block Storage, Identity Service, Networking, Object Storage, Telemetry, Orchestration and Database. Lets get started. Deploy a KVM Guest … Read more

Unable to negotiate with 1domain.com port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss

This error for ssh can be solved with the following information. -Reattempt your SSH connection, adding the following to your command line: -oHostKeyAlgorithms=+ssh-rsa ie. or You can also try modifying the local(your computer) SSH configuration to add the below values to make this change permanent. -Type sudo nano ~/.ssh/config, then enter your administrative password if … Read more