If CirrOS is not getting IP address automatically from Neutron because of some issue or simply DHCP is disabled for subnet then you can use:
ip a add <address/mask> dev eth0
To add IP address and mask to eth0. You will also need default route:
ip r add 0.0.0.0/0 <default_gw> dev eth0
Even if you disabled TLS in the Organizr configuration page, if your mail server advertises that it supports TLS PHPMailer will try to use it, which will fail.
In order to resolve this edit file api/plugins/php-mailer.php and add after line 127 following:
$mail->SMTPAutoTLS = false;
Now sending emails should work without TLS usage.
There are many ways to add files to your ownCloud:
- FTP Upload
- SCP Upload
- Local disk to ownCloud disk transfer
- USB disk to ownCloud disk transfer.
But it can be pretty slow and painful process if you are adding large number of files.
Easier way is to copy the files directly to your ownCloud data directory and scan them in order to be properly added and indexed by ownCloud.
First in order to do that you need to find the “occ” command which is usually found in the root of your owncloud web directory for example /www/owncloud/occ.
Then you copy your files and folders to the data directory where your personal files are located, it could be something like /owncloud/[USERNAME]/files/.
When your files are in the new location then you need to start the scan:
sudo -u www-data php /var/www/owncloud/occ files:scan --all
Depending on the amount of files you are adding this can take some time, and will print out the results when finished.
That’s it your files and folders are now manually added to your ownCloud.
--domains www.ffd2.com \
This command downloads the web site http://www.ffd2.com/fridge/chacking/.
The options are:
- –recursive: download the entire Web site.
- –domains www.ffd2.com: don’t follow links outside www.ffd2.com.
- –no-parent: don’t follow links outside the directory fridge/chacking/.
- –page-requisites: get all the elements that compose the page (images, CSS and so on).
- –html-extension: save files with the .html extension.
- –convert-links: convert links so that they work locally, off-line.
- –restrict-file-names=windows: modify filenames so that they will work in Windows as well.
- –no-clobber: don’t overwrite any existing files (used in case the download is interrupted and resumed).
Sometimes for a specific reason you want to use certain CentOS version which is removed from the main tree. Trying to update packages will report that packages for your version do not exist, but there is a way to fix this.
If you tweak the Yum repository files and remove mirrorlist directives and enable baseurl directives instead you will be able to download packages just for that specific release.
For example replace:
Where 7.3.1611 is the specific version.
If you installed some older version of CentOS which is now moved from the main tree to the vault, you could use following script to automatically tweak all Yum repository files.
RELEASE='grep -oE '[0-9]+\.[0-9]+\.[0-9]+' /etc/centos-release'
mkdir -p /etc/yum.repos.original.d
cp -r /etc/yum.repos.d /etc/yum.repos.original.d
sed -i 's/^mirrorlist=/###mirrorlist=/' *
sed -i 's/^#baseurl=/baseurl=/' *
sed -i '/^baseurl/s%mirror.centos.org/centos/$releasever%vault.centos.org/$RELEASE%' *