05-21-2014
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi Folks,
I would like to learn the basics of unix administration like configuring telnet, ftp, smtp,etc..
Could u suggest me a good site for learning it??? or the methodology that has to be followed for learning it???
TIA,
Nisha
:) (2 Replies)
Discussion started by: Nisha
2 Replies
2. UNIX for Advanced & Expert Users
Hello.
I'm trying to configure a modem on an IBM p570 on the serial port. This is a partition machine so i want to be able to share it with partitionned servers.
On my VIOserver, what needs to be done exactly? I can see a vsa0 device but that is not the serial port i need from what i... (1 Reply)
Discussion started by: Stephan
1 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to get my server (running SunOS 5.8) to be able to send mail. The mail administrator gave me the name of the mail server that I can use to relay the mail, but where/how do I configure this in Unix on my server?
Thanks! (5 Replies)
Discussion started by: FredSmith
5 Replies
4. UNIX for Dummies Questions & Answers
Hello there,
I installed Ajaxterm on my Ubuntu 9.04 machine, and it's running ok if I use :http://localhost:8022/ in my broswer. This is the problem , it can only be accessed localy. If I want to access it through internet from another computer, it fails. I've read the tutorials on how to... (1 Reply)
Discussion started by: wosis
1 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I am running OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
I need to chroot each user into their own directory.
How can I do so using the chrootdirectory option?
Please provide an example.
Thanks (0 Replies)
Discussion started by: mojoman
0 Replies
6. Solaris
I am trying to find some documentation to help me configure SAMBA on a Solaris 10 OS for File Sharing. I guess I need more help on the smb.conf file. I was able to test a small smb.conf file and testparm script works. So, I know I have installed it properly.
Now looking for more guidance of the... (2 Replies)
Discussion started by: 4X4R8D
2 Replies
7. Red Hat
hi everybody,
i am new to linux. iam using centos 6.2, and trying to configure ftp server in my local network, i have seen one fpt server how to videos tutriol but iam unable to follow i have some confussion in /etc/vsftpd/vsftpd.conf about userlist_enable and userlist_deny,... (6 Replies)
Discussion started by: paruhang
6 Replies
8. Shell Programming and Scripting
Hi,
I have trouble in configuring ssmtp for sending mail to gmail. I have configured the following way, plz suggest/correct me if i have done something wrong
root=nagiostool@gmail.com
mailhub=smtp.gmail.com:587
#RewriteDomain=
# The full hostname
Hostname=nagiosxi
# Set this to... (1 Reply)
Discussion started by: nagios
1 Replies
9. Red Hat
Hello; nerw to configuring X windows on redhat .. After a fresh install of Enterprise v6.2 w/ kde desktop pkg, noticed the follwing: 1. metacity wm is installed 2. gdm also seems to be running 3. trying to connect from Reflection fails Where can I find a how to guide ?? Thnx (1 Reply)
Discussion started by: delphys
1 Replies
10. Solaris
Hello Solaris Team,
We would like to implement some audit policy (using a log file) in Solaris 10 in order to record the following data in columns per all users:
1. Date
2. Time
3. User
4. Command executed
5. Terminal
6. IP Address
Could you please help me in order to... (2 Replies)
Discussion started by: csierra
2 Replies
LEARN ABOUT MOJAVE
curlopt_default_protocol
CURLOPT_DEFAULT_PROTOCOL(3) curl_easy_setopt options CURLOPT_DEFAULT_PROTOCOL(3)
NAME
CURLOPT_DEFAULT_PROTOCOL - default protocol to use if the URL is missing a scheme name
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DEFAULT_PROTOCOL, char *protocol);
DESCRIPTION
This option tells libcurl to use protocol if the URL is missing a scheme name.
Use one of these protocol (scheme) names:
dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp
An unknown or unsupported protocol causes error CURLE_UNSUPPORTED_PROTOCOL when libcurl parses a schemeless URL. Parsing happens when
curl_easy_perform(3) or curl_multi_perform(3) is called. The protocols supported by libcurl will vary depending on how it was built. Use
curl_version_info(3) if you need a list of protocol names supported by the build of libcurl that you are using.
This option does not change the default proxy protocol (http).
Without this option libcurl would make a guess based on the host, see CURLOPT_URL(3) for details.
The application does not have to keep the string around after setting this option.
DEFAULT
NULL (make a guess based on the host)
PROTOCOLS
All
EXAMPLE
curl = curl_easy_init();
if(curl) {
/* set a URL without a scheme */
curl_easy_setopt(curl, CURLOPT_URL, "example.com");
/* set the default protocol (scheme) for schemeless URLs */
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
/* Perform the request */
curl_easy_perform(curl);
}
AVAILABILITY
Added in 7.45.0
RETURN VALUE
CURLE_OK if the option is supported.
CURLE_OUT_OF_MEMORY if there was insufficient heap space.
CURLE_UNKNOWN_OPTION if the option is not supported.
SEE ALSO
CURLOPT_URL(3),
libcurl 7.54.0 December 21, 2016 CURLOPT_DEFAULT_PROTOCOL(3)