Changes

From Amahi Wiki
Jump to: navigation, search
::'''NOTE:''' <code>yum</code> (deprecated) has been replaced with <code>dnf</code> as the package manager for Fedora 23 or greater.
=== Amahi 6 (Ubuntu 12.04) [Depreciated] ===
sudo apt-get install cifs-utils curl
sudo curl -o /etc/init.d/mount_shares_locally <nowiki>http://dl.amahi.org/mount_shares_locally.ubuntu</nowiki>
== Configuration ==
* As '''root''', edit ''/etc/init.d/mount_shares_locally''**Replace ''"***set this string to your username!***"'' (line 12) with your username. For example ''': username="amahi"''';**The script may require the MariaDB root password be changed: ***Please see [[Database Root Password]] for the appropriate login password.***Also if you changed the MariaDB root password on your own. :<blockquote>Change ''hda'' (line 25) to the appropriate passwordif needed:<pre>mysql -u root -phda p hda -e "select name from shares" hda_production | grep -v "^name$" | xargs -d "\n" mkdir -p</pre></blockquote>
* Create the ''/home/your_username/.smb_credentials'' file. This is a simple text file (use your favorite text editor).
vi /home/your_username/.smb_credentials
12,424

edits