Skip to content

Instantly share code, notes, and snippets.

@mongoltolbo
Last active June 5, 2016 04:54
Show Gist options
  • Save mongoltolbo/b5a49bf0bb30add6ead38ed6b0690700 to your computer and use it in GitHub Desktop.
Save mongoltolbo/b5a49bf0bb30add6ead38ed6b0690700 to your computer and use it in GitHub Desktop.
first things to do Centos
  1. yum install yumex

  2. yum install findntfs fuse-ntfs-3g ntfsprogs

  3. yum install curl cabextract xorg-x11-font-utils fontconfig rpm -i https://downloads.sourceforge.net/project/mscorefonts2/-> ->rpms/msttcore-fonts-installer-2.6-1.noarch.rpm

  4. yum install amarok

  5. yum install gparted

  6. yum install grsync

  7. tar zxf some_driver.tar.gz OR tar -xjf some_driver.tar.bz2

cd some_driver_directory ./configure make make install

Optional

./setup_driver_script

  1. Network sharing http://www.dedoimedo.com/computers/linux_commands.html

If you have more than one computer, you are probably sharing resources among them.There is no reason why you should not continue doing this if one of the machines is running a Linux distribution. Sharing can be accomplished in many ways. Perhaps the simplest is using Samba server. First, install Samba:

apt-get install samba After the Samba server is installed, you will need to edit a few options in the configuration file to allow sharing privileges.

cp /etc/samba/smb.conf /etc/samba/smb.conf.bak gedit /etc/samba/smb.conf In the configuration file, you will need to setup a number of parameters:

workgroup = workgroup_name - the name of the Workgroup for your LAN (e.g. HOME) netbios name = netbios_name - without spaces; computer alias by which you will be able to call it across the network security = user After saving the configuration file, you will have to restart the Samba server:

/etc/init.d/samba restart Now, select a folder that you wish to share.

If you have ticked the option Writable, you will be able to modify the contents of this folder. Finally, to be able to connect to this share from Windows, you will have to create a Samba user:

smbpasswd -a 'name' Under 'name' you should specify an existing UNIX user (e.g. roger). Do not forget the apostrophes! You will be asked to create a password. And finally, restart the Samba server again, for the changes to take effect. Now, the sharing itself. Very simple.

  1. konsole

rpm -Uvh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

yum install rar unrar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment