LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

bulk uploading a web site via ftp

Posted 05-24-2011 at 10:06 AM by neonsignal
Updated 05-24-2011 at 05:39 PM by neonsignal

The sitecopy application can be used to automate the ftp uploading of websites. It keeps a local record of files, so that only updated files need to be uploaded on each refresh.

After installing sitecopy, it needs a cache directory and a configuration file in the home directory:
Code:
mkdir -m 700 .sitecopy
touch .sitecopyrc
chmod 600 .sitecopyrc
The configuration file .sitecopyrc contains details about the web site(s). Each site entry...
Senior Member
Posted in Uncategorized
Views 3187 Comments 1 neonsignal is offline
Old

Chmod

Posted 05-24-2011 at 05:02 AM by brownie_cookie

Thanks to Colucix, it became clear how to use chmod.
I hope this helps for other people who are starting to learn Linux !!

They are octal numbers. If you consider a triplet of permissions
Code:
Code:
rwx
they correspond to 4, 2, 1 respectively:
Code:
Code:
421
If you sum these values you obtain uniquely identified permission sets. For example, you have:
Code:
Code:
rwx = 4 + 2 + 1 = 7
r-x = 4 + 0 +
...
Member
Posted in Uncategorized
Views 803 Comments 0 brownie_cookie is offline
Old

vim as default text editor in debian

Posted 05-23-2011 at 09:25 PM by sumeet inani

I have 'vim-gnome' installed
First select any file .
In properties > openwith tab
select GVim Text editor
Now I wanted that : After a file has been opened the other text file should be in new tab in same window
So I edited '/usr/share/applications/gvim.desktop'
Code:
Exec=gvim -f --remote-tab-silent %F
Member
Posted in Uncategorized
Views 951 Comments 0 sumeet inani is offline
Old

tata photon whiz on debian

Posted 05-23-2011 at 09:21 PM by sumeet inani
Updated 05-24-2011 at 10:33 PM by sumeet inani (more systematic)

I am using debian 6.0.0
First I installed wvdial , gnome-ppp involving following files
Code:
gnome-ppp_0.3.23-1_i386.deb	
libwvstreams4.6-base_4.6.1-1_i386.deb	 
libpcap0.8_1.1.1-2_i386.deb	
libwvstreams4.6-extras_4.6.1-1_i386.deb  
ppp_2.4.5-4_i386.deb
libuniconf4.6_4.6.1-1_i386.deb					 wvdial_1.60.4_i386.deb
Now when I inserted USB modem
Code:
dmesg
[ 5335.428041] usb 3-2: new full speed USB device using uhci_hcd
...
Member
Posted in Uncategorized
Views 1106 Comments 0 sumeet inani is offline
Old

reverse ssh connections

Posted 05-23-2011 at 05:01 AM by neonsignal
Updated 05-23-2011 at 05:06 AM by neonsignal

Setting up a reverse ssh connection can be useful when the destination machine is inside a NAT, and a port cannot be forwarded to it (eg, a work LAN), but an ssh in the reverse direction is possible.

Because the destination machine must set up the reverse connection automatically, the autossh utility can be used to keep the ssh connection alive so that it doesn't time out. From the destination machine:
Code:
autossh -f -p client-ssh-port -R reverse-ssh-port:localhost:22 client-ip
...
Senior Member
Posted in Uncategorized
Views 936 Comments 0 neonsignal is offline

  



All times are GMT -5. The time now is 09:24 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration