This article will show you how to share folder from fedora 8 system to windows desktop.
Use all commands with root
1.First you must install nautilus-share
yum install nautilus-share
2.After installation is completed, type the following command
* mkdir /usr/local/samba/lib/usershares –p
* chgrp yourusername /usr/local/samba/lib/usershares
( change yourusername with your valid user name)
* chmod 1770 /usr/local/samba/lib/usershares
3.Backup your /etc/samba/smb.conf
cp /etc/samba/smb.conf /etc/samba/smb.conf.orig
4.Open /etc/samba/smb.conf with your text editor
gedit /etc/samba/smb.conf
5.Find the lines that says [global], and after this line add the following lines
usershare path = /usr/local/samba/lib/usershares
usershare max shares = 10 #
6.Restart samba
service smb restart
7.Log out your computer
8.Open nautilus, and right click the folder you wish to share and click Sharing Options. Give a share name and hit OK. You have now shared the folder.
9.In Windows, goto Start-->Run and type
\\fedora_system_name\share_name
(Replace fedora_system_name with your Samba server machine
name and share_name with the name of the share you mentioned
in the sharing options.)
10.In Linux. goto Nautilus and in the location bar type
smb://fedora_system_name/share_name
Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts
Tuesday, January 27, 2009
Thursday, January 22, 2009
How to Install Webmin in Debian & Ubuntu
Webmin is a web-based interface for system administration for Unix. Using any browser that supports tables and forms (and Java for the File Manager module), you can setup user accounts, Apache, DNS, file sharing and so on.
Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server
and all CGI programs are written in Perl version 5, and use no non-standard Perl modules.
Installing Webmin in Debian
#apt-get install webmin webmin-core
After the installation If you want to access webmin from any machine in your network edit the /etc/webmin/ miniserv.conf file change the “allow” option
allow=127.0.0.1 to allow=0.0.0.0
If you want to restrict webmin for only your network you can do in this allow option
Once you change this and save your file and restart the webmin using following command
#/etc/init.d/webmin restart
Go to your browser and type:- https://ipaddress:10000 and you can login using the debian linux root as username and password for root.
If you ou need any webmin modules for your applications you can download from here
Update Webmin online from your machine
Click on Webmin Configuration under webmin tab from here click on Upgrade Webmin and select the Latest version from www.webmin.com option now click on upgrade webmin button this will start the webmin upgrade from webmin site
Downloading http://www.webmin.com/download/webmin-1.290.tar.gz ..
Downloading http://easynews.dl.sourceforge.net/sourceforge/webadmin/webmin-1.290.tar.gz (10324511 bytes) ..
Received 1024 bytes (0 %)
Received 1033216 bytes (10 %)
Received 2065408 bytes (20 %)
Received 3097600 bytes (30 %)
Received 4130816 bytes (40 %)
Received 5163008 bytes (50 %)
Received 6195200 bytes (60 %)
Received 7227392 bytes (70 %)
Received 8260608 bytes (80 %)
Received 9292800 bytes (90 %)
Received 10324511 bytes (100 %)
.. Download complete.
No package signature verification done.
Running setup.sh script to upgrade Webmin .. Please wait a minute until it is complete before continuing.
Other available options
From local file
From uploaded file
From ftp or http URL
Installing Webmin from latest .deb package
You can download latest .deb from here
#wget http://prdownloads.sourceforge.net/webadmin/webmin_1.290.deb
#dpkg --install webmin_1.290_all.deb
the install will be done automatically to /usr/share/webmin, the administration username set to root and the password to your current root password. You should now be able to login to Webmin at the URL http://localhost:10000/
Installing Webmin in Ubuntu
You can use the above procedure but if you want to install latest version you can download from webmin site download section
Prerequisites
Perl 5 interpreter and libnet-ssleay-perl
#apt-get install perl5 libnet-ssleay-perl
Now you need to download the latest webmin from the above downloadlink
Download ‘webmin-1.290.tar.gz’ (at the time of writing) to some location in your machine ex:- /usr/local/src
#wget http://prdownloads.sourceforge.net/webadmin/webmin-1.290.tar.gz
#cd /usr/local/src
#tar xzvf webmin-1.290.tar.gz
#cd webmin-1.290
#sh setup.sh
This will start the installation and now it will prompt for several questions answer them as follows
Config file directory [/etc/webmin]:
Leave as default, or change as you wish
Log file directory [/var/webmin]:
Leave as default, or change as you wish
Full path to perl (default /usr/bin/perl):
Leave as default, or change as you wish
Operating system:
Enter ‘6′
Version:
Enter ‘6′
Web server port (default 10000):
This is where you can start to make webmin more secure then the standard install you get with apt-get, Synaptic, or RPM. Leave as default or change it to what ever port you want.
Login name (default admin):
It is ‘admin’, so you can leave it as that, or put in any name that you like.
Login password:
By creating the user above and giving it a password, you have now made it so you will not need to log into webmin with root.
Password again:
enter your password again
If you did not install ‘libnet-ssleay-perl’ you will get the following message:
‘The Perl SSLeay library is not installed. SSL not available.’ You can continue with the install, but it would be more secure if you install sslrelay.
Use SSL (y/n):y
Choose yes here
Start Webmin at boot time (y/n):y
select here y
At this point it is going to configure things, install things, and create things…
It will then tell you that you can log in to https://hostname:10000 and to accept the certificate.
Webmin User Password Change
If you want to change root password in webmin use this included Perl script:
# /usr/share/webmin/changepass.pl /etc/webmin root
If you want to install any standard modules you can download from here
If you want to install third party modules you can download from here
Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server
and all CGI programs are written in Perl version 5, and use no non-standard Perl modules.
Installing Webmin in Debian
#apt-get install webmin webmin-core
After the installation If you want to access webmin from any machine in your network edit the /etc/webmin/ miniserv.conf file change the “allow” option
allow=127.0.0.1 to allow=0.0.0.0
If you want to restrict webmin for only your network you can do in this allow option
Once you change this and save your file and restart the webmin using following command
#/etc/init.d/webmin restart
Go to your browser and type:- https://ipaddress:10000 and you can login using the debian linux root as username and password for root.
If you ou need any webmin modules for your applications you can download from here
Update Webmin online from your machine
Click on Webmin Configuration under webmin tab from here click on Upgrade Webmin and select the Latest version from www.webmin.com option now click on upgrade webmin button this will start the webmin upgrade from webmin site
Downloading http://www.webmin.com/download/webmin-1.290.tar.gz ..
Downloading http://easynews.dl.sourceforge.net/sourceforge/webadmin/webmin-1.290.tar.gz (10324511 bytes) ..
Received 1024 bytes (0 %)
Received 1033216 bytes (10 %)
Received 2065408 bytes (20 %)
Received 3097600 bytes (30 %)
Received 4130816 bytes (40 %)
Received 5163008 bytes (50 %)
Received 6195200 bytes (60 %)
Received 7227392 bytes (70 %)
Received 8260608 bytes (80 %)
Received 9292800 bytes (90 %)
Received 10324511 bytes (100 %)
.. Download complete.
No package signature verification done.
Running setup.sh script to upgrade Webmin .. Please wait a minute until it is complete before continuing.
Other available options
From local file
From uploaded file
From ftp or http URL
Installing Webmin from latest .deb package
You can download latest .deb from here
#wget http://prdownloads.sourceforge.net/webadmin/webmin_1.290.deb
#dpkg --install webmin_1.290_all.deb
the install will be done automatically to /usr/share/webmin, the administration username set to root and the password to your current root password. You should now be able to login to Webmin at the URL http://localhost:10000/
Installing Webmin in Ubuntu
You can use the above procedure but if you want to install latest version you can download from webmin site download section
Prerequisites
Perl 5 interpreter and libnet-ssleay-perl
#apt-get install perl5 libnet-ssleay-perl
Now you need to download the latest webmin from the above downloadlink
Download ‘webmin-1.290.tar.gz’ (at the time of writing) to some location in your machine ex:- /usr/local/src
#wget http://prdownloads.sourceforge.net/webadmin/webmin-1.290.tar.gz
#cd /usr/local/src
#tar xzvf webmin-1.290.tar.gz
#cd webmin-1.290
#sh setup.sh
This will start the installation and now it will prompt for several questions answer them as follows
Config file directory [/etc/webmin]:
Leave as default, or change as you wish
Log file directory [/var/webmin]:
Leave as default, or change as you wish
Full path to perl (default /usr/bin/perl):
Leave as default, or change as you wish
Operating system:
Enter ‘6′
Version:
Enter ‘6′
Web server port (default 10000):
This is where you can start to make webmin more secure then the standard install you get with apt-get, Synaptic, or RPM. Leave as default or change it to what ever port you want.
Login name (default admin):
It is ‘admin’, so you can leave it as that, or put in any name that you like.
Login password:
By creating the user above and giving it a password, you have now made it so you will not need to log into webmin with root.
Password again:
enter your password again
If you did not install ‘libnet-ssleay-perl’ you will get the following message:
‘The Perl SSLeay library is not installed. SSL not available.’ You can continue with the install, but it would be more secure if you install sslrelay.
Use SSL (y/n):y
Choose yes here
Start Webmin at boot time (y/n):y
select here y
At this point it is going to configure things, install things, and create things…
It will then tell you that you can log in to https://hostname:10000 and to accept the certificate.
Webmin User Password Change
If you want to change root password in webmin use this included Perl script:
# /usr/share/webmin/changepass.pl /etc/webmin root
If you want to install any standard modules you can download from here
If you want to install third party modules you can download from here
Thursday, January 15, 2009
Enabling Numlock in GDM
Install numlockx using apt-get, aptitude or Synaptic
In Gutsy, edit /etc/gdm/Init/Default. For older versions of ubuntu edit /etc/X11/gdm/Init/Default instead.
Find the line
exit 0
Add the following code above that line
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi
In Gutsy, edit /etc/gdm/Init/Default. For older versions of ubuntu edit /etc/X11/gdm/Init/Default instead.
Find the line
exit 0
Add the following code above that line
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi
Tuesday, January 13, 2009
LINUX
History
![]() | ![]() | |
Richard Stallman, left, founder of the GNU project, and Linus Torvalds, right, creator of the Linux kernel |
The GNU Project, started in 1984 by Richard Stallman, had the goal of creating a "complete Unix-compatible software system"[7] made entirely of free software. The next year Stallman created the Free Software Foundation and wrote the GNU General Public License (GNU GPL) in 1989. By the early 1990s, many of the programs required in an operating system (such as libraries, compilers, text editors, a Unix shell, and a windowing system) were completed, although low-level elements such as device drivers, daemons, and the kernel were stalled and incomplete.[8] Linus Torvalds has said that if the GNU kernel had been available at the time (1991), he would not have decided to write his own.[9]
-MINIX
MINIX, a Unix-like system intended for academic use, was released by Andrew S. Tanenbaum in 1987. While source code for the system was available, modification and redistribution were restricted (that is not the case today). In addition, MINIX's 16-bit design was not well adapted to the 32-bit design of the increasingly cheap and popular Intel 386 architecture for personal computers.In 1991 while attending the University of Helsinki, Torvalds began to work on a non-commercial replacement for MINIX [10] which would eventually become the Linux kernel. In 1992, Tanenbaum posted an article on Usenet claiming Linux was obsolete. In the article, he criticized the operating system as being monolithic in design and being tied closely to the x86 architecture and thus not portable, as he described "a fundamental error."[11] Tanenbaum suggested that those who wanted a modern operating system should look into one based on the microkernel model. The posting elicited the response of Torvalds, which resulted in a well known debate over the microkernel and monolithic kernel designs.[11]
Linux was dependent on the MINIX user space at first. With code from the GNU system freely available, it was advantageous if this could be used with the fledgling OS. Code licensed under the GNU GPL can be used in other projects, so long as they also are released under the same or a compatible license. In order to make the Linux kernel compatible with the components from the GNU Project, Torvalds initiated a switch from his original license (which prohibited commercial redistribution) to the GNU GPL.[12] Developers worked to integrate GNU components with Linux to make a fully functional and free operating system.[8]
-Commercial and popular uptake
Today Linux distributions are used in numerous domains, from embedded systems to supercomputers,[13][14] and have secured a place in server installations with the popular LAMP application stack.[15] Use of Linux distributions in home and enterprise desktops has been rapidly expanding and now claims a significant share of the desktop market.[16][17][18][19][20][21][22]Linux distributions have also become popular with the newly founded netbook market, with many devices such as the ASUS Eee PC and Acer Aspire One shipping with customized Linux distributions pre-installed.
-Current development
Torvalds continues to direct the development of the kernel. Stallman heads the Free Software Foundation, which in turn supports the GNU components. Finally, individuals and corporations develop third-party non-GNU components. These third-party components comprise a vast body of work and may include both kernel modules and user applications and libraries. Linux vendors and communities combine and distribute the kernel, GNU components, and non-GNU components, with additional package management software in the form of Linux distributions.For complete article can be found at Wikipedia
Subscribe to:
Posts (Atom)