Re: [Ilugc] hi sir unable to mount 40gb file system
On Sun, Jun 6, 2010 at 1:41 PM, jaya kumar wrote: > whenever i login to my file system or my hard drive > > it showing the error > > unable to mount 40gb file system > > i forget the correct password for root but am logged in while restarting > my > ubuntu log in > i know that password > > did you ever changed your root password?? As it is ubuntu root password has to be set by the user.. ubuntu people donot provide root access by default. if you had never changed it then you can change (or create) a new root password by using current user name and password. here is how you can: 1. login as current user 2. open terminal and issue following command: $ sudo passwd root the above command will ask for current user passwd so to authorize sudo access then provide new password for root and confirm it.. i hope this had helped :) but i cannot remember the root password > how can i know my forget password > > please tell me > ___ > ILUGC Mailing List: > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc > -- idlecool ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir
Yes I have done it its active what is your question post it here ~vela On Sat, Apr 24, 2010 at 9:01 AM, jaya kumar wrote: > is bangalore python community user group is active or not ? > > any one is subscribed to that bang pyers please reply ? > ___ > ILUGC Mailing List: > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc > -- Thanks Vela ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
On Fri, Jan 1, 2010 at 4:41 PM, Abishek Goda wrote: > Hi, > >> sudo mkdir /var/www/my_site/ >> >> then change owership of my_site. >> >> sudo chown $USER:$USER /var/www/my_site/ >> >> now store your files in /var/www/my_site/ and access them using >> http://localhost/my_site/ > > That or just enable the public_html access in your apache2 config > file. http://httpd.apache.org/docs/2.2/howto/public_html.html explains > it. I am not sure if ubuntu ships with mod_userdir though. > mod_userdir is available. # a2enmod userdir should do the trick. -- With Regards Abhishek Amberkar Learn to appreciate the beauty within... Sent from India ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
Hi, > sudo mkdir /var/www/my_site/ > > then change owership of my_site. > > sudo chown $USER:$USER /var/www/my_site/ > > now store your files in /var/www/my_site/ and access them using > http://localhost/my_site/ That or just enable the public_html access in your apache2 config file. http://httpd.apache.org/docs/2.2/howto/public_html.html explains it. I am not sure if ubuntu ships with mod_userdir though. Abishek ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
On Thu, Dec 31, 2009 at 1:01 PM, kiran kumar wrote: > greetings from kiran > > > hi sir am succesffuly installed lamp server in ubuntu again it saying if i > save my php files ...it saying permission denied > > how can i overcome this problem . > > can any one tell where to save php files in ubuntu and how to compile and > run The good option is to keep /var/www/ permissions and ownership intact, just *don't* mess with it and to create a new directory inside it, say sudo mkdir /var/www/my_site/ then change owership of my_site. sudo chown $USER:$USER /var/www/my_site/ now store your files in /var/www/my_site/ and access them using http://localhost/my_site/ Hope That Helps. -- With Regards Abhishek Amberkar Learn to appreciate the beauty within... Sent from India ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
On Thursday 31 Dec 2009 1:08:10 pm Hrishikesh Murali wrote: > $ sudo chmod -R 777 /var/www > omg!!! -- regards kg http://lawgon.livejournal.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
Hi, On Thu, Dec 31, 2009 at 3:48 PM, Yogesh wrote: > I would say 751 would be good enough.. or 753 .. Isn't 777 insecure? Unless > done in a local unconnected comp? > Yeah, 777 is insecure. But neither does 751 or 753 work when I try to view the page in the browser, says permission denied. "$ sudo chmod -R 755" works fine. Maybe I should've mentioned this instead. -- Thanks and Regards, Hrishikesh Murali ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
2009/12/31 Hrishikesh Murali > > $ sudo chmod -R 777 /var/www > I would say 751 would be good enough.. or 753 .. Isn't 777 insecure? Unless done in a local unconnected comp? -- Warm Regards, Yogesh. http://tinyurl.com/yogeshg1987 ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
On 1:01pm, kiran kumar wrote: PLEASE USE MEANINGFUL SUBJECT LINE. > am succesffuly installed lamp server in ubuntu again it saying if i > save my php files ...it saying permission denied You should read some basic PHP tutorials. Few here: 1. http://www.php.net/manual/en/index.php 2. http://www.codecoffee.com/tipsforlinux/articles2/037-php1.html May be someelse can point out a good beginner PHP tutorial or book. Bye :) -- Bharathi S ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
Hi, On Thu, Dec 31, 2009 at 1:01 PM, kiran kumar wrote: > it saying permission denied > This is because you don't have sufficient permissions to write your php files in /var/www. how can i overcome this problem . > $ sudo chmod -R 777 /var/www -- Thanks and Regards, Hrishikesh Murali ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
On Tuesday 29 Dec 2009 4:52:45 pm Yogesh wrote: > Isn't LAMP supposed to signify Linux-Apache-Mysql-PHP specifically? Did it > originally start as a concept or did it deliberately refer to > Linux-Apache-Mysql-PHP and later evolve as a concept? > It was coined by O'Reilly long ago and it originally referred to Linux, Apache, Mysql and Perl. Nowadays it refers to a stack as I have described. Some people misuse the term to specifically mean mysql+php. -- regards kg http://lawgon.livejournal.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
Hi, On Tue, Dec 29, 2009 at 4:07 PM, kiran kumar wrote: > tell please how to run php files in ubunut and how to save and compile > in ubuntu.. > Hope u now have installed PHP, Apache and MySQL now. Then u hav to write a PHP file and save it as filename.php in /var/www. Open firefox browser, type http://localhost All your files in /var/www will be listed. You can click on the file to get the output or simply you can type http://localhost/filename.php. Errors will be displayed in the browser if any. -- Thanks, Aishwarya.M.B http://aishwarya-stillsearchingwhoiam.blogspot.com/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
On Tue, Dec 29, 2009 at 4:17 PM, Kenneth Gonsalves wrote: > > first there is no such thing as LAMP server. LAMP - which means > Linux-apache- > mod_python-postgresql (it can also mean Linux-apache-mysql-perl) is a > concept. > .. one uses an existing webserver - which could ..., a scripting > language for your business logic - ..., a database backend - > and a > platform for all this - could be linux, some BSD or something else. > Isn't LAMP supposed to signify Linux-Apache-Mysql-PHP specifically? Did it originally start as a concept or did it deliberately refer to Linux-Apache-Mysql-PHP and later evolve as a concept? -- Warm Regards, Yogesh. http://tinyurl.com/yogeshg1987 ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
On Tuesday 29 Dec 2009 4:07:22 pm kiran kumar wrote: > can any one tell how to install LAMP server in terminal in ubuntu.and > also tell please how to run php files in ubunut and how to save and compile > in ubuntu..i already installed ubuntu ..but i dont installed lamp server so > i want to install lamp server in terminal is it possible please reply > first there is no such thing as LAMP server. LAMP - which means Linux-apache- mod_python-postgresql (it can also mean Linux-apache-mysql-perl) is a concept. It basically means that instead of having one monolithic server on the remote machine and special software on the client machine, one uses an existing webserver - which could be Apache, nginx, lighttpd, cherokee ..., a scripting language for your business logic - could be python, perl, ruby or even php, a database backend - could be postgresql, sqllite (or even couchdb) and a platform for all this - could be linux, some BSD or something else. And one accesses all this with an ordinary browser. Your ubuntu will already have python, perl and php. So you need to do: sudo apt-get install apache2 sudo apt-get install postgresql and you have LAMP. To light the LAMP is another thing - please look up some good resource in web programming. -- regards kg http://lawgon.livejournal.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
Hi, On Tue, Dec 29, 2009 at 4:07 PM, kiran kumar wrote: > can any one tell how to install LAMP server in terminal in ubuntu Why do you want to install it via a terminal? You can do: System->Administration->Synaptic Package Manager ->Edit->Mark Packages By Task and check the "Lamp Server" checkbox, and it will automatically select the necessary packages. But if you are really keen on installing it in the terminal, type: $ sudo apt-get install apache2 php5 mysql-server-5.0 -- Thanks and Regards, Hrishikesh Murali ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
Hi, On Tue, Dec 29, 2009 at 3:51 PM, kiran kumar wrote: > i saved in var/www but it shows error in saving wrong location u r saving > Well, you might not have permissions to store the file in /var/www. Type "sudo chmod -R 777 /var/www" in the terminal and then try saving, else save as super user (you have to type "sudo vim " in terminal, edit and then save the file in /var/www). and also please any one can say how can i compile php files in ubuntu > Apache parses the php files and executes the code on the server when you try viewing the page in the browser. This will happen only if you install php5 package. how can i start and on my apache server in terminal > $ sudo /etc/init.d/apache2 start/stop/restart mail to > kiranpulsar2...@gmail.com > When I mail to ILUGC, you will automatically recieve the mail as you are subscribed to the list. This is also good because everyone can see the replies and rectify any incorrect suggestions also :) -- Thanks and Regards, Hrishikesh Murali ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
You already got the answers it another list, Please do not spam the list.Few simple solutions are, On Sun, Dec 27, 2009 at 1:06 PM, Salvadesswaran P.S. < salvadesswa...@gmail.com> wrote: > > $ sudo gedit file.php > in order to save files to protected directories. > On Sun, Dec 27, 2009 at 1:09 PM, aishwarya . wrote: > type $sudo nautilus in terminal, and enter the password. > $cd /var/www/ > $gedit filename.php Saravanan Sundaramoorthy Red Hat Certified Engineer +91 99404 32545 ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
On Sun, Dec 27, 2009 at 3:20 PM, Rajagopal Swaminathan wrote: > Greetings, > > On Sun, Dec 27, 2009 at 1:09 PM, aishwarya . wrote: >>> >>> hi sir there is problem on saving php files in ubuntu >>> can any one tell is there any idea to save correctly >>> it saying u could not save the file in var/www/kk.php >>> > > I am NOT a developer. Primarily an admin > > Alternatively someone who is experienced in web development would like > to post a tutorial explaining the workflow of a web based project > using tools like IDE, SCM, profilers, the concept of > Development-test-production environment etc in a simple way which > would enormously benefit the students / newcomers to development. > > I use crude methods sometimes to hack away for minot changes in php > scripts et. al. and the change perms etc as required which I know is > not a proper workcycle. How I wish somebody shares that domain > knowledge with us. > > In return I will try and help out people with HA clustering, and the > such when it comes to admin (Centos, RHEL esp.) > > Most of the tutorials I have seen is mostly about using specific tool > and very basic. they do not cover too much (I have seen some thing > like that in exlipse a little bit) > > I will also help in reviewing, testing out the methods to my abilities. 1. php scripts are executed by web server (apache httpd) of the web application. 2. The files should be accessible from webroot (/var/www/ in your installation, /usr/local/apache/htdocs is another location which is commonly used) 3. With files stored in a directory under webroot, and webserver started, you can access the files through a browser: http://127.0.0.1/yourscript.php OR http://127.0.0.1/mydocuments/myscript.php 4. Usually webroot is owned by root. You can organize your working scripts following way: mkdir /home/yourloginname/myapplication sudo ln -s /home/yourloginname/myapplication /var/www/myapplication 5. Now you can create, edit and save files in /home/yourloginname/myapplication directory and run the files by http://127.0.0.1/myapplication/myscript.php ==OR you change ownership of webroot (/var/www in your case) chown yourlogin /var/www (which is not recommended)=== Hope this helps. மா சிவகுமார் எல்லோரும் எல்லாமும் பெற வேண்டும் http://masivakumar.blogspot.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
On Sun, 2009-12-27 at 02:29 -0500, kiran kumar wrote: > it saying u could not save the file in var/www/kk.php > please tell the details of saving the file and with extension and were can i > save this file Read this: http://httpd.apache.org/docs/2.0/howto/public_html.html Then you can access your webpages from http://localhost/~username provided you're hosting on your own computer. This is really very convenient for a number of reasons. -- Regards, Roshan George ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
Greetings, On Sun, Dec 27, 2009 at 1:09 PM, aishwarya . wrote: >> >> hi sir there is problem on saving php files in ubuntu >> can any one tell is there any idea to save correctly >> it saying u could not save the file in var/www/kk.php >> I am NOT a developer. Primarily an admin Alternatively someone who is experienced in web development would like to post a tutorial explaining the workflow of a web based project using tools like IDE, SCM, profilers, the concept of Development-test-production environment etc in a simple way which would enormously benefit the students / newcomers to development. I use crude methods sometimes to hack away for minot changes in php scripts et. al. and the change perms etc as required which I know is not a proper workcycle. How I wish somebody shares that domain knowledge with us. In return I will try and help out people with HA clustering, and the such when it comes to admin (Centos, RHEL esp.) Most of the tutorials I have seen is mostly about using specific tool and very basic. they do not cover too much (I have seen some thing like that in exlipse a little bit) I will also help in reviewing, testing out the methods to my abilities. Slightly OT .. does anyone know of ILUG - Mumbai members here ... I am from Mumbai Regards Rajagopal ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
> > | > > hi sir there is problem on saving php files in ubuntu > > can any one tell is there any idea to save correctly > > it saying u could not save the file in var/www/kk.php > type $sudo nautilus in terminal, and enter the password. $cd /var/www/ $gedit or geany filename.php Hope this helps.. -- Thanks, Aishwarya.M.B http://aishwarya-stillsearchingwhoiam.blogspot.com/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
Normal users don't have permissions to write there of the /var/www/ directory. Either work as a super user, by using the command in command-line sudo su or change file permissions of /var/www/ for testing at home :) http://www.perlfect.com/articles/chmod.shtml http://www.december.com/unix/tutor/permissions.html Saravanan Sundaramoorthy Red Hat Certified Engineer +91 99404 32545 ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
On Sun, Dec 27, 2009 at 12:59 PM, kiran kumar wrote: > hi sir there is problem on saving php files in ubuntu > > can any one tell is there any idea to save correctly > > it saying u could not save the file in var/www/kk.php > > > it also saying > > you dont have permission to save this necessary file > > please check that you typed the location correctly and try again > > > > > > > please tell the details of saving the file and with extension and were can i > save this file You need to do: $ sudo gedit file.php in order to save files to protected directories. -- Salvadesswaran Srinivasan http://www.twitter.com/salva_eswar http://queasyquagmire.wordpress.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
On Sat, Dec 19, 2009 at 5:44 AM, Ravi Jaya wrote: > On Sat, Dec 19, 2009 at 2:32 AM, kiran kumar >wrote: > > Kiran, We replied to this mail couple days back, you should STOP posting > the > duplicate mails. Likely that gmail decided the responses were spam! Check your spam mail, Kiran. And if you find mails from this list there, mark it 'not spam'. regds, mano ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] hi sir am kiran
On Sat, Dec 19, 2009 at 2:32 AM, kiran kumar wrote: > hi friends > > am kiran i want to take part in ILUG member > Kiran, We replied to this mail couple days back, you should STOP posting the duplicate mails. -- Ravi Jaya Mobile: +91 97909 16181 Blog: http://aryabhataa.blogspot.com/ http://ravi-jaya.blogspot.com/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc