Install Tomcat 6 on CentOS6
First, we need to download a tomcat installation package.
Http://ftp.riken.jp/net/apache/
Wget http://ftp.riken.jp/net/apache/tomcat/tomcat-6/v6.0.41/src/apache-tomcat-6.0.41.tar.gz
After downloading the package, decompress it to a directory. My files are stored in/usr/apache-tomcat-6.0.41.
Tar-zxvf apache-tomcat-6.0.41.tar.gz
Check whether tomcat has been started,
Netstat-apn | grep java
Tomcat seems to exist in Java in Li
proxy developer pushes notifications to Apple apns.
Get apns message content through Function
• If the app is in the foreground or background running status, this function will be called and you can determine whether the app is running in the foreground by checking whether the applicationstate of appdelegate is uiapplicationstateactive. This situation is handled in this function:
? (Void) Application :( uiapplication *) Application didreceiveremotenotification :( nsdictionary *) userinfo; //
confirmed:
1, please contact the domestic operator to confirm that the SIM card has been opened roaming function;
2, into the 3G/4G router management interface,
in the
Advanced Settings
>>
dialing settings , open roaming function;
3, confirm the foreign local operator's APN, dial-up username, dial-up password. Our 3g/4g routers have built most of the foreign mainstream 3G/4G network operators, can automaticall
, you can try the following ways to create a new APN: 1. Under the standby page, go to "Application"-"Settings"-"More Settings"-"mobile network"-"Access Point Name"-Press the "menu" button at the bottom left-"new APN". 2. Enter the following information: Name: fill in at random; Apn:cmwap (Mobile card)/uniwap (Unicom card); agent: 10.0.0.172; Port:; no additional settings are required. 3. Press the "m
the Internet, you can try the following ways to create a new APN:1. Under the standby page, go to "Application"-"Settings"-"Connect"-"More Network"-"mobile network"-"Access Point Name"-Press the "menu" button at the bottom left-"new APN". 2. Enter the following information:Name: fill in at random;Apn:cmwap (Mobile card)/uniwap (Unicom card)/3gwap (3G card);agent: 10.0.0.172;Port:;no additional settings are
First look at Android. mk
# For radiooptions binary#======================================Include $ (clear_vars)Local_src_files: =/Radiooptions. cLocal_shared_libraries: =/Libcutils/Local_cflags: =/Local_module: = radiooptionsLocal_module_tags: = debugInclude $ (build_executable)
We can see thatRadiooptions is an executable C program. The source code is only radiooptions. C.
We can find the mainPortal functions are analyzed one by one.
Usage:radiooptions [option] [extra_s
Handlepinmmi (String dialstring); /** * Toggles the radio on or off. */void Toggleradioonoff (); /** * Set the radio to ON or off */Boolean Setradio (Boolean turnOn); /** * Request to update the location information on service state */void updateservicelocation (); /** * Enable Location update notifications. */void Enablelocationupdates (); /** * Disable Location update notifications. */void Disablelocationupdates (); /** * Enable a specific
The previous time travel to solve a problem, is to get access points, as well as login mode. The problem with the mobile network differential setting in this process is to use the Ntrip protocol. This is a bit of a pit, is the server side is not according to the Protocol to the standard processing of these validation data. The first is a socket connection, the socket connection on the Send protocol. This agreement is ntrip to do.Ntrip Agreement: Click1. Use the backgroundYou can create a new
use command: Ps-aux | grep Tomcat found that there is no 8080 port for the Tomcat process. Use the command: NETSTAT–APN to see all process and port usage. Discover the following list of processes, where the last column is pid/program name discovery 8080 Port is occupied by the PID 9658 Java process. Further use of the command: Ps-aux | grep Java, or directly: Ps-aux | grep PID View will be able to clearly know that the 8080 port is what the program oc
To view the occupancy of a port:lsof-i:Example: lsof-i:8080Netstat-apn|grep Example: NETSTAT-APN | grep 8080After you find the process number, use the following command to view the details:Ps-aux|grep Once you know the process number,Kill can kill processOrKillall To view process commands:Ps-ef | grep For example:Ps-ef | grep javaPs-ef | grep TomcatPs-ef | grep SVN------------------------------------------
Menus-Settings-wireless control (wireless and network)-Mobile network-access Point name-new APN; In the access point Related Settings option, fill in the following parameters:
Name: MMS
Apn:cmwap
Agent: 010.000.000.172 (ie 10.0.0.172)
PORT: 80
User name: WAP
Password: WAP
Server: Leave blank
mmsc:http://mmsc.monternet.com/
MMS Agent: 010.000.000.172 (ie 10.0.0.172)
MMS Port: mcc:460 mnc:00
Authentication type: PAP
Access Point Name Type (
1. Windows platform
Start → run →cmd into the command prompt, enter Netstat-ano to see all the connected PID in the task Manager to find the corresponding PID program if there is no PID in Task Manager, you can select "View"-"Choose Column" in Task Manager
The code is as follows
Copy Code
C:>netstat-aon|findstr "80"TCP 127.0.0.1:80 0.0.0.0:0 Listening 2016
Do you see that the port is occupied by a process number 2016 process, and continue with the followin
Recently done projects, using the Arduino control device, read data, and then transfer to the server via the mobile network.I chose the sim900a module of the hot atom. A listener is deployed on the server, and the Arduino control sim900a sends the data to the server by means of TCP.One day, suddenly think, sim900a can visit the webpage? If you can, it is easier to submit the data directly through the Web page.As a results, a decisive consultation with the seller, the answer is "theoretically fea
first, the opening of GPRS Internet service.
Use the mobile phone data Internet function, the telephone card needs to open GPRS Internet service. You can contact the phone card local network operators, open GPRS Internet service business. Second, check whether the mobile data is open, if the data is not turned on, can not achieve the Internet function. 1. In standby mode, slide the top of the screen down with your finger and slide the taskbar above the screen to the left, and the data point
First, open mobile data
1, the use of mobile phone data access function, your calling card needs to open GPRS Internet business. You can contact the local network provider of the telephone card to open the GPRS internet business.2, check whether the mobile data is open, if the data is not turned on, can not achieve the Internet function.2.1. Under the Mobile phone standby page, drop the screen top curtain.2.2 Slide to the left of the screen above the taskbar, click "Move Data", show that the gr
need to be queried from the telephony database, which is related to the APN settings of specific handsets and specific operators. So, if you want to change the configuration information for MMS, you can only change the APN system settings to complete. And the message sent does not involve SMSC (SMS Service center), because the frameworks in the tool has been encapsulated Smsmanager provides a number of way
1, compile ordinary C file: gcc main.c-o main
2. Start memcached/memcached-d-M 128-u root-l 10.161.231.6-p 12001-c 256-p/tmp/memcached12001.pid
3, start the background program run Nohup/smartparkmemcached.out > Xxxx.log 2>1
4. View user memory usage: top-u root
5. View disk space usage: df-h
6. See if a software is installed: rpm-qa|grep-i MySQL
7, uninstall a software: Yum-y remove mysql-5.5*
8, to see if a port number is in use: NETSTAT-APN | gre
1. View PortWindows under NetstatLinux under NETSTAT-APNWith Netstat found no 8000 ports listed, plus the parameters-apn after the list. In addition, if you want to know the 8000-port situation, you can netstat-apn|grep 80002. Force release port1) Find the occupied portNETSTAT-TLN//View port UsageNetstat-tln | grep 8889//view Port 8000 usage2 to see which process the port is occupied bylsof-i:8889COMMAND PI
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.