On Windows 8 Skip to content. Get a fast, free web browser. 32 bit.deb (For Debian/Ubuntu) 64 bit.deb (For Debian/Ubuntu) 32 bit.rpm (For. Installing Google Chrome will add the Google.
This tutorial explains the installation of a Samba fileserver on Debian 9 (Stretch) and how to configure it to share files over the SMB protocol as well as how to add users. Samba is configured as a standalone server, not as a domain controller. In the resulting setup, every user has his own home directory accessible via the SMB protocol and all users have a shared directory with read-/write access.
I'm using a Debian 9 system here with the hostname debian.example.com and the IP address 192.168.1.100. I'll use this minimal Debian system as basis for this tutorial: https://www.howtoforge.com/tutorial/debian-minimal-server/
I will use the nano editor in this tutorial to edit config files on the shell. Nano can be installed with the command:
If you have a different favorite shell editor like joe or vi, then use that instead.
To make the Linux server accessible by name from my Windows workstation, I will add a line to the hosts file on Windows. Run this command as Administrator user on Windows to edit the hosts file:
and add a line like this:
at the end of the file. Replace the IP address with the server IP and the hostname with the hostname that you have chosen for your server.
Rename 'administrator' user, if exists
My Debian 9 server has a user named 'administrator', this username may cause problems with Samba, so I rename it to 'howtoforge' here. Feel free to use a different name for your user, the name does not matter as long as it is not 'administrator'. Skip this step when your system has no user with the name 'administrator'.
Connect to your server on the shell as root user and install the Samba packages:
Move the current smb.conf file to smb.conf.bak:
And then create a new file smb.conf file:
With the following content:
Replace WORKGROUP with the workgroup name that is used on your Windows clients. If you don't know the name of the workgroup, run this command on the Windows client to get the workgroup name:
Then close the Samba configuration file on the server and restart Samba:
Now I will add a share that is accessible by all users.
Create the directory for sharing the files and change the group to the users group:
At the end of the file /etc/samba/smb.conf add the following lines:
This is a share that is accessible and writable for all members of our 'users' group. Add the following config at the end of the smb.conf file.
If you want all users to be able to read and write to their home directories via Samba, add the following lines to /etc/samba/smb.conf (make sure you comment out or remove the existing [homes] section):
You like to have a share were all users in your network can write to? Be careful, this share is open to anyone in the network, so use this only in local networks. Add an anonymous share like this:
Now we restart Samba:
In this example, I will add a user named tom. You can add as many users as you need, in the same way, just replace the username tom with the desired username in the commands.
Set a password for tom in the Linux system user database. If the user tom should not be able to log into the Linux system, skip this step.
-> Enter the password for the new user.
Now add the user to the Samba user database:
-> Enter the password for the new user.
Now you should be able to log in from your Windows workstation with the file explorer (address is 192.168.1.100 or 192.168.1.100tom for tom's home directory) using the username tom and the chosen password and store files on the Linux server either in tom's home directory or in the public shared directory.
Now you can access the samba shares from your Windows Desktop. Open the command prompt and enter 'debian' to open a file explorer:
That shows the shares of our samba server.
This tutorial is available as ready to use virtual machine image inovf/ova format that is compatible with VMWare and Virtualbox. The virtual machine image uses the following login details:
SSH / Shell Login
Username: howtoforge
Password: howtoforge
Username: root
Password: howtoforge
Samba Example User Login
Username: tom
Password: howtoforge
The IP of the VM is 192.168.1.100, it can be changed in the file /etc/network/interfaces. Please change all the above passwords to secure the virtual machine.
Ruby on Rails is one of the most popular application stacks for developers looking to create sites and web apps. The Ruby programming language, combined with the Rails development framework, makes app development simple.
You can easily install Ruby and Rails with RVM, the Ruby Version Manager. RVM also lets you manage and work with multiple Ruby environments.
In this guide, you’ll install RVM on a Debian 8 server, and then use RVM to install a stable version of Ruby on Rails. Once things are working, you’ll learn how to manage multiple versions of Ruby with RVM.
To follow this tutorial, you need:
sudo
privileges. You can set up a user with these privileges in our Initial Server Setup with Debian 8 guide.The quickest way to install Ruby on Rails with RVM is to run the installation script hosted on the RVM web site.
First, use the gpg
command to contact a public key server and request the RVM project’s key which is used to sign each RVM release. This lets you verify the legitimacy of the RVM release you’ll download. From your home directory, execute the following command:
You’ll see the following output:
Next, use the curl
command to download the RVM installation script from the project’s website. The backslash that leads the command ensures that we are using the regular curl
command and not any altered, aliased version.
The -s
flag indicates that the utility should operate in silent mode, while the -S
flag tells curl
to still show errors if it fails. The -L
flag follows any redirects, and the -o
flag writes output to a file instead of standard output.
To audit the contents of the script before applying it, open it in a text editor to view its contents:
Once you’re comfortable with the script’s contents, pipe the script to bash
to install the latest stable Rails version, which will also pull in the associated latest stable release of Ruby.
During the installation process, you will be prompted for your regular user’s password.
Enter your password and RVM will install the tools it needs to build and compile Ruby.
It will then download the latest version of Ruby, the Ruby on Rails framework, and its dependencies.
When the installation is complete, source the RVM scripts by typing:
Verify that Ruby is installed via RVM by using the which
command:
The output you see should look like this:
You now have a full Ruby on Rails environment configured.
Patch update untuk game Winning Eleven PS2 yag sudah update Summer Transfer ditambah adanya Liga Gojek Indonesia. Update kali ini sudah Full Transfer di beberapa klub bisa dilihat dibawah daftar klub yang sudah Full Transfer dan untuk Liga GOJEK sendiri tidak diupdate secara keseluruhan hanya sebagian. FULL TRANSFER untuk Klub Berikut LIGA INGGRIS Arsenal Chelsea Manchester United Liverpool Manchester City LIGA ITALIA Juventus AC Milan AS Roma Intermilan LIGA SPANYOL Real Madrid Barcelona Atletico Madrid LIGA 1 PERANCIS Paris Saint German AS Monaco LIGA JERMAN (BUNDESLIGA) Borussia Dortmund Bayern Munchen Link Download.
If you need to install a specific version of Ruby for your application, rather than just the most recent one, you can do so with RVM. First, make sure RVM is the most current release. Run this command to update RVM, ensuring that the list of available Ruby versions is up-to-date:
Then check to see which versions of Ruby are available by listing them:
Then, install the specific version of Ruby that you need through RVM, where ruby_version
can be typed as ruby-2.3.0
, for instance, or just 2.3.0
:
After the installation, list the available Ruby versions we have installed by typing:
You can switch between the Ruby versions by typing:
Since Rails is a gem, you can also install various versions of Rails by using the gem
command. First, list the valid versions of Rails by doing a search:
Next, install your desired version of Rails. Note that rails_version
will only refer to the version number, as in 4.2.7
.
You can use various Rails versions with each Ruby version by creating gemsets and then installing Rails within those using the normal gem
commands:
Gemsets give self-contained environments for your Ruby applications, and they allow for multiple environments for each version of Ruby that you install. This means you can easily test an application on many versions of Ruby to see what issues you might encounter.
Now that you’ve installed RVM and Ruby on Rails, you can start to develop or deploy web applications. You can learn more about working with RVM and how to use RVM to manage your Ruby installations. As your needs grow, you can also scale Ruby on Rails applications across multiple servers.